@arbidocs/blocks 0.5.197 → 0.5.198
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ConnectedNativeDocxComparison-FDBAVRFO.cjs +1 -1
- package/dist/ConnectedStreamedWordArtifact-JET44WCX.cjs +1 -1
- package/dist/{FilesViewerDialog-COHCOFKX.cjs → FilesViewerDialog-NOHWHFKC.cjs} +8 -8
- package/dist/{FilesViewerDialog-COHCOFKX.cjs.map → FilesViewerDialog-NOHWHFKC.cjs.map} +1 -1
- package/dist/agents/index.cjs +166 -166
- package/dist/{chunk-74YFLEIZ.cjs → chunk-4N2IKS6V.cjs} +19 -19
- package/dist/{chunk-74YFLEIZ.cjs.map → chunk-4N2IKS6V.cjs.map} +1 -1
- package/dist/{chunk-S2QM6AHI.cjs → chunk-GV35U5OG.cjs} +9 -9
- package/dist/{chunk-S2QM6AHI.cjs.map → chunk-GV35U5OG.cjs.map} +1 -1
- package/dist/{chunk-JMMDTIWM.cjs → chunk-MYSWMYQE.cjs} +5 -5
- package/dist/{chunk-JMMDTIWM.cjs.map → chunk-MYSWMYQE.cjs.map} +1 -1
- package/dist/{chunk-2VHTB6A4.cjs → chunk-OGQXIFIL.cjs} +5 -5
- package/dist/{chunk-2VHTB6A4.cjs.map → chunk-OGQXIFIL.cjs.map} +1 -1
- package/dist/{chunk-CJEFHB7M.cjs → chunk-OVUI43LB.cjs} +4 -4
- package/dist/{chunk-CJEFHB7M.cjs.map → chunk-OVUI43LB.cjs.map} +1 -1
- package/dist/{chunk-UO2IJNYC.cjs → chunk-Q6GTI427.cjs} +3 -3
- package/dist/{chunk-UO2IJNYC.cjs.map → chunk-Q6GTI427.cjs.map} +1 -1
- package/dist/{chunk-N5ILLODM.cjs → chunk-WFMG5AUF.cjs} +3 -3
- package/dist/{chunk-N5ILLODM.cjs.map → chunk-WFMG5AUF.cjs.map} +1 -1
- package/dist/connect/docx.cjs +1 -1
- package/dist/connect/index.cjs +263 -263
- package/dist/connect/viewer.cjs +6 -6
- package/dist/embed/index.cjs +10 -10
- package/dist/index.cjs +249 -249
- package/dist/pages/index.cjs +1 -1
- package/dist/workflow-canvas/index.cjs +13 -13
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
package/dist/connect/index.cjs
CHANGED
|
@@ -12,11 +12,11 @@ var chunkXTRE3X4I_cjs = require('../chunk-XTRE3X4I.cjs');
|
|
|
12
12
|
var chunk2FB2TP2R_cjs = require('../chunk-2FB2TP2R.cjs');
|
|
13
13
|
require('../chunk-DWRUGOTQ.cjs');
|
|
14
14
|
var chunkGHEKXPES_cjs = require('../chunk-GHEKXPES.cjs');
|
|
15
|
-
var
|
|
15
|
+
var chunk4N2IKS6V_cjs = require('../chunk-4N2IKS6V.cjs');
|
|
16
16
|
var chunkMAZCQPEE_cjs = require('../chunk-MAZCQPEE.cjs');
|
|
17
17
|
var chunk6OPDKROP_cjs = require('../chunk-6OPDKROP.cjs');
|
|
18
18
|
require('../chunk-KD66CBYO.cjs');
|
|
19
|
-
var
|
|
19
|
+
var chunkGV35U5OG_cjs = require('../chunk-GV35U5OG.cjs');
|
|
20
20
|
var chunkSAQ7ZAMK_cjs = require('../chunk-SAQ7ZAMK.cjs');
|
|
21
21
|
var chunkYKEI4XPI_cjs = require('../chunk-YKEI4XPI.cjs');
|
|
22
22
|
var chunkDHDIFLU4_cjs = require('../chunk-DHDIFLU4.cjs');
|
|
@@ -42,7 +42,7 @@ var chunkPIM7D4BJ_cjs = require('../chunk-PIM7D4BJ.cjs');
|
|
|
42
42
|
var chunk37RTQFWM_cjs = require('../chunk-37RTQFWM.cjs');
|
|
43
43
|
require('../chunk-2JSXBOG2.cjs');
|
|
44
44
|
require('../chunk-GKEZUE4F.cjs');
|
|
45
|
-
var
|
|
45
|
+
var chunkQ6GTI427_cjs = require('../chunk-Q6GTI427.cjs');
|
|
46
46
|
var chunkDEL7BS25_cjs = require('../chunk-DEL7BS25.cjs');
|
|
47
47
|
var chunkRIGCKOUY_cjs = require('../chunk-RIGCKOUY.cjs');
|
|
48
48
|
require('../chunk-WJIAA6G3.cjs');
|
|
@@ -67,7 +67,7 @@ var chunkGISMY7J7_cjs = require('../chunk-GISMY7J7.cjs');
|
|
|
67
67
|
var chunkV5P5MRSR_cjs = require('../chunk-V5P5MRSR.cjs');
|
|
68
68
|
var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
|
|
69
69
|
require('../chunk-LIJB6XOR.cjs');
|
|
70
|
-
var
|
|
70
|
+
var chunkOGQXIFIL_cjs = require('../chunk-OGQXIFIL.cjs');
|
|
71
71
|
var chunkI6GEQWIV_cjs = require('../chunk-I6GEQWIV.cjs');
|
|
72
72
|
var chunkNX56DIG3_cjs = require('../chunk-NX56DIG3.cjs');
|
|
73
73
|
var chunkSZF4CR4O_cjs = require('../chunk-SZF4CR4O.cjs');
|
|
@@ -99,6 +99,8 @@ require('../chunk-WQMR3O2D.cjs');
|
|
|
99
99
|
var chunkNZNBJF3M_cjs = require('../chunk-NZNBJF3M.cjs');
|
|
100
100
|
require('../chunk-NWNVWO6L.cjs');
|
|
101
101
|
require('../chunk-SK6HQ46Q.cjs');
|
|
102
|
+
var chunkMNIQDXM6_cjs = require('../chunk-MNIQDXM6.cjs');
|
|
103
|
+
var chunk3VVLI5RM_cjs = require('../chunk-3VVLI5RM.cjs');
|
|
102
104
|
require('../chunk-DEXUL3T6.cjs');
|
|
103
105
|
require('../chunk-AFQTQC7A.cjs');
|
|
104
106
|
var chunkXJEXFEWG_cjs = require('../chunk-XJEXFEWG.cjs');
|
|
@@ -106,8 +108,6 @@ require('../chunk-E23H6FJR.cjs');
|
|
|
106
108
|
require('../chunk-YZSQ7F5K.cjs');
|
|
107
109
|
require('../chunk-KQF7POTG.cjs');
|
|
108
110
|
require('../chunk-HME72RFP.cjs');
|
|
109
|
-
var chunkMNIQDXM6_cjs = require('../chunk-MNIQDXM6.cjs');
|
|
110
|
-
var chunk3VVLI5RM_cjs = require('../chunk-3VVLI5RM.cjs');
|
|
111
111
|
var chunkVXCZOQ5R_cjs = require('../chunk-VXCZOQ5R.cjs');
|
|
112
112
|
require('../chunk-75BNMCUX.cjs');
|
|
113
113
|
var chunk67HUC56R_cjs = require('../chunk-67HUC56R.cjs');
|
|
@@ -115,7 +115,7 @@ var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
|
|
|
115
115
|
require('../chunk-OEJQFPWO.cjs');
|
|
116
116
|
var chunkU46OGRCO_cjs = require('../chunk-U46OGRCO.cjs');
|
|
117
117
|
var chunk66IOCKWS_cjs = require('../chunk-66IOCKWS.cjs');
|
|
118
|
-
var
|
|
118
|
+
var chunkWFMG5AUF_cjs = require('../chunk-WFMG5AUF.cjs');
|
|
119
119
|
var chunkCYN66TBO_cjs = require('../chunk-CYN66TBO.cjs');
|
|
120
120
|
var chunkZMGPE43A_cjs = require('../chunk-ZMGPE43A.cjs');
|
|
121
121
|
var chunkIOGN5UAT_cjs = require('../chunk-IOGN5UAT.cjs');
|
|
@@ -133,8 +133,8 @@ require('../chunk-3YEXZX4H.cjs');
|
|
|
133
133
|
var chunk4PA6VCCR_cjs = require('../chunk-4PA6VCCR.cjs');
|
|
134
134
|
require('../chunk-T44BYZNJ.cjs');
|
|
135
135
|
require('../chunk-AHDJXIUB.cjs');
|
|
136
|
-
var chunkV27N2PTV_cjs = require('../chunk-V27N2PTV.cjs');
|
|
137
136
|
var chunkS3GVFAFB_cjs = require('../chunk-S3GVFAFB.cjs');
|
|
137
|
+
var chunkV27N2PTV_cjs = require('../chunk-V27N2PTV.cjs');
|
|
138
138
|
var chunkFSTIAEJW_cjs = require('../chunk-FSTIAEJW.cjs');
|
|
139
139
|
var chunkVOGIYFNN_cjs = require('../chunk-VOGIYFNN.cjs');
|
|
140
140
|
require('../chunk-UDSHVNU3.cjs');
|
|
@@ -282,7 +282,7 @@ function ConnectedWorkspaceActivity({
|
|
|
282
282
|
[feed.data]
|
|
283
283
|
);
|
|
284
284
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
285
|
-
|
|
285
|
+
chunkOGQXIFIL_cjs.WorkspaceActivityList,
|
|
286
286
|
{
|
|
287
287
|
...listProps,
|
|
288
288
|
items,
|
|
@@ -1341,7 +1341,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1341
1341
|
onChange: (e) => {
|
|
1342
1342
|
const file = e.target.files?.[0];
|
|
1343
1343
|
e.target.value = "";
|
|
1344
|
-
if (file) void add(() =>
|
|
1344
|
+
if (file) void add(() => chunkWFMG5AUF_cjs.importSkillFile(file));
|
|
1345
1345
|
}
|
|
1346
1346
|
}
|
|
1347
1347
|
),
|
|
@@ -1366,7 +1366,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1366
1366
|
className: "space-y-2",
|
|
1367
1367
|
onSubmit: (e) => {
|
|
1368
1368
|
e.preventDefault();
|
|
1369
|
-
if (url.trim()) void add(() =>
|
|
1369
|
+
if (url.trim()) void add(() => chunkWFMG5AUF_cjs.importSkillFromUrl(url));
|
|
1370
1370
|
},
|
|
1371
1371
|
children: [
|
|
1372
1372
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
|
|
@@ -1434,9 +1434,9 @@ function ConnectedSkillsLibrary({
|
|
|
1434
1434
|
const [type, setType] = react.useState("all");
|
|
1435
1435
|
const [view, setView] = react.useState("gallery");
|
|
1436
1436
|
const [isBusy, setIsBusy] = react.useState(false);
|
|
1437
|
-
const all = react.useMemo(() =>
|
|
1437
|
+
const all = react.useMemo(() => chunkWFMG5AUF_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
|
|
1438
1438
|
const shown = react.useMemo(
|
|
1439
|
-
() =>
|
|
1439
|
+
() => chunkWFMG5AUF_cjs.filterLibrarySkills(all, { query, source, type }),
|
|
1440
1440
|
[all, query, source, type]
|
|
1441
1441
|
);
|
|
1442
1442
|
const current = all.find((s) => s.slug === selected) ?? null;
|
|
@@ -1447,21 +1447,21 @@ function ConnectedSkillsLibrary({
|
|
|
1447
1447
|
const count2 = (s) => all.filter((x) => x.source === s).length;
|
|
1448
1448
|
const sourceOptions = [
|
|
1449
1449
|
{ id: "all", label: "All", count: all.length },
|
|
1450
|
-
{ id: "builtin", label:
|
|
1451
|
-
{ id: "mine", label:
|
|
1452
|
-
{ id: "shared", label:
|
|
1450
|
+
{ id: "builtin", label: chunkWFMG5AUF_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
|
|
1451
|
+
{ id: "mine", label: chunkWFMG5AUF_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
|
|
1452
|
+
{ id: "shared", label: chunkWFMG5AUF_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
|
|
1453
1453
|
];
|
|
1454
1454
|
const types = [...new Set(all.map((s) => s.type))];
|
|
1455
1455
|
const typeOptions = [
|
|
1456
1456
|
{ id: "all", label: "Any kind" },
|
|
1457
|
-
...types.map((t) => ({ id: t, label:
|
|
1457
|
+
...types.map((t) => ({ id: t, label: chunkWFMG5AUF_cjs.SKILL_TYPE_LABELS[t] ?? t }))
|
|
1458
1458
|
];
|
|
1459
1459
|
const pick = (slug) => {
|
|
1460
1460
|
setSelected(slug);
|
|
1461
1461
|
setMode("detail");
|
|
1462
1462
|
};
|
|
1463
1463
|
const markdownOf = async (skill) => {
|
|
1464
|
-
if (!skill.docExtId) return
|
|
1464
|
+
if (!skill.docExtId) return chunkWFMG5AUF_cjs.workflowToSkillMarkdown(skill.workflow);
|
|
1465
1465
|
const response = await arbi.documents.download(skill.docExtId);
|
|
1466
1466
|
if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
|
|
1467
1467
|
return response.text();
|
|
@@ -1525,7 +1525,7 @@ function ConnectedSkillsLibrary({
|
|
|
1525
1525
|
try {
|
|
1526
1526
|
documentTools.downloadBlob(
|
|
1527
1527
|
new Blob([await markdownOf(skill)], { type: "text/markdown" }),
|
|
1528
|
-
|
|
1528
|
+
chunkWFMG5AUF_cjs.SKILL_MAIN_FILENAME
|
|
1529
1529
|
);
|
|
1530
1530
|
} catch (error) {
|
|
1531
1531
|
notify19(errorText(error, "Could not export the skill"), "error");
|
|
@@ -1566,10 +1566,10 @@ function ConnectedSkillsLibrary({
|
|
|
1566
1566
|
}
|
|
1567
1567
|
)
|
|
1568
1568
|
] }),
|
|
1569
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1569
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.SkillViewToggle, { value: view, onChange: setView })
|
|
1570
1570
|
] }),
|
|
1571
1571
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1572
|
-
|
|
1572
|
+
chunkWFMG5AUF_cjs.SkillFilterChips,
|
|
1573
1573
|
{
|
|
1574
1574
|
label: "Show",
|
|
1575
1575
|
value: source,
|
|
@@ -1578,7 +1578,7 @@ function ConnectedSkillsLibrary({
|
|
|
1578
1578
|
}
|
|
1579
1579
|
),
|
|
1580
1580
|
types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1581
|
-
|
|
1581
|
+
chunkWFMG5AUF_cjs.SkillFilterChips,
|
|
1582
1582
|
{
|
|
1583
1583
|
label: "Kind",
|
|
1584
1584
|
value: type,
|
|
@@ -1625,12 +1625,12 @@ function ConnectedSkillsLibrary({
|
|
|
1625
1625
|
view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
|
|
1626
1626
|
),
|
|
1627
1627
|
children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1628
|
-
|
|
1628
|
+
chunkWFMG5AUF_cjs.SkillTile,
|
|
1629
1629
|
{
|
|
1630
1630
|
name: skill.title,
|
|
1631
1631
|
testId: `skill-tile-${skill.slug}`,
|
|
1632
1632
|
description: skill.description,
|
|
1633
|
-
sourceLabel: skill.isShared ? `${
|
|
1633
|
+
sourceLabel: skill.isShared ? `${chunkWFMG5AUF_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkWFMG5AUF_cjs.SKILL_SOURCE_LABELS[skill.source],
|
|
1634
1634
|
type: skill.type,
|
|
1635
1635
|
icon,
|
|
1636
1636
|
layout: view,
|
|
@@ -1665,7 +1665,7 @@ function ConnectedSkillsLibrary({
|
|
|
1665
1665
|
}
|
|
1666
1666
|
),
|
|
1667
1667
|
mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1668
|
-
|
|
1668
|
+
chunkWFMG5AUF_cjs.SkillGenerateForm,
|
|
1669
1669
|
{
|
|
1670
1670
|
icon,
|
|
1671
1671
|
onGenerate: (desc) => {
|
|
@@ -1692,11 +1692,11 @@ function ConnectedSkillsLibrary({
|
|
|
1692
1692
|
),
|
|
1693
1693
|
mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
|
|
1694
1694
|
mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1695
|
-
|
|
1695
|
+
chunkWFMG5AUF_cjs.SkillLibraryDetail,
|
|
1696
1696
|
{
|
|
1697
1697
|
skill: current,
|
|
1698
1698
|
icon,
|
|
1699
|
-
instructions: current.docExtId ? currentText ?
|
|
1699
|
+
instructions: current.docExtId ? currentText ? chunkWFMG5AUF_cjs.parseSkillFrontmatter(currentText, chunkWFMG5AUF_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
|
|
1700
1700
|
isLoading: !!current.docExtId && textLoading,
|
|
1701
1701
|
actions: {
|
|
1702
1702
|
onRun: () => onRun(current.slug),
|
|
@@ -1731,7 +1731,7 @@ function SkillEditor({
|
|
|
1731
1731
|
const [seeded, setSeeded] = react.useState(!isEditing);
|
|
1732
1732
|
const [nameError, setNameError] = react.useState(null);
|
|
1733
1733
|
if (isEditing && !seeded && text2 !== void 0) {
|
|
1734
|
-
const parsed =
|
|
1734
|
+
const parsed = chunkWFMG5AUF_cjs.parseSkillFrontmatter(text2, chunkWFMG5AUF_cjs.SKILL_MAIN_FILENAME);
|
|
1735
1735
|
setDescription(parsed.description ?? "");
|
|
1736
1736
|
setBody(parsed.content ?? "");
|
|
1737
1737
|
setSeeded(true);
|
|
@@ -1745,15 +1745,15 @@ function SkillEditor({
|
|
|
1745
1745
|
notify19("Add a short description.", "error");
|
|
1746
1746
|
return;
|
|
1747
1747
|
}
|
|
1748
|
-
const slug =
|
|
1748
|
+
const slug = chunkWFMG5AUF_cjs.skillSlug(name);
|
|
1749
1749
|
try {
|
|
1750
|
-
await onSave(slug,
|
|
1750
|
+
await onSave(slug, chunkWFMG5AUF_cjs.serializeSkill({ name: slug, description, body }), isEditing);
|
|
1751
1751
|
} catch (err) {
|
|
1752
1752
|
notify19(errorText(err, "Could not save the skill"), "error");
|
|
1753
1753
|
}
|
|
1754
1754
|
};
|
|
1755
1755
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1756
|
-
|
|
1756
|
+
chunkWFMG5AUF_cjs.SkillEditForm,
|
|
1757
1757
|
{
|
|
1758
1758
|
name,
|
|
1759
1759
|
onNameChange: setName,
|
|
@@ -1846,7 +1846,7 @@ function ConnectedSkillsBrowser({
|
|
|
1846
1846
|
}
|
|
1847
1847
|
) }),
|
|
1848
1848
|
runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1849
|
-
|
|
1849
|
+
chunk4N2IKS6V_cjs.ConnectedTaskComposer,
|
|
1850
1850
|
{
|
|
1851
1851
|
kind: "workflow",
|
|
1852
1852
|
open: true,
|
|
@@ -1870,9 +1870,9 @@ function ConnectedAgentCreator({
|
|
|
1870
1870
|
agent,
|
|
1871
1871
|
initialName,
|
|
1872
1872
|
onSaved,
|
|
1873
|
-
capabilities =
|
|
1874
|
-
templates =
|
|
1875
|
-
types =
|
|
1873
|
+
capabilities = chunkWFMG5AUF_cjs.DEFAULT_AGENT_CAPABILITIES,
|
|
1874
|
+
templates = chunkWFMG5AUF_cjs.DEFAULT_AGENT_TEMPLATES,
|
|
1875
|
+
types = chunkWFMG5AUF_cjs.DEFAULT_AGENT_TYPES,
|
|
1876
1876
|
canRevokeWorkspaces = false,
|
|
1877
1877
|
labels
|
|
1878
1878
|
}) {
|
|
@@ -1924,7 +1924,7 @@ function ConnectedAgentCreator({
|
|
|
1924
1924
|
const initialValues = react.useMemo(
|
|
1925
1925
|
() => ({
|
|
1926
1926
|
name: agent?.given_name ?? initialName ?? "",
|
|
1927
|
-
persona: isEdit ?
|
|
1927
|
+
persona: isEdit ? chunkWFMG5AUF_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
|
|
1928
1928
|
modelName: String(agents.AGENT_MODEL_NAME ?? ""),
|
|
1929
1929
|
capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
|
|
1930
1930
|
type: "builtin",
|
|
@@ -1944,7 +1944,7 @@ function ConnectedAgentCreator({
|
|
|
1944
1944
|
try {
|
|
1945
1945
|
let agentExtId = agent?.external_id ?? early?.id ?? "";
|
|
1946
1946
|
if (!agentExtId) {
|
|
1947
|
-
if (!
|
|
1947
|
+
if (!chunkWFMG5AUF_cjs.isValidAgentName(values.name)) {
|
|
1948
1948
|
notify19("Give the agent a name first.", "error");
|
|
1949
1949
|
return;
|
|
1950
1950
|
}
|
|
@@ -1980,7 +1980,7 @@ function ConnectedAgentCreator({
|
|
|
1980
1980
|
title: `agent-${name}`,
|
|
1981
1981
|
sections: {
|
|
1982
1982
|
Agents: {
|
|
1983
|
-
PERSONA:
|
|
1983
|
+
PERSONA: chunkWFMG5AUF_cjs.composePersona(name, values.persona),
|
|
1984
1984
|
...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
|
|
1985
1985
|
...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
|
|
1986
1986
|
ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
|
|
@@ -2004,7 +2004,7 @@ function ConnectedAgentCreator({
|
|
|
2004
2004
|
};
|
|
2005
2005
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2006
2006
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2007
|
-
|
|
2007
|
+
chunkWFMG5AUF_cjs.AgentCreator,
|
|
2008
2008
|
{
|
|
2009
2009
|
callAvatars: callAvatarsEnabled ? [
|
|
2010
2010
|
{
|
|
@@ -2037,11 +2037,11 @@ function ConnectedAgentCreator({
|
|
|
2037
2037
|
) : void 0,
|
|
2038
2038
|
revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
|
|
2039
2039
|
avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2040
|
-
|
|
2040
|
+
chunkWFMG5AUF_cjs.AgentAvatarField,
|
|
2041
2041
|
{
|
|
2042
2042
|
picture,
|
|
2043
2043
|
isBusy: avatarBusy,
|
|
2044
|
-
canGenerate: isEdit ||
|
|
2044
|
+
canGenerate: isEdit || chunkWFMG5AUF_cjs.isValidAgentName(values.name),
|
|
2045
2045
|
onGenerate: () => handleGenerateAvatar(values)
|
|
2046
2046
|
}
|
|
2047
2047
|
),
|
|
@@ -2093,7 +2093,7 @@ function ConnectedAgentCreator({
|
|
|
2093
2093
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
|
|
2094
2094
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
|
|
2095
2095
|
] }),
|
|
2096
|
-
connect && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2096
|
+
connect && /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
|
|
2097
2097
|
]
|
|
2098
2098
|
}
|
|
2099
2099
|
) })
|
|
@@ -2240,7 +2240,7 @@ function AgentChat({ agentId, workspaceId, onOpenFull }) {
|
|
|
2240
2240
|
placeholder: "Ask your agent\u2026",
|
|
2241
2241
|
conversations: "Agent chats"
|
|
2242
2242
|
},
|
|
2243
|
-
renderContent: (message) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2243
|
+
renderContent: (message) => /* @__PURE__ */ jsxRuntime.jsx(chunkQ6GTI427_cjs.DocumentWorkspaceContext.Provider, { value: workspaceId, children: /* @__PURE__ */ jsxRuntime.jsx(chunkQ6GTI427_cjs.ConnectedMarkdown, { isStreaming: message.status === "streaming", children: message.content }) })
|
|
2244
2244
|
}
|
|
2245
2245
|
)
|
|
2246
2246
|
] });
|
|
@@ -2491,7 +2491,7 @@ function useMemoryCount(enabled) {
|
|
|
2491
2491
|
}
|
|
2492
2492
|
function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
2493
2493
|
const { notify: notify19, confirm, openConversation, openDocument } = chunkUCMUGS6F_cjs.useBlocksEnvironment();
|
|
2494
|
-
const people =
|
|
2494
|
+
const people = chunk4N2IKS6V_cjs.useTaskPeople();
|
|
2495
2495
|
const canEditShared = react$1.useCanEditShared();
|
|
2496
2496
|
const isWorkspaceOwner = react$1.useIsWorkspaceOwner();
|
|
2497
2497
|
const { data: workflows = [] } = react$1.useWorkflows({ live: true });
|
|
@@ -2517,7 +2517,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2517
2517
|
}, [documents]);
|
|
2518
2518
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2519
2519
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2520
|
-
|
|
2520
|
+
chunkWFMG5AUF_cjs.TaskTable,
|
|
2521
2521
|
{
|
|
2522
2522
|
tasks,
|
|
2523
2523
|
isLoading,
|
|
@@ -2547,7 +2547,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2547
2547
|
}
|
|
2548
2548
|
),
|
|
2549
2549
|
activityFor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2550
|
-
|
|
2550
|
+
chunk4N2IKS6V_cjs.ConnectedTaskActivityDialog,
|
|
2551
2551
|
{
|
|
2552
2552
|
conversationId: activityFor.external_id,
|
|
2553
2553
|
taskName: activityFor.title || l.untitledTask,
|
|
@@ -2586,7 +2586,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
|
|
|
2586
2586
|
[workflows, skills, l.skillFiles]
|
|
2587
2587
|
);
|
|
2588
2588
|
const launch = async ({ workflow, inputs, agentId }) => {
|
|
2589
|
-
const values =
|
|
2589
|
+
const values = chunkWFMG5AUF_cjs.defaultTaskComposerValues(launchable, {
|
|
2590
2590
|
workflowId: workflow.id,
|
|
2591
2591
|
assignee: "agent",
|
|
2592
2592
|
inputs,
|
|
@@ -2706,7 +2706,7 @@ function ConnectedAgentsPageScope(props) {
|
|
|
2706
2706
|
children,
|
|
2707
2707
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
|
|
2708
2708
|
taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2709
|
-
|
|
2709
|
+
chunk4N2IKS6V_cjs.ConnectedTaskComposer,
|
|
2710
2710
|
{
|
|
2711
2711
|
open: true,
|
|
2712
2712
|
onOpenChange: (open) => !open && setTaskDialog(null),
|
|
@@ -2729,7 +2729,7 @@ function AgentsGallery() {
|
|
|
2729
2729
|
} = agentOptions;
|
|
2730
2730
|
const { openConversation } = chunkUCMUGS6F_cjs.useBlocksEnvironment();
|
|
2731
2731
|
const { user } = react$1.useArbiSession();
|
|
2732
|
-
const tasksByAgent = react.useMemo(() =>
|
|
2732
|
+
const tasksByAgent = react.useMemo(() => chunkWFMG5AUF_cjs.groupAgentTasks(tasks), [tasks]);
|
|
2733
2733
|
const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
|
|
2734
2734
|
const { agents } = management;
|
|
2735
2735
|
const cardDetails = (agent) => details.map(
|
|
@@ -2745,7 +2745,7 @@ function AgentsGallery() {
|
|
|
2745
2745
|
) : detail === "workspaces" ? /* @__PURE__ */ jsxRuntime.jsx(AgentWorkspaceAccess, { agentExtId: agent.external_id, labels: l }, detail) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: behaviour.behaviourOf(agent.given_name) }, detail)
|
|
2746
2746
|
);
|
|
2747
2747
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2748
|
-
|
|
2748
|
+
chunkWFMG5AUF_cjs.AgentGallery,
|
|
2749
2749
|
{
|
|
2750
2750
|
count: agents.length,
|
|
2751
2751
|
onCreate: management.create,
|
|
@@ -2757,7 +2757,7 @@ function AgentsGallery() {
|
|
|
2757
2757
|
const watchConversationId = running[0]?.external_id ?? null;
|
|
2758
2758
|
const progress = agentTasks[0] ? chunkZMGPE43A_cjs.goalProgress(agentTasks[0]) : null;
|
|
2759
2759
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2760
|
-
|
|
2760
|
+
chunkWFMG5AUF_cjs.AgentCard,
|
|
2761
2761
|
{
|
|
2762
2762
|
name: displayName(agent),
|
|
2763
2763
|
avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
|
|
@@ -3169,7 +3169,7 @@ function ConnectedTagTable({
|
|
|
3169
3169
|
const fail2 = (fallback) => (e) => notify19(browser.refusalReason(e, fallback), "error");
|
|
3170
3170
|
const snapshot2 = (data) => {
|
|
3171
3171
|
const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
|
|
3172
|
-
const bytes =
|
|
3172
|
+
const bytes = chunkOGQXIFIL_cjs.tagTableDocx(data, {
|
|
3173
3173
|
title,
|
|
3174
3174
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
3175
3175
|
});
|
|
@@ -3178,7 +3178,7 @@ function ConnectedTagTable({
|
|
|
3178
3178
|
return { blob: new Blob([bytes], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }), name };
|
|
3179
3179
|
};
|
|
3180
3180
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3181
|
-
|
|
3181
|
+
chunkOGQXIFIL_cjs.TagTable,
|
|
3182
3182
|
{
|
|
3183
3183
|
...props,
|
|
3184
3184
|
table,
|
|
@@ -4303,9 +4303,9 @@ function GlossaryExport({ labelId, nameOf }) {
|
|
|
4303
4303
|
const narrowed = agreements.find((a) => a.id === narrowTo);
|
|
4304
4304
|
const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
|
|
4305
4305
|
const download = (format) => {
|
|
4306
|
-
const entries =
|
|
4307
|
-
const blob = format === "docx" ? new Blob([
|
|
4308
|
-
documentTools.downloadBlob(blob,
|
|
4306
|
+
const entries = chunkOGQXIFIL_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
|
|
4307
|
+
const blob = format === "docx" ? new Blob([chunkOGQXIFIL_cjs.glossaryDocx(entries, { title })], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }) : new Blob([chunkOGQXIFIL_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
|
|
4308
|
+
documentTools.downloadBlob(blob, chunkOGQXIFIL_cjs.glossaryFileName(title, format));
|
|
4309
4309
|
};
|
|
4310
4310
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
|
|
4311
4311
|
agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -4835,7 +4835,7 @@ function KindSection({
|
|
|
4835
4835
|
{
|
|
4836
4836
|
testId: `tags-kind-${kind}`,
|
|
4837
4837
|
title: ui.tagKindTitle(kind, { plural: true }),
|
|
4838
|
-
description:
|
|
4838
|
+
description: chunkOGQXIFIL_cjs.tagKindDescription(kind),
|
|
4839
4839
|
children: [
|
|
4840
4840
|
browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4841
4841
|
"p",
|
|
@@ -4845,9 +4845,9 @@ function KindSection({
|
|
|
4845
4845
|
children: [
|
|
4846
4846
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
|
|
4847
4847
|
"Extracting ",
|
|
4848
|
-
|
|
4848
|
+
chunkOGQXIFIL_cjs.entitiesPhrase().toLowerCase(),
|
|
4849
4849
|
" from ",
|
|
4850
|
-
|
|
4850
|
+
chunkOGQXIFIL_cjs.documentCount(extractingCount),
|
|
4851
4851
|
"\u2026"
|
|
4852
4852
|
]
|
|
4853
4853
|
}
|
|
@@ -4865,7 +4865,7 @@ function KindSection({
|
|
|
4865
4865
|
onOpenTag: ctx.onOpenTag,
|
|
4866
4866
|
onOpenRow: ctx.onOpenTag,
|
|
4867
4867
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4868
|
-
labels:
|
|
4868
|
+
labels: chunkOGQXIFIL_cjs.tagTableLabels(kind),
|
|
4869
4869
|
testId: `tags-table-${kind}`
|
|
4870
4870
|
}
|
|
4871
4871
|
)
|
|
@@ -4973,15 +4973,15 @@ function TagSection({
|
|
|
4973
4973
|
onOpenTag: ctx.onOpenTag,
|
|
4974
4974
|
onOpenRow: ctx.onOpenTag,
|
|
4975
4975
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4976
|
-
labels:
|
|
4976
|
+
labels: chunkOGQXIFIL_cjs.tagTableLabels(tag.kind),
|
|
4977
4977
|
testId: "tags-rows"
|
|
4978
4978
|
}
|
|
4979
4979
|
),
|
|
4980
4980
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4981
|
-
|
|
4981
|
+
chunkOGQXIFIL_cjs.TagDetail,
|
|
4982
4982
|
{
|
|
4983
4983
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4984
|
-
fieldLabels:
|
|
4984
|
+
fieldLabels: chunkOGQXIFIL_cjs.tagTableLabels(tag.kind),
|
|
4985
4985
|
row: detailRow,
|
|
4986
4986
|
fields: schema.data?.fields ?? [],
|
|
4987
4987
|
isLoading: detail.isLoading,
|
|
@@ -4995,7 +4995,7 @@ function TagSection({
|
|
|
4995
4995
|
throw e;
|
|
4996
4996
|
})
|
|
4997
4997
|
),
|
|
4998
|
-
labels:
|
|
4998
|
+
labels: chunkOGQXIFIL_cjs.tagDetailLabels(),
|
|
4999
4999
|
testId: "tags-detail"
|
|
5000
5000
|
}
|
|
5001
5001
|
)
|
|
@@ -5079,7 +5079,7 @@ function ConnectedTagsPage() {
|
|
|
5079
5079
|
const nested = browser.getChildTags([...tags], t.external_id);
|
|
5080
5080
|
const uses = browser.tagUseCount(t);
|
|
5081
5081
|
const dbRows = t.dbrow_count ?? 0;
|
|
5082
|
-
const n2 =
|
|
5082
|
+
const n2 = chunkOGQXIFIL_cjs.tagsPageNouns();
|
|
5083
5083
|
const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
|
|
5084
5084
|
const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
|
|
5085
5085
|
const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
|
|
@@ -5102,11 +5102,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5102
5102
|
try {
|
|
5103
5103
|
await extract.mutateAsync(docIds);
|
|
5104
5104
|
notify19(
|
|
5105
|
-
`Extracting ${
|
|
5105
|
+
`Extracting ${chunkOGQXIFIL_cjs.entitiesPhrase().toLowerCase()} from ${chunkOGQXIFIL_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
|
|
5106
5106
|
"info"
|
|
5107
5107
|
);
|
|
5108
5108
|
} catch (error) {
|
|
5109
|
-
notify19(browser.refusalReason(error, `Could not extract ${
|
|
5109
|
+
notify19(browser.refusalReason(error, `Could not extract ${chunkOGQXIFIL_cjs.entitiesPhrase().toLowerCase()}`), "error");
|
|
5110
5110
|
throw error;
|
|
5111
5111
|
}
|
|
5112
5112
|
};
|
|
@@ -5120,10 +5120,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5120
5120
|
onOpenTag: openTag,
|
|
5121
5121
|
onOpenTaggedItems
|
|
5122
5122
|
};
|
|
5123
|
-
const n =
|
|
5123
|
+
const n = chunkOGQXIFIL_cjs.tagsPageNouns();
|
|
5124
5124
|
const action = view === "person" || view === "organisation" ? {
|
|
5125
5125
|
label: "Extract",
|
|
5126
|
-
title: `Extract ${
|
|
5126
|
+
title: `Extract ${chunkOGQXIFIL_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
|
|
5127
5127
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
|
|
5128
5128
|
run: () => setExtracting(true),
|
|
5129
5129
|
testId: "tags-extract-entities"
|
|
@@ -5292,7 +5292,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5292
5292
|
}
|
|
5293
5293
|
),
|
|
5294
5294
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5295
|
-
|
|
5295
|
+
chunkOGQXIFIL_cjs.ExtractEntitiesDialog,
|
|
5296
5296
|
{
|
|
5297
5297
|
open: extracting,
|
|
5298
5298
|
onOpenChange: setExtracting,
|
|
@@ -8281,7 +8281,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8281
8281
|
onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
|
|
8282
8282
|
navSlotRef: setNavSlot,
|
|
8283
8283
|
navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8284
|
-
|
|
8284
|
+
chunkOGQXIFIL_cjs.GridRowNavigator,
|
|
8285
8285
|
{
|
|
8286
8286
|
gridApi,
|
|
8287
8287
|
selectedId: editingId,
|
|
@@ -10137,7 +10137,7 @@ function useConnectedShellWorkspaces(options = {}) {
|
|
|
10137
10137
|
function ConnectedSsoDisconnect() {
|
|
10138
10138
|
const { client } = react$1.useAccountClient();
|
|
10139
10139
|
const { data: profile } = react$1.useProfile();
|
|
10140
|
-
const auth =
|
|
10140
|
+
const auth = chunkGV35U5OG_cjs.useAuthPages();
|
|
10141
10141
|
const { notify: notify19 } = chunkUCMUGS6F_cjs.useBlocksEnvironment();
|
|
10142
10142
|
const [open, setOpen] = react.useState(false);
|
|
10143
10143
|
const [step, setStep] = react.useState("email");
|
|
@@ -10315,14 +10315,14 @@ function ConnectedAccountSettings({
|
|
|
10315
10315
|
}) {
|
|
10316
10316
|
const [logoutOpen, setLogoutOpen] = react.useState(false);
|
|
10317
10317
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkXU7SIV2P_cjs.SettingsPanel, { className: "max-w-2xl", children: [
|
|
10318
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10318
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGV35U5OG_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
|
|
10319
10319
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
|
|
10320
10320
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkXU7SIV2P_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
|
|
10321
10321
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
|
|
10322
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10322
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGV35U5OG_cjs.ConnectedSecuritySection, { children: securityRows }),
|
|
10323
10323
|
moreSettings,
|
|
10324
10324
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10325
|
-
|
|
10325
|
+
chunkGV35U5OG_cjs.ConnectedIdentityVerification,
|
|
10326
10326
|
{
|
|
10327
10327
|
collapsible: true,
|
|
10328
10328
|
onManageBilling,
|
|
@@ -10332,7 +10332,7 @@ function ConnectedAccountSettings({
|
|
|
10332
10332
|
] }),
|
|
10333
10333
|
/* @__PURE__ */ jsxRuntime.jsx(chunkXU7SIV2P_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkXU7SIV2P_cjs.SettingsCard, { children: [
|
|
10334
10334
|
connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
|
|
10335
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10335
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGV35U5OG_cjs.ConnectedSessionsRow, { renderSessionIcon }),
|
|
10336
10336
|
/* @__PURE__ */ jsxRuntime.jsx(chunkXU7SIV2P_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
10337
10337
|
ui.Button,
|
|
10338
10338
|
{
|
|
@@ -10349,9 +10349,9 @@ function ConnectedAccountSettings({
|
|
|
10349
10349
|
}
|
|
10350
10350
|
) })
|
|
10351
10351
|
] }) }),
|
|
10352
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10352
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGV35U5OG_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
|
|
10353
10353
|
!onLogout && /* @__PURE__ */ jsxRuntime.jsx(
|
|
10354
|
-
|
|
10354
|
+
chunkGV35U5OG_cjs.ConnectedLogoutDialog,
|
|
10355
10355
|
{
|
|
10356
10356
|
open: logoutOpen,
|
|
10357
10357
|
onClose: () => setLogoutOpen(false),
|
|
@@ -10694,7 +10694,7 @@ function ConnectedPrivacySettings({
|
|
|
10694
10694
|
}
|
|
10695
10695
|
)
|
|
10696
10696
|
] }) }),
|
|
10697
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10697
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGV35U5OG_cjs.ConnectedNotificationPreferences, {})
|
|
10698
10698
|
] });
|
|
10699
10699
|
}
|
|
10700
10700
|
var PROVIDER_NAMES = {
|
|
@@ -12733,7 +12733,7 @@ function ConnectedRecoveryKeyDialog({
|
|
|
12733
12733
|
const arbi = react$1.useArbi();
|
|
12734
12734
|
const { user, isSso: isSsoMode } = react$1.useArbiSession();
|
|
12735
12735
|
const userEmail = user?.email;
|
|
12736
|
-
const sso =
|
|
12736
|
+
const sso = chunkGV35U5OG_cjs.useSsoSignIn();
|
|
12737
12737
|
const handleVerify = async () => {
|
|
12738
12738
|
setError(null);
|
|
12739
12739
|
if (!password) {
|
|
@@ -12894,7 +12894,7 @@ function ConnectedRemoteControlSwitch() {
|
|
|
12894
12894
|
}
|
|
12895
12895
|
function RemoteControlSwitch() {
|
|
12896
12896
|
const enabled = react$1.useRemoteControl((state) => state.enabled);
|
|
12897
|
-
const remote =
|
|
12897
|
+
const remote = chunkGV35U5OG_cjs.useRemoteControlActions();
|
|
12898
12898
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12899
12899
|
chunkXU7SIV2P_cjs.SettingsRow,
|
|
12900
12900
|
{
|
|
@@ -15199,13 +15199,13 @@ function ConnectedWorkspaceSettings({
|
|
|
15199
15199
|
const [membersExpanded, setMembersExpanded] = react.useState(false);
|
|
15200
15200
|
const [shareOpen, setShareOpen] = react.useState(false);
|
|
15201
15201
|
if (!workspace) {
|
|
15202
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunk3LPHCJPB_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15202
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk3LPHCJPB_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkOGQXIFIL_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
|
|
15203
15203
|
}
|
|
15204
15204
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
15205
15205
|
/* @__PURE__ */ jsxRuntime.jsxs(chunk3LPHCJPB_cjs.WorkspacePageFrame, { testId, children: [
|
|
15206
15206
|
/* @__PURE__ */ jsxRuntime.jsxs(chunk3LPHCJPB_cjs.WorkspaceIdentityPanel, { children: [
|
|
15207
15207
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15208
|
-
|
|
15208
|
+
chunkOGQXIFIL_cjs.EntityIdentityBar,
|
|
15209
15209
|
{
|
|
15210
15210
|
testId: "workspace-identity-bar",
|
|
15211
15211
|
canEdit: isOwner,
|
|
@@ -15222,7 +15222,7 @@ function ConnectedWorkspaceSettings({
|
|
|
15222
15222
|
label: "Name",
|
|
15223
15223
|
value: workspace.name,
|
|
15224
15224
|
placeholder: "Untitled",
|
|
15225
|
-
maxLength:
|
|
15225
|
+
maxLength: chunkOGQXIFIL_cjs.IDENTITY_NAME_MAX_LENGTH,
|
|
15226
15226
|
valueClassName: "truncate text-base font-semibold",
|
|
15227
15227
|
testId: "workspace-home-title",
|
|
15228
15228
|
hideLabel: true,
|
|
@@ -16721,36 +16721,36 @@ function ConnectedSharePointAdminConsentPage({
|
|
|
16721
16721
|
const result = givenResult === void 0 ? queryResult : givenResult;
|
|
16722
16722
|
const { apiBaseUrl } = chunkUCMUGS6F_cjs.useBlocksEnvironment().runtimeConfig;
|
|
16723
16723
|
const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
|
|
16724
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
16724
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkWFMG5AUF_cjs.ConsentCard, { size: "md", children: [
|
|
16725
16725
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16726
|
-
|
|
16726
|
+
chunkWFMG5AUF_cjs.ConsentHeader,
|
|
16727
16727
|
{
|
|
16728
16728
|
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkV4362YKU_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
|
|
16729
16729
|
title: "Approve ARBI for SharePoint access",
|
|
16730
16730
|
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."
|
|
16731
16731
|
}
|
|
16732
16732
|
),
|
|
16733
|
-
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
16734
|
-
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
16735
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16733
|
+
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_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." }),
|
|
16734
|
+
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_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." }),
|
|
16735
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkWFMG5AUF_cjs.ConsentSection, { title: "What you are approving", children: [
|
|
16736
16736
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16737
|
-
|
|
16737
|
+
chunkWFMG5AUF_cjs.ConsentBulletList,
|
|
16738
16738
|
{
|
|
16739
16739
|
items: [
|
|
16740
16740
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
16741
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16741
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
|
|
16742
16742
|
" \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."
|
|
16743
16743
|
] }),
|
|
16744
16744
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
16745
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16745
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
|
|
16746
16746
|
" \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
|
|
16747
16747
|
] })
|
|
16748
16748
|
]
|
|
16749
16749
|
}
|
|
16750
16750
|
),
|
|
16751
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16751
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_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." }),
|
|
16752
16752
|
/* @__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" }) }),
|
|
16753
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16753
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_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." })
|
|
16754
16754
|
] })
|
|
16755
16755
|
] }) });
|
|
16756
16756
|
}
|
|
@@ -19976,7 +19976,7 @@ function ConnectedWorkspaceList({
|
|
|
19976
19976
|
}
|
|
19977
19977
|
);
|
|
19978
19978
|
}
|
|
19979
|
-
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19979
|
+
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkOGQXIFIL_cjs.LoadingIndicator, { message: "Loading workspaces..." });
|
|
19980
19980
|
if (list.error) {
|
|
19981
19981
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19982
19982
|
chunkDSLMJ24E_cjs.HomeLoadError,
|
|
@@ -20049,7 +20049,7 @@ function ConnectedWorkspaceList({
|
|
|
20049
20049
|
workspaceState
|
|
20050
20050
|
}
|
|
20051
20051
|
) })
|
|
20052
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
20052
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkOGQXIFIL_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkDSLMJ24E_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
20053
20053
|
WorkspaceTableView,
|
|
20054
20054
|
{
|
|
20055
20055
|
list,
|
|
@@ -20251,7 +20251,7 @@ function ConnectedProjectsListPage({
|
|
|
20251
20251
|
};
|
|
20252
20252
|
const { openProject } = chunkUCMUGS6F_cjs.useBlocksEnvironment();
|
|
20253
20253
|
const [search, setSearch] = react.useState("");
|
|
20254
|
-
const { projects, isLoading } =
|
|
20254
|
+
const { projects, isLoading } = chunk4N2IKS6V_cjs.useProjectSummaries();
|
|
20255
20255
|
const rows = react.useMemo(() => {
|
|
20256
20256
|
const q = search.trim().toLowerCase();
|
|
20257
20257
|
if (!q) return projects;
|
|
@@ -20322,7 +20322,7 @@ function ConnectedProjectsListPage({
|
|
|
20322
20322
|
}
|
|
20323
20323
|
),
|
|
20324
20324
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
20325
|
-
|
|
20325
|
+
chunkOGQXIFIL_cjs.Toolbar,
|
|
20326
20326
|
{
|
|
20327
20327
|
search,
|
|
20328
20328
|
onSearch: setSearch,
|
|
@@ -20384,7 +20384,7 @@ function ProjectDetailsForm({
|
|
|
20384
20384
|
const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
|
|
20385
20385
|
const { notify: notify19 } = chunkUCMUGS6F_cjs.useBlocksEnvironment();
|
|
20386
20386
|
const update = react$1.useUpdateProjectFields();
|
|
20387
|
-
const workspace =
|
|
20387
|
+
const workspace = chunk4N2IKS6V_cjs.primaryProjectWorkspace(project);
|
|
20388
20388
|
const { data: members = [] } = react$1.useWorkspaceUsers(workspace?.id);
|
|
20389
20389
|
const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
|
|
20390
20390
|
const currency = project.budget?.currency ?? "GBP";
|
|
@@ -21450,12 +21450,12 @@ function ConnectedProjectPage({
|
|
|
21450
21450
|
figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
|
|
21451
21451
|
threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
|
|
21452
21452
|
};
|
|
21453
|
-
const { project, usage, isLoading } =
|
|
21453
|
+
const { project, usage, isLoading } = chunk4N2IKS6V_cjs.useProjectSummary(projectId);
|
|
21454
21454
|
const { workspaceId } = chunkEEDKECR7_cjs.useConnectedWorkspace();
|
|
21455
21455
|
const { notify: notify19 } = chunkUCMUGS6F_cjs.useBlocksEnvironment();
|
|
21456
21456
|
const selectWorkspace = chunkDHDIFLU4_cjs.useSelectWorkspace();
|
|
21457
21457
|
const openOne = project?.workspaces.find((w) => w.id === workspaceId);
|
|
21458
|
-
const workspace = openOne ?? (project ?
|
|
21458
|
+
const workspace = openOne ?? (project ? chunk4N2IKS6V_cjs.primaryProjectWorkspace(project) : void 0);
|
|
21459
21459
|
const open = !!workspace && workspace.id === workspaceId;
|
|
21460
21460
|
const switching = react$1.useArbiSessionState((s) => s.workspaceStatus) === "opening";
|
|
21461
21461
|
react.useEffect(() => {
|
|
@@ -22423,7 +22423,7 @@ function AgentBarShell({
|
|
|
22423
22423
|
}, [isStepsExpanded, steps]);
|
|
22424
22424
|
const visibleStepCount = react.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
|
|
22425
22425
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22426
|
-
|
|
22426
|
+
chunkWFMG5AUF_cjs.AgentBar,
|
|
22427
22427
|
{
|
|
22428
22428
|
className,
|
|
22429
22429
|
testId,
|
|
@@ -22435,7 +22435,7 @@ function AgentBarShell({
|
|
|
22435
22435
|
drawerRef: scrollRef,
|
|
22436
22436
|
onDrawerScroll: handleDrawerScroll,
|
|
22437
22437
|
drawer: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22438
|
-
|
|
22438
|
+
chunkGV35U5OG_cjs.AgentSteps,
|
|
22439
22439
|
{
|
|
22440
22440
|
steps: stepList,
|
|
22441
22441
|
isStreaming,
|
|
@@ -22470,12 +22470,12 @@ function DmAgentProgress({
|
|
|
22470
22470
|
steps,
|
|
22471
22471
|
className: compact ? "mx-4 my-2 rounded-none bg-transparent" : void 0,
|
|
22472
22472
|
status: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22473
|
-
|
|
22473
|
+
chunkWFMG5AUF_cjs.AgentBarStatus,
|
|
22474
22474
|
{
|
|
22475
22475
|
stepLabel: label,
|
|
22476
22476
|
stepIcon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { "aria-label": "Working", className: "size-4 shrink-0 animate-spin text-primary" }),
|
|
22477
22477
|
timer: /* @__PURE__ */ jsxRuntime.jsx("span", { "data-testid": "dm-agent-elapsed", className: "inline-block min-w-[5ch] text-right", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22478
|
-
|
|
22478
|
+
chunkGV35U5OG_cjs.MessageLiveSeconds,
|
|
22479
22479
|
{
|
|
22480
22480
|
conversationId: status?.conversation_ext_id ?? void 0,
|
|
22481
22481
|
messageId: status?.response_id ?? status?.message_ext_id,
|
|
@@ -22645,7 +22645,7 @@ function ChatAttachmentList({ files, error }) {
|
|
|
22645
22645
|
] });
|
|
22646
22646
|
}
|
|
22647
22647
|
function MessageText({ message }) {
|
|
22648
|
-
const workspaceId =
|
|
22648
|
+
const workspaceId = chunkQ6GTI427_cjs.useDocumentWorkspace();
|
|
22649
22649
|
const selectedWorkspaceId = react$1.useArbiSessionState((s) => s.workspaceId);
|
|
22650
22650
|
const documentIds = react.useMemo(
|
|
22651
22651
|
() => workspaceId === selectedWorkspaceId ? Array.from(
|
|
@@ -22660,11 +22660,11 @@ function MessageText({ message }) {
|
|
|
22660
22660
|
);
|
|
22661
22661
|
const thumbnails = react$1.useDocumentThumbnails(documentIds);
|
|
22662
22662
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
22663
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22663
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQ6GTI427_cjs.ConnectedMarkdown, { children: message }),
|
|
22664
22664
|
workspaceId && documentIds.map((docId) => {
|
|
22665
22665
|
const thumbnail = thumbnails.get(docId);
|
|
22666
22666
|
return thumbnail ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
22667
|
-
|
|
22667
|
+
chunkQ6GTI427_cjs.WorkspaceDocumentReference,
|
|
22668
22668
|
{
|
|
22669
22669
|
workspaceId,
|
|
22670
22670
|
docId,
|
|
@@ -22689,7 +22689,7 @@ function ConnectedChatMessageBody({
|
|
|
22689
22689
|
compact = false
|
|
22690
22690
|
}) {
|
|
22691
22691
|
const documentWorkspace = workspaceId ?? Array.from(text2.matchAll(/\/(wrk-[a-zA-Z0-9]{8})\/con-[a-zA-Z0-9]{8}/g)).at(-1)?.[1] ?? null;
|
|
22692
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22692
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkQ6GTI427_cjs.DocumentWorkspaceContext.Provider, { value: documentWorkspace, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22693
22693
|
MessageText,
|
|
22694
22694
|
{
|
|
22695
22695
|
message: compact ? text2.replace(
|
|
@@ -24618,10 +24618,10 @@ function ConnectedContactsPanel({
|
|
|
24618
24618
|
function ConnectedConfigForm({ availableModels, ...rest }) {
|
|
24619
24619
|
const hasModels = !!availableModels && availableModels.length > 0;
|
|
24620
24620
|
const renderModelSelect = react.useCallback(
|
|
24621
|
-
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
24621
|
+
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkGV35U5OG_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
|
|
24622
24622
|
[]
|
|
24623
24623
|
);
|
|
24624
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24624
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
|
|
24625
24625
|
}
|
|
24626
24626
|
function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
|
|
24627
24627
|
const { notify: notify19 } = chunkUCMUGS6F_cjs.useBlocksEnvironment();
|
|
@@ -24738,7 +24738,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
24738
24738
|
}, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify19]);
|
|
24739
24739
|
if (editAgent) {
|
|
24740
24740
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24741
|
-
|
|
24741
|
+
chunkWFMG5AUF_cjs.AgentEditView,
|
|
24742
24742
|
{
|
|
24743
24743
|
agentName: editAgent.name,
|
|
24744
24744
|
config: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -24754,7 +24754,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
24754
24754
|
}
|
|
24755
24755
|
if (view === "main") {
|
|
24756
24756
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24757
|
-
|
|
24757
|
+
chunkWFMG5AUF_cjs.AgentMainView,
|
|
24758
24758
|
{
|
|
24759
24759
|
onConnectExternal: () => setView("connect"),
|
|
24760
24760
|
config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -24770,11 +24770,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
24770
24770
|
}
|
|
24771
24771
|
if (result) {
|
|
24772
24772
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24773
|
-
|
|
24773
|
+
chunkWFMG5AUF_cjs.AgentCreatedView,
|
|
24774
24774
|
{
|
|
24775
24775
|
email: result.email,
|
|
24776
24776
|
signingKey: result.signingKey,
|
|
24777
|
-
instructions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
24777
|
+
instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
|
|
24778
24778
|
config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
|
|
24779
24779
|
isConfigOpen: configOpen,
|
|
24780
24780
|
onToggleConfig: () => setConfigOpen((v) => !v),
|
|
@@ -24783,7 +24783,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
24783
24783
|
);
|
|
24784
24784
|
}
|
|
24785
24785
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24786
|
-
|
|
24786
|
+
chunkWFMG5AUF_cjs.AgentCreateView,
|
|
24787
24787
|
{
|
|
24788
24788
|
name,
|
|
24789
24789
|
onNameChange: setName,
|
|
@@ -25008,7 +25008,7 @@ function createBuiltinActions(environment, session) {
|
|
|
25008
25008
|
const startWorkflowOnDocuments = (workflowId) => {
|
|
25009
25009
|
const { viewingDocument, selectedDocumentIds } = session.getState();
|
|
25010
25010
|
const documents = viewingDocument ? [viewingDocument.id] : [...selectedDocumentIds];
|
|
25011
|
-
|
|
25011
|
+
chunkWFMG5AUF_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
|
|
25012
25012
|
};
|
|
25013
25013
|
const setFilesView = (mode) => () => chunkPIM7D4BJ_cjs.useFilesPrefs.getState().setViewMode(mode);
|
|
25014
25014
|
const actions = [
|
|
@@ -25570,7 +25570,7 @@ function ConnectedRemoteControlConsent() {
|
|
|
25570
25570
|
}
|
|
25571
25571
|
function ConsentPrompt() {
|
|
25572
25572
|
const pending = react$1.useRemoteControl((s) => s.pending);
|
|
25573
|
-
const remote =
|
|
25573
|
+
const remote = chunkGV35U5OG_cjs.useRemoteControlActions();
|
|
25574
25574
|
const onceRef = react.useRef(null);
|
|
25575
25575
|
chunkNZNBJF3M_cjs.useMountedSurface("consent");
|
|
25576
25576
|
const handleOpenChange = (next) => {
|
|
@@ -25663,7 +25663,7 @@ function Indicator() {
|
|
|
25663
25663
|
const enabled = react$1.useRemoteControl((s) => s.enabled);
|
|
25664
25664
|
const sharing = react$1.useRemoteControl((s) => !!s.sharing);
|
|
25665
25665
|
const controllingAgent = react$1.useRemoteControl((s) => s.controllingAgent);
|
|
25666
|
-
const remote =
|
|
25666
|
+
const remote = chunkGV35U5OG_cjs.useRemoteControlActions();
|
|
25667
25667
|
if (!enabled && !controllingAgent) return null;
|
|
25668
25668
|
const isActive = controllingAgent !== null;
|
|
25669
25669
|
const label = sharing ? controllingAgent ? `${controllingAgent.name} \xB7 screen sharing and control on` : "Sharing screen \xB7 remote control on" : isActive ? `${controllingAgent.name} is controlling your screen` : "Remote control on";
|
|
@@ -29554,7 +29554,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
29554
29554
|
}) {
|
|
29555
29555
|
const authenticated = react$1.useArbiSession().status === "signed-in";
|
|
29556
29556
|
const { openMail } = chunkUCMUGS6F_cjs.useBlocksEnvironment();
|
|
29557
|
-
const { loading } =
|
|
29557
|
+
const { loading } = chunkGV35U5OG_cjs.useAuthPages();
|
|
29558
29558
|
const claim = react$1.useClaimSecureMail();
|
|
29559
29559
|
const [, setFirstLoginWorkspaces] = react$1.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
|
|
29560
29560
|
const [failure, setFailure] = react.useState(null);
|
|
@@ -29594,7 +29594,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
29594
29594
|
}
|
|
29595
29595
|
})();
|
|
29596
29596
|
}, [authenticated, claimId, key]);
|
|
29597
|
-
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
29597
|
+
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkOGQXIFIL_cjs.LoadingIndicator, { variant: "splash" }) });
|
|
29598
29598
|
return /* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-screen items-center justify-center bg-background p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "w-full max-w-md rounded-lg border border-border bg-card p-6", children: [
|
|
29599
29599
|
/* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
|
|
29600
29600
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -35706,7 +35706,7 @@ function useBatchCompleteToasts() {
|
|
|
35706
35706
|
}
|
|
35707
35707
|
}, AI_FIELDS_NOTICE_WINDOW_MS);
|
|
35708
35708
|
} else if (message.batch_type === "entity_extract") {
|
|
35709
|
-
say(`${
|
|
35709
|
+
say(`${chunkOGQXIFIL_cjs.entitiesPhrase()} extracted from ${chunkOGQXIFIL_cjs.documentCount(docIds.length)}`, "success", {
|
|
35710
35710
|
...openTags && { action: { label: "View", onClick: openTags } }
|
|
35711
35711
|
});
|
|
35712
35712
|
} else if (message.batch_type === "upload") {
|
|
@@ -36582,10 +36582,10 @@ var DocumentReviewCard = react.lazy(
|
|
|
36582
36582
|
() => import('../DocumentReviewCard-CJHMIMSM.cjs').then((module) => ({ default: module.DocumentReviewCard }))
|
|
36583
36583
|
);
|
|
36584
36584
|
var FilesViewerDialog = react.lazy(
|
|
36585
|
-
() => import('../FilesViewerDialog-
|
|
36585
|
+
() => import('../FilesViewerDialog-NOHWHFKC.cjs').then((module) => ({ default: module.FilesViewerDialog }))
|
|
36586
36586
|
);
|
|
36587
36587
|
function defaultReviewCard(props) {
|
|
36588
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
36588
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkOGQXIFIL_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
|
|
36589
36589
|
}
|
|
36590
36590
|
function ConnectedFilesPage({
|
|
36591
36591
|
isModal = false,
|
|
@@ -37176,7 +37176,7 @@ function ConnectedFilesPage({
|
|
|
37176
37176
|
viewMode === "grid" ? (
|
|
37177
37177
|
// ‹ n / N › over the table's displayed rows; a step opens the document.
|
|
37178
37178
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37179
|
-
|
|
37179
|
+
chunkOGQXIFIL_cjs.GridRowNavigator,
|
|
37180
37180
|
{
|
|
37181
37181
|
gridApi,
|
|
37182
37182
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -37472,7 +37472,7 @@ function ProcessingSection({
|
|
|
37472
37472
|
tasks,
|
|
37473
37473
|
onDelete
|
|
37474
37474
|
}) {
|
|
37475
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkV4362YKU_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37475
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkV4362YKU_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
|
|
37476
37476
|
}
|
|
37477
37477
|
function ConnectedDocumentProcessingPanel({
|
|
37478
37478
|
workspaceId,
|
|
@@ -41156,10 +41156,10 @@ var FreshChatModel = () => (useFreshChatModel(), null);
|
|
|
41156
41156
|
var WorkspaceOpenMetrics = ({ measure }) => (useWorkspaceOpenMetrics(measure), null);
|
|
41157
41157
|
var Prefetch = ({ loaders }) => (usePrefetchChunks(loaders), null);
|
|
41158
41158
|
function GuidedRuns() {
|
|
41159
|
-
|
|
41159
|
+
chunkGV35U5OG_cjs.useRemoteControlSessionReset();
|
|
41160
41160
|
const { cursorMark } = chunkNZNBJF3M_cjs.useGuidedRuns();
|
|
41161
41161
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
41162
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41162
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOGQXIFIL_cjs.GuidedCursor, { markSrc: cursorMark }),
|
|
41163
41163
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedRemoteControlConsent, {})
|
|
41164
41164
|
] });
|
|
41165
41165
|
}
|
|
@@ -41193,7 +41193,7 @@ function ConnectedAppRuntime({
|
|
|
41193
41193
|
on("pageTransition") && /* @__PURE__ */ jsxRuntime.jsx(PageTransition, {}),
|
|
41194
41194
|
on("freshChatModel") && /* @__PURE__ */ jsxRuntime.jsx(FreshChatModel, {}),
|
|
41195
41195
|
on("workspaceOpenMetrics") && measure && /* @__PURE__ */ jsxRuntime.jsx(WorkspaceOpenMetrics, { measure }),
|
|
41196
|
-
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...
|
|
41196
|
+
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...chunkOGQXIFIL_cjs.KIT_CHUNK_LOADERS] }),
|
|
41197
41197
|
on("guidedRuns") && /* @__PURE__ */ jsxRuntime.jsx(GuidedRuns, {})
|
|
41198
41198
|
] });
|
|
41199
41199
|
}
|
|
@@ -41298,7 +41298,7 @@ function useDeepLinkSync(options) {
|
|
|
41298
41298
|
return;
|
|
41299
41299
|
}
|
|
41300
41300
|
if (route.kind === "entity" && !route.workspaceId) {
|
|
41301
|
-
await
|
|
41301
|
+
await chunkQ6GTI427_cjs.openEntityReference(
|
|
41302
41302
|
route.entityId,
|
|
41303
41303
|
session,
|
|
41304
41304
|
latest.current.environment,
|
|
@@ -41343,7 +41343,7 @@ function useDeepLinkSync(options) {
|
|
|
41343
41343
|
session.setPage("documents");
|
|
41344
41344
|
}
|
|
41345
41345
|
if (route.kind === "entity") {
|
|
41346
|
-
await
|
|
41346
|
+
await chunkQ6GTI427_cjs.openEntityReference(
|
|
41347
41347
|
route.entityId,
|
|
41348
41348
|
session,
|
|
41349
41349
|
latest.current.environment,
|
|
@@ -41734,7 +41734,7 @@ async function renderAnnotatedScreenshot(image, marks, text2) {
|
|
|
41734
41734
|
)
|
|
41735
41735
|
);
|
|
41736
41736
|
}
|
|
41737
|
-
return
|
|
41737
|
+
return chunkGV35U5OG_cjs.canvasToBlob(canvas);
|
|
41738
41738
|
}
|
|
41739
41739
|
function SupportVideoEvidence({
|
|
41740
41740
|
capture,
|
|
@@ -42210,7 +42210,7 @@ function ReportProblemDialog({
|
|
|
42210
42210
|
hidden: ticketId !== null,
|
|
42211
42211
|
children: [
|
|
42212
42212
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "Add a screenshot or video (optional)." }),
|
|
42213
|
-
|
|
42213
|
+
chunkGV35U5OG_cjs.canCaptureScreen() ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { size: "sm", variant: "outline", onClick: onRetake, "data-testid": "report-retake", children: [
|
|
42214
42214
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Camera, { className: "mr-1 size-4" }),
|
|
42215
42215
|
" Create screenshot",
|
|
42216
42216
|
videoCapture ? " or recording" : ""
|
|
@@ -42329,7 +42329,7 @@ function useSupportVideo() {
|
|
|
42329
42329
|
};
|
|
42330
42330
|
stopRef.current = release;
|
|
42331
42331
|
try {
|
|
42332
|
-
const screen = await
|
|
42332
|
+
const screen = await chunkGV35U5OG_cjs.requestScreenCapture();
|
|
42333
42333
|
streams.push(screen);
|
|
42334
42334
|
if (!active()) {
|
|
42335
42335
|
release();
|
|
@@ -42452,10 +42452,10 @@ function useReportProblem(options = {}) {
|
|
|
42452
42452
|
setPhase("capturing");
|
|
42453
42453
|
await new Promise((resolve) => window.setTimeout(resolve, 200));
|
|
42454
42454
|
try {
|
|
42455
|
-
setFrame(await
|
|
42455
|
+
setFrame(await chunkGV35U5OG_cjs.captureCurrentTab());
|
|
42456
42456
|
setImage(null);
|
|
42457
42457
|
} catch (error) {
|
|
42458
|
-
const code = error instanceof
|
|
42458
|
+
const code = error instanceof chunkGV35U5OG_cjs.ScreenCaptureError ? error.code : "failed";
|
|
42459
42459
|
if (code === "failed") {
|
|
42460
42460
|
notify19("Couldn't capture the screen. You can still describe the problem.", "error");
|
|
42461
42461
|
}
|
|
@@ -43449,7 +43449,7 @@ function resolveLaunchInputs(workflow, request) {
|
|
|
43449
43449
|
function useWorkflowLaunch() {
|
|
43450
43450
|
const { skills } = chunkG7JESVKJ_cjs.useWorkflowDefinitions();
|
|
43451
43451
|
const launch = react.useCallback(
|
|
43452
|
-
(workflowId, options = {}) =>
|
|
43452
|
+
(workflowId, options = {}) => chunkWFMG5AUF_cjs.openWorkflowLaunch({ workflowId, ...options }),
|
|
43453
43453
|
[]
|
|
43454
43454
|
);
|
|
43455
43455
|
const itemsFor = react.useCallback(
|
|
@@ -43478,8 +43478,8 @@ function useWorkflowLaunch() {
|
|
|
43478
43478
|
return { launch, itemsFor, scopeItemsFor };
|
|
43479
43479
|
}
|
|
43480
43480
|
function Inner() {
|
|
43481
|
-
const request =
|
|
43482
|
-
const close =
|
|
43481
|
+
const request = chunkWFMG5AUF_cjs.useWorkflowLaunchRequest();
|
|
43482
|
+
const close = chunkWFMG5AUF_cjs.closeWorkflowLaunch;
|
|
43483
43483
|
const { skills } = chunkG7JESVKJ_cjs.useWorkflowDefinitions();
|
|
43484
43484
|
const run = chunkYKEI4XPI_cjs.useLaunchWorkflow({ landing: request?.landing });
|
|
43485
43485
|
const workflow = skills.find((w) => w.id === request?.workflowId);
|
|
@@ -43517,7 +43517,7 @@ function Inner() {
|
|
|
43517
43517
|
);
|
|
43518
43518
|
}
|
|
43519
43519
|
function WorkflowLaunchHost() {
|
|
43520
|
-
return
|
|
43520
|
+
return chunkWFMG5AUF_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
|
|
43521
43521
|
}
|
|
43522
43522
|
function isNeedsConfirmationDetail(detail) {
|
|
43523
43523
|
return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
|
|
@@ -43822,7 +43822,7 @@ function ConnectedConversationSettings() {
|
|
|
43822
43822
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
43823
43823
|
chunkRIGCKOUY_cjs.ModelSelectionSection,
|
|
43824
43824
|
{
|
|
43825
|
-
selector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
43825
|
+
selector: /* @__PURE__ */ jsxRuntime.jsx(chunkGV35U5OG_cjs.ConnectedModelSelector, {}),
|
|
43826
43826
|
onUseDefaults: settings.resetToDefaults
|
|
43827
43827
|
}
|
|
43828
43828
|
)
|
|
@@ -43931,7 +43931,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
|
|
|
43931
43931
|
testId: "workspace-transfer-modal"
|
|
43932
43932
|
}
|
|
43933
43933
|
),
|
|
43934
|
-
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
43934
|
+
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkGV35U5OG_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
|
|
43935
43935
|
conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
|
|
43936
43936
|
unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
|
|
43937
43937
|
productionSet: ConnectedProductionSetDialog,
|
|
@@ -44018,7 +44018,7 @@ function WorkflowRunStatusCell({ conversation }) {
|
|
|
44018
44018
|
return person ? ui.getUserDisplayName(person) : void 0;
|
|
44019
44019
|
};
|
|
44020
44020
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44021
|
-
|
|
44021
|
+
chunkWFMG5AUF_cjs.WorkflowRunStatus,
|
|
44022
44022
|
{
|
|
44023
44023
|
steps,
|
|
44024
44024
|
states,
|
|
@@ -44052,7 +44052,7 @@ function ConversationStatusCell({ conversation }) {
|
|
|
44052
44052
|
if (conversation.plan?.steps?.length && !isLiveGenerating)
|
|
44053
44053
|
return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
|
|
44054
44054
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44055
|
-
|
|
44055
|
+
chunkWFMG5AUF_cjs.ThreadStatusLine,
|
|
44056
44056
|
{
|
|
44057
44057
|
state: threadStateOf(conversation, isLiveGenerating),
|
|
44058
44058
|
className: "h-full",
|
|
@@ -44371,7 +44371,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
44371
44371
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunk6HP6SQWC_cjs.ComposerDock, { children: [
|
|
44372
44372
|
slashWorkflows.launcher,
|
|
44373
44373
|
/* @__PURE__ */ jsxRuntime.jsx(chunk6HP6SQWC_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
44374
|
-
|
|
44374
|
+
chunkGV35U5OG_cjs.ConversationComposer,
|
|
44375
44375
|
{
|
|
44376
44376
|
value: draft,
|
|
44377
44377
|
onValueChange: setDraft,
|
|
@@ -44380,7 +44380,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
44380
44380
|
isConversationEmpty: true,
|
|
44381
44381
|
shouldOfferFollowUp: false,
|
|
44382
44382
|
skills,
|
|
44383
|
-
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
44383
|
+
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkGV35U5OG_cjs.ConnectedModelSelector, { variant: "compact" }),
|
|
44384
44384
|
rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunk6HP6SQWC_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
|
|
44385
44385
|
}
|
|
44386
44386
|
) })
|
|
@@ -44478,7 +44478,7 @@ function AgentControlBar({
|
|
|
44478
44478
|
const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
|
|
44479
44479
|
const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
|
|
44480
44480
|
const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44481
|
-
|
|
44481
|
+
chunkGV35U5OG_cjs.MessageLiveSeconds,
|
|
44482
44482
|
{
|
|
44483
44483
|
...liveTimer,
|
|
44484
44484
|
offsetSeconds: currentStep?.t ?? 0,
|
|
@@ -44487,7 +44487,7 @@ function AgentControlBar({
|
|
|
44487
44487
|
}
|
|
44488
44488
|
);
|
|
44489
44489
|
const status = /* @__PURE__ */ jsxRuntime.jsx(
|
|
44490
|
-
|
|
44490
|
+
chunkWFMG5AUF_cjs.AgentBarStatus,
|
|
44491
44491
|
{
|
|
44492
44492
|
state: showState ? controlState : void 0,
|
|
44493
44493
|
stateLabel: STATE_LABEL[controlState],
|
|
@@ -44528,7 +44528,7 @@ function AgentControlBar({
|
|
|
44528
44528
|
];
|
|
44529
44529
|
const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
44530
44530
|
onStop && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44531
|
-
|
|
44531
|
+
chunkWFMG5AUF_cjs.AgentBarIconButton,
|
|
44532
44532
|
{
|
|
44533
44533
|
onClick: onStop,
|
|
44534
44534
|
title: "Stop",
|
|
@@ -44537,23 +44537,23 @@ function AgentControlBar({
|
|
|
44537
44537
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
|
|
44538
44538
|
}
|
|
44539
44539
|
),
|
|
44540
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44540
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.AgentBarMenu, { items: menuItems })
|
|
44541
44541
|
] });
|
|
44542
44542
|
const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
|
|
44543
44543
|
(message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
|
|
44544
44544
|
);
|
|
44545
44545
|
const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
|
|
44546
|
-
const below = probePending || probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
44547
|
-
probePending && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44546
|
+
const below = probePending || probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkWFMG5AUF_cjs.AgentBarNotes, { children: [
|
|
44547
|
+
probePending && /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.AgentBarStatus, { isProbing: true }),
|
|
44548
44548
|
queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
44549
|
-
|
|
44549
|
+
chunkWFMG5AUF_cjs.AgentBarQueuedNote,
|
|
44550
44550
|
{
|
|
44551
44551
|
text: message.content ?? "",
|
|
44552
44552
|
isAcknowledged: message.acknowledged
|
|
44553
44553
|
},
|
|
44554
44554
|
index
|
|
44555
44555
|
)),
|
|
44556
|
-
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44556
|
+
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
|
|
44557
44557
|
] }) : null;
|
|
44558
44558
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44559
44559
|
AgentBarShell,
|
|
@@ -45668,7 +45668,7 @@ function ConversationThread({
|
|
|
45668
45668
|
useStartRequestedDraft();
|
|
45669
45669
|
const orphanedMessage = react$1.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
|
|
45670
45670
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkKLMNCBLY_cjs.ConversationBody, { children: [
|
|
45671
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
45671
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkGV35U5OG_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLP2WMB2N_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
|
|
45672
45672
|
meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
45673
45673
|
chunkZBP4ZSAJ_cjs.ConversationFilter,
|
|
45674
45674
|
{
|
|
@@ -45686,7 +45686,7 @@ function ConversationThread({
|
|
|
45686
45686
|
]
|
|
45687
45687
|
}
|
|
45688
45688
|
) }),
|
|
45689
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
45689
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGV35U5OG_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
|
|
45690
45690
|
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunkSOVYCUML_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
45691
45691
|
] }) }) : meetingCallExtId ? (
|
|
45692
45692
|
// A meeting thread with nothing yet: call-aware, not the upload prompt.
|
|
@@ -45694,7 +45694,7 @@ function ConversationThread({
|
|
|
45694
45694
|
/* @__PURE__ */ jsxRuntime.jsx(chunkSOVYCUML_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
|
|
45695
45695
|
/* @__PURE__ */ jsxRuntime.jsx(chunkSOVYCUML_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
45696
45696
|
] })
|
|
45697
|
-
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
45697
|
+
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkGV35U5OG_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
45698
45698
|
ConnectedConversationEmpty,
|
|
45699
45699
|
{
|
|
45700
45700
|
hasDocuments: allWorkspaceDocuments.length > 0,
|
|
@@ -45792,7 +45792,7 @@ function ConversationThread({
|
|
|
45792
45792
|
}
|
|
45793
45793
|
),
|
|
45794
45794
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
45795
|
-
|
|
45795
|
+
chunkGV35U5OG_cjs.ConversationComposer,
|
|
45796
45796
|
{
|
|
45797
45797
|
handleSendMessage: handleUserSend,
|
|
45798
45798
|
placeholder: pendingAnswer ? assistant.answerPlaceholder : void 0,
|
|
@@ -46134,7 +46134,7 @@ function ConnectedThreadsPage({
|
|
|
46134
46134
|
};
|
|
46135
46135
|
const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
|
|
46136
46136
|
/* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
46137
|
-
|
|
46137
|
+
chunkWFMG5AUF_cjs.ConversationListView,
|
|
46138
46138
|
{
|
|
46139
46139
|
showHeader,
|
|
46140
46140
|
conversations: tasks,
|
|
@@ -46153,7 +46153,7 @@ function ConnectedThreadsPage({
|
|
|
46153
46153
|
renderLabels: threadLabels.renderLabels,
|
|
46154
46154
|
labelText: threadLabels.labelText,
|
|
46155
46155
|
renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
46156
|
-
|
|
46156
|
+
chunkWFMG5AUF_cjs.ConversationTurnSpeaker,
|
|
46157
46157
|
{
|
|
46158
46158
|
variant: "icon",
|
|
46159
46159
|
role: row2.last_message_role,
|
|
@@ -47034,7 +47034,7 @@ function ConnectedConversationPage({
|
|
|
47034
47034
|
);
|
|
47035
47035
|
const { data: workspaceTags = [] } = react$1.useTags();
|
|
47036
47036
|
const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
|
|
47037
|
-
const historyCount =
|
|
47037
|
+
const historyCount = chunkWFMG5AUF_cjs.filterConversationRows(
|
|
47038
47038
|
threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
|
|
47039
47039
|
threadFilter,
|
|
47040
47040
|
(row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
@@ -47116,7 +47116,7 @@ function ConnectedConversationPage({
|
|
|
47116
47116
|
] })
|
|
47117
47117
|
}
|
|
47118
47118
|
),
|
|
47119
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
47119
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunk4N2IKS6V_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
|
|
47120
47120
|
] }),
|
|
47121
47121
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
47122
47122
|
ConversationThread,
|
|
@@ -47325,7 +47325,7 @@ function SsoResendVerificationButton({
|
|
|
47325
47325
|
onClick: async () => handleResendEmailVerification(),
|
|
47326
47326
|
disabled: loading || disabled,
|
|
47327
47327
|
"aria-label": "Resend verification email",
|
|
47328
|
-
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
47328
|
+
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkOGQXIFIL_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
47329
47329
|
"Didn't get a verification email? ",
|
|
47330
47330
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
|
|
47331
47331
|
] })
|
|
@@ -47336,9 +47336,9 @@ function SsoResendVerificationButton({
|
|
|
47336
47336
|
}
|
|
47337
47337
|
var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
|
|
47338
47338
|
function ConnectedSsoCallback() {
|
|
47339
|
-
const sso =
|
|
47339
|
+
const sso = chunkGV35U5OG_cjs.useSsoSignIn();
|
|
47340
47340
|
const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
|
|
47341
|
-
const auth =
|
|
47341
|
+
const auth = chunkGV35U5OG_cjs.useAuthPages();
|
|
47342
47342
|
const { notify: notify19, navigate } = chunkUCMUGS6F_cjs.useBlocksEnvironment();
|
|
47343
47343
|
const passwordRules = auth.passwordRules;
|
|
47344
47344
|
const isProcessing = react.useRef(false);
|
|
@@ -47346,7 +47346,7 @@ function ConnectedSsoCallback() {
|
|
|
47346
47346
|
const [statusAttempt, setStatusAttempt] = react.useState(0);
|
|
47347
47347
|
const [accessToken, setAccessToken] = react.useState(null);
|
|
47348
47348
|
const [ssoStatus, setSsoStatus] = react.useState(null);
|
|
47349
|
-
const ssoName = react.useMemo(() =>
|
|
47349
|
+
const ssoName = react.useMemo(() => chunkGV35U5OG_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
|
|
47350
47350
|
const [password, setPassword] = react.useState("");
|
|
47351
47351
|
const [confirmPassword, setConfirmPassword] = react.useState("");
|
|
47352
47352
|
const [error, setError] = react.useState(null);
|
|
@@ -47524,7 +47524,7 @@ function ConnectedSsoCallback() {
|
|
|
47524
47524
|
setIsCheckingStatus(true);
|
|
47525
47525
|
try {
|
|
47526
47526
|
console.info("[SSO] Checking user status...");
|
|
47527
|
-
const response = await
|
|
47527
|
+
const response = await chunkGV35U5OG_cjs.ssoAccountStatus(arbi, accessToken, user);
|
|
47528
47528
|
console.info("[SSO] User status:", response.status);
|
|
47529
47529
|
setSsoStatus(response);
|
|
47530
47530
|
} catch (error2) {
|
|
@@ -47565,7 +47565,7 @@ function ConnectedSsoCallback() {
|
|
|
47565
47565
|
setIsSubmitting(true);
|
|
47566
47566
|
setError(null);
|
|
47567
47567
|
try {
|
|
47568
|
-
const { login, registered, linked } = await
|
|
47568
|
+
const { login, registered, linked } = await chunkGV35U5OG_cjs.completeSsoSignIn(arbi, {
|
|
47569
47569
|
token: accessToken,
|
|
47570
47570
|
user,
|
|
47571
47571
|
status: ssoStatus,
|
|
@@ -47865,7 +47865,7 @@ function ConnectedSsoCallback() {
|
|
|
47865
47865
|
ssoStatus.status !== "new_user" && auth.footer
|
|
47866
47866
|
] }),
|
|
47867
47867
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47868
|
-
|
|
47868
|
+
chunkGV35U5OG_cjs.ConnectedForgotPassword,
|
|
47869
47869
|
{
|
|
47870
47870
|
open: showForgotPasswordModal,
|
|
47871
47871
|
onOpenChange: setShowForgotPasswordModal,
|
|
@@ -47873,7 +47873,7 @@ function ConnectedSsoCallback() {
|
|
|
47873
47873
|
}
|
|
47874
47874
|
),
|
|
47875
47875
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47876
|
-
|
|
47876
|
+
chunkGV35U5OG_cjs.ConnectedPasswordChangeDialog,
|
|
47877
47877
|
{
|
|
47878
47878
|
open: showChangePasswordModal,
|
|
47879
47879
|
onClose: () => setShowChangePasswordModal(false),
|
|
@@ -48032,27 +48032,27 @@ function ConnectedOAuthConsentPage({
|
|
|
48032
48032
|
oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
|
|
48033
48033
|
}
|
|
48034
48034
|
if (error && !params) {
|
|
48035
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
48035
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
|
|
48036
48036
|
}
|
|
48037
48037
|
if (!params) {
|
|
48038
48038
|
return null;
|
|
48039
48039
|
}
|
|
48040
48040
|
if (clientInfo?.isLocalAgentFlow) {
|
|
48041
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
48041
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_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." }) });
|
|
48042
48042
|
}
|
|
48043
48043
|
if (!isAuthenticated2) {
|
|
48044
48044
|
return null;
|
|
48045
48045
|
}
|
|
48046
48046
|
if (callbackUrl) {
|
|
48047
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
48048
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
48047
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkWFMG5AUF_cjs.ConsentCard, { size: "md", children: [
|
|
48048
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkWFMG5AUF_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
|
|
48049
48049
|
"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",
|
|
48050
48050
|
" ",
|
|
48051
48051
|
copied ? "it's already copied to your clipboard." : "copy it first."
|
|
48052
48052
|
] }),
|
|
48053
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
48054
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48055
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
48053
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkWFMG5AUF_cjs.ConsentSection, { title: "Callback URL", children: [
|
|
48054
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
|
|
48055
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkWFMG5AUF_cjs.ConsentText, { variant: "hint", children: [
|
|
48056
48056
|
"In Claude Code, paste the URL at the prompt that says",
|
|
48057
48057
|
" ",
|
|
48058
48058
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
|
|
@@ -48061,17 +48061,17 @@ function ConnectedOAuthConsentPage({
|
|
|
48061
48061
|
] })
|
|
48062
48062
|
] }) });
|
|
48063
48063
|
}
|
|
48064
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
48065
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
48066
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48064
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkWFMG5AUF_cjs.ConsentCard, { children: [
|
|
48065
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkWFMG5AUF_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
|
|
48066
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
|
|
48067
48067
|
" is requesting access to your ",
|
|
48068
48068
|
appName,
|
|
48069
48069
|
" workspace."
|
|
48070
48070
|
] }),
|
|
48071
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48072
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
48073
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48074
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48071
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConsentPermissionList, { items: permissions }) }),
|
|
48072
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConsentNotice, { tone: "error", children: error }),
|
|
48073
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
|
|
48074
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWFMG5AUF_cjs.ConsentFootnote, { children: footnote })
|
|
48075
48075
|
] }) });
|
|
48076
48076
|
}
|
|
48077
48077
|
function ConnectedSharedFilesPage({
|
|
@@ -48775,7 +48775,7 @@ function ConnectedTipBar({
|
|
|
48775
48775
|
className,
|
|
48776
48776
|
revealOnHover = false
|
|
48777
48777
|
}) {
|
|
48778
|
-
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } =
|
|
48778
|
+
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkGV35U5OG_cjs.useContextualHints();
|
|
48779
48779
|
const { dismissed, dismissTip } = react$1.useDismissedTips();
|
|
48780
48780
|
const { notify: notify19 } = chunkUCMUGS6F_cjs.useBlocksEnvironment();
|
|
48781
48781
|
const { data: workspaces } = react$1.useWorkspaces();
|
|
@@ -48786,7 +48786,7 @@ function ConnectedTipBar({
|
|
|
48786
48786
|
workspaceOpen,
|
|
48787
48787
|
...state
|
|
48788
48788
|
};
|
|
48789
|
-
const { tip, index, count: count2, previous, next, onHoverChange } =
|
|
48789
|
+
const { tip, index, count: count2, previous, next, onHoverChange } = chunkOGQXIFIL_cjs.useTipsPlacement({
|
|
48790
48790
|
registry,
|
|
48791
48791
|
context,
|
|
48792
48792
|
state: situation,
|
|
@@ -48864,7 +48864,7 @@ function useGettingStarted({
|
|
|
48864
48864
|
const { user } = react$1.useArbiSession();
|
|
48865
48865
|
const userExtId = user?.external_id;
|
|
48866
48866
|
const temporaryOnly = user?.temporary_access_only === true;
|
|
48867
|
-
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } =
|
|
48867
|
+
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkGV35U5OG_cjs.useContextualHints();
|
|
48868
48868
|
const { dismissed, loaded: dismissedLoaded, dismissTip } = react$1.useDismissedTips();
|
|
48869
48869
|
const welcomeJourneyEnabled = react$1.useFeature("welcomeJourney");
|
|
48870
48870
|
const session = react$1.useArbiSessionStore();
|
|
@@ -49338,279 +49338,279 @@ Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
|
49338
49338
|
});
|
|
49339
49339
|
Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
|
|
49340
49340
|
enumerable: true,
|
|
49341
|
-
get: function () { return
|
|
49341
|
+
get: function () { return chunk4N2IKS6V_cjs.ConnectedTaskActivityDialog; }
|
|
49342
49342
|
});
|
|
49343
49343
|
Object.defineProperty(exports, "ConnectedTaskComposer", {
|
|
49344
49344
|
enumerable: true,
|
|
49345
|
-
get: function () { return
|
|
49345
|
+
get: function () { return chunk4N2IKS6V_cjs.ConnectedTaskComposer; }
|
|
49346
49346
|
});
|
|
49347
49347
|
Object.defineProperty(exports, "ConnectedThreadTaskBar", {
|
|
49348
49348
|
enumerable: true,
|
|
49349
|
-
get: function () { return
|
|
49349
|
+
get: function () { return chunk4N2IKS6V_cjs.ConnectedThreadTaskBar; }
|
|
49350
49350
|
});
|
|
49351
49351
|
Object.defineProperty(exports, "ConnectedWorkflowHistory", {
|
|
49352
49352
|
enumerable: true,
|
|
49353
|
-
get: function () { return
|
|
49353
|
+
get: function () { return chunk4N2IKS6V_cjs.ConnectedWorkflowHistory; }
|
|
49354
49354
|
});
|
|
49355
49355
|
Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
|
|
49356
49356
|
enumerable: true,
|
|
49357
|
-
get: function () { return
|
|
49357
|
+
get: function () { return chunk4N2IKS6V_cjs.ConnectedWorkflowRunPage; }
|
|
49358
49358
|
});
|
|
49359
49359
|
Object.defineProperty(exports, "ConnectedWorkflowRunner", {
|
|
49360
49360
|
enumerable: true,
|
|
49361
|
-
get: function () { return
|
|
49361
|
+
get: function () { return chunk4N2IKS6V_cjs.ConnectedWorkflowRunner; }
|
|
49362
49362
|
});
|
|
49363
49363
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
|
|
49364
49364
|
enumerable: true,
|
|
49365
|
-
get: function () { return
|
|
49365
|
+
get: function () { return chunk4N2IKS6V_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
|
|
49366
49366
|
});
|
|
49367
49367
|
Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
|
|
49368
49368
|
enumerable: true,
|
|
49369
|
-
get: function () { return
|
|
49369
|
+
get: function () { return chunk4N2IKS6V_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
|
|
49370
49370
|
});
|
|
49371
49371
|
Object.defineProperty(exports, "WorkflowRunThread", {
|
|
49372
49372
|
enumerable: true,
|
|
49373
|
-
get: function () { return
|
|
49373
|
+
get: function () { return chunk4N2IKS6V_cjs.WorkflowRunThread; }
|
|
49374
49374
|
});
|
|
49375
49375
|
Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
|
|
49376
49376
|
enumerable: true,
|
|
49377
|
-
get: function () { return
|
|
49377
|
+
get: function () { return chunk4N2IKS6V_cjs.WorkflowRunWorkspaceChangedError; }
|
|
49378
49378
|
});
|
|
49379
49379
|
Object.defineProperty(exports, "buildProjectSummaries", {
|
|
49380
49380
|
enumerable: true,
|
|
49381
|
-
get: function () { return
|
|
49381
|
+
get: function () { return chunk4N2IKS6V_cjs.buildProjectSummaries; }
|
|
49382
49382
|
});
|
|
49383
49383
|
Object.defineProperty(exports, "primaryProjectWorkspace", {
|
|
49384
49384
|
enumerable: true,
|
|
49385
|
-
get: function () { return
|
|
49385
|
+
get: function () { return chunk4N2IKS6V_cjs.primaryProjectWorkspace; }
|
|
49386
49386
|
});
|
|
49387
49387
|
Object.defineProperty(exports, "useEnsureRequiredLabels", {
|
|
49388
49388
|
enumerable: true,
|
|
49389
|
-
get: function () { return
|
|
49389
|
+
get: function () { return chunk4N2IKS6V_cjs.useEnsureRequiredLabels; }
|
|
49390
49390
|
});
|
|
49391
49391
|
Object.defineProperty(exports, "useProjectSummaries", {
|
|
49392
49392
|
enumerable: true,
|
|
49393
|
-
get: function () { return
|
|
49393
|
+
get: function () { return chunk4N2IKS6V_cjs.useProjectSummaries; }
|
|
49394
49394
|
});
|
|
49395
49395
|
Object.defineProperty(exports, "useProjectSummary", {
|
|
49396
49396
|
enumerable: true,
|
|
49397
|
-
get: function () { return
|
|
49397
|
+
get: function () { return chunk4N2IKS6V_cjs.useProjectSummary; }
|
|
49398
49398
|
});
|
|
49399
49399
|
Object.defineProperty(exports, "useRenderTaskPerson", {
|
|
49400
49400
|
enumerable: true,
|
|
49401
|
-
get: function () { return
|
|
49401
|
+
get: function () { return chunk4N2IKS6V_cjs.useRenderTaskPerson; }
|
|
49402
49402
|
});
|
|
49403
49403
|
Object.defineProperty(exports, "useRequiredLabels", {
|
|
49404
49404
|
enumerable: true,
|
|
49405
|
-
get: function () { return
|
|
49405
|
+
get: function () { return chunk4N2IKS6V_cjs.useRequiredLabels; }
|
|
49406
49406
|
});
|
|
49407
49407
|
Object.defineProperty(exports, "useTaskPeople", {
|
|
49408
49408
|
enumerable: true,
|
|
49409
|
-
get: function () { return
|
|
49409
|
+
get: function () { return chunk4N2IKS6V_cjs.useTaskPeople; }
|
|
49410
49410
|
});
|
|
49411
49411
|
Object.defineProperty(exports, "useWorkflowsPageState", {
|
|
49412
49412
|
enumerable: true,
|
|
49413
|
-
get: function () { return
|
|
49413
|
+
get: function () { return chunk4N2IKS6V_cjs.useWorkflowsPageState; }
|
|
49414
49414
|
});
|
|
49415
49415
|
Object.defineProperty(exports, "workflowRunView", {
|
|
49416
49416
|
enumerable: true,
|
|
49417
|
-
get: function () { return
|
|
49417
|
+
get: function () { return chunk4N2IKS6V_cjs.workflowRunView; }
|
|
49418
49418
|
});
|
|
49419
49419
|
Object.defineProperty(exports, "AgentSteps", {
|
|
49420
49420
|
enumerable: true,
|
|
49421
|
-
get: function () { return
|
|
49421
|
+
get: function () { return chunkGV35U5OG_cjs.AgentSteps; }
|
|
49422
49422
|
});
|
|
49423
49423
|
Object.defineProperty(exports, "AnswerTable", {
|
|
49424
49424
|
enumerable: true,
|
|
49425
|
-
get: function () { return
|
|
49425
|
+
get: function () { return chunkGV35U5OG_cjs.AnswerTable; }
|
|
49426
49426
|
});
|
|
49427
49427
|
Object.defineProperty(exports, "ArbiChat", {
|
|
49428
49428
|
enumerable: true,
|
|
49429
|
-
get: function () { return
|
|
49429
|
+
get: function () { return chunkGV35U5OG_cjs.ArbiChat; }
|
|
49430
49430
|
});
|
|
49431
49431
|
Object.defineProperty(exports, "AskAgainContext", {
|
|
49432
49432
|
enumerable: true,
|
|
49433
|
-
get: function () { return
|
|
49433
|
+
get: function () { return chunkGV35U5OG_cjs.AskAgainContext; }
|
|
49434
49434
|
});
|
|
49435
49435
|
Object.defineProperty(exports, "ConnectedBranchControls", {
|
|
49436
49436
|
enumerable: true,
|
|
49437
|
-
get: function () { return
|
|
49437
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedBranchControls; }
|
|
49438
49438
|
});
|
|
49439
49439
|
Object.defineProperty(exports, "ConnectedCitationRenderer", {
|
|
49440
49440
|
enumerable: true,
|
|
49441
|
-
get: function () { return
|
|
49441
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedCitationRenderer; }
|
|
49442
49442
|
});
|
|
49443
49443
|
Object.defineProperty(exports, "ConnectedCompactConversation", {
|
|
49444
49444
|
enumerable: true,
|
|
49445
|
-
get: function () { return
|
|
49445
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedCompactConversation; }
|
|
49446
49446
|
});
|
|
49447
49447
|
Object.defineProperty(exports, "ConnectedCompactLogin", {
|
|
49448
49448
|
enumerable: true,
|
|
49449
|
-
get: function () { return
|
|
49449
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedCompactLogin; }
|
|
49450
49450
|
});
|
|
49451
49451
|
Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
|
|
49452
49452
|
enumerable: true,
|
|
49453
|
-
get: function () { return
|
|
49453
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedConversationDocumentPicker; }
|
|
49454
49454
|
});
|
|
49455
49455
|
Object.defineProperty(exports, "ConnectedDangerZone", {
|
|
49456
49456
|
enumerable: true,
|
|
49457
|
-
get: function () { return
|
|
49457
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedDangerZone; }
|
|
49458
49458
|
});
|
|
49459
49459
|
Object.defineProperty(exports, "ConnectedEmbeddedChat", {
|
|
49460
49460
|
enumerable: true,
|
|
49461
|
-
get: function () { return
|
|
49461
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedEmbeddedChat; }
|
|
49462
49462
|
});
|
|
49463
49463
|
Object.defineProperty(exports, "ConnectedForgotPassword", {
|
|
49464
49464
|
enumerable: true,
|
|
49465
|
-
get: function () { return
|
|
49465
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedForgotPassword; }
|
|
49466
49466
|
});
|
|
49467
49467
|
Object.defineProperty(exports, "ConnectedIdentityVerification", {
|
|
49468
49468
|
enumerable: true,
|
|
49469
|
-
get: function () { return
|
|
49469
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedIdentityVerification; }
|
|
49470
49470
|
});
|
|
49471
49471
|
Object.defineProperty(exports, "ConnectedLoginPage", {
|
|
49472
49472
|
enumerable: true,
|
|
49473
|
-
get: function () { return
|
|
49473
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedLoginPage; }
|
|
49474
49474
|
});
|
|
49475
49475
|
Object.defineProperty(exports, "ConnectedLogoutDialog", {
|
|
49476
49476
|
enumerable: true,
|
|
49477
|
-
get: function () { return
|
|
49477
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedLogoutDialog; }
|
|
49478
49478
|
});
|
|
49479
49479
|
Object.defineProperty(exports, "ConnectedMessage", {
|
|
49480
49480
|
enumerable: true,
|
|
49481
|
-
get: function () { return
|
|
49481
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedMessage; }
|
|
49482
49482
|
});
|
|
49483
49483
|
Object.defineProperty(exports, "ConnectedMessageArea", {
|
|
49484
49484
|
enumerable: true,
|
|
49485
|
-
get: function () { return
|
|
49485
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedMessageArea; }
|
|
49486
49486
|
});
|
|
49487
49487
|
Object.defineProperty(exports, "ConnectedMessageList", {
|
|
49488
49488
|
enumerable: true,
|
|
49489
|
-
get: function () { return
|
|
49489
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedMessageList; }
|
|
49490
49490
|
});
|
|
49491
49491
|
Object.defineProperty(exports, "ConnectedModelSelector", {
|
|
49492
49492
|
enumerable: true,
|
|
49493
|
-
get: function () { return
|
|
49493
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedModelSelector; }
|
|
49494
49494
|
});
|
|
49495
49495
|
Object.defineProperty(exports, "ConnectedNotificationPreferences", {
|
|
49496
49496
|
enumerable: true,
|
|
49497
|
-
get: function () { return
|
|
49497
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedNotificationPreferences; }
|
|
49498
49498
|
});
|
|
49499
49499
|
Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
|
|
49500
49500
|
enumerable: true,
|
|
49501
|
-
get: function () { return
|
|
49501
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedPasswordChangeDialog; }
|
|
49502
49502
|
});
|
|
49503
49503
|
Object.defineProperty(exports, "ConnectedProfileCard", {
|
|
49504
49504
|
enumerable: true,
|
|
49505
|
-
get: function () { return
|
|
49505
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedProfileCard; }
|
|
49506
49506
|
});
|
|
49507
49507
|
Object.defineProperty(exports, "ConnectedSecuritySection", {
|
|
49508
49508
|
enumerable: true,
|
|
49509
|
-
get: function () { return
|
|
49509
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedSecuritySection; }
|
|
49510
49510
|
});
|
|
49511
49511
|
Object.defineProperty(exports, "ConnectedSessionsRow", {
|
|
49512
49512
|
enumerable: true,
|
|
49513
|
-
get: function () { return
|
|
49513
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedSessionsRow; }
|
|
49514
49514
|
});
|
|
49515
49515
|
Object.defineProperty(exports, "ConnectedThreadsPreview", {
|
|
49516
49516
|
enumerable: true,
|
|
49517
|
-
get: function () { return
|
|
49517
|
+
get: function () { return chunkGV35U5OG_cjs.ConnectedThreadsPreview; }
|
|
49518
49518
|
});
|
|
49519
49519
|
Object.defineProperty(exports, "ConversationComposer", {
|
|
49520
49520
|
enumerable: true,
|
|
49521
|
-
get: function () { return
|
|
49521
|
+
get: function () { return chunkGV35U5OG_cjs.ConversationComposer; }
|
|
49522
49522
|
});
|
|
49523
49523
|
Object.defineProperty(exports, "EmbeddedChatPanel", {
|
|
49524
49524
|
enumerable: true,
|
|
49525
|
-
get: function () { return
|
|
49525
|
+
get: function () { return chunkGV35U5OG_cjs.EmbeddedChatPanel; }
|
|
49526
49526
|
});
|
|
49527
49527
|
Object.defineProperty(exports, "MessageDetailsModal", {
|
|
49528
49528
|
enumerable: true,
|
|
49529
|
-
get: function () { return
|
|
49529
|
+
get: function () { return chunkGV35U5OG_cjs.MessageDetailsModal; }
|
|
49530
49530
|
});
|
|
49531
49531
|
Object.defineProperty(exports, "MessageLiveSeconds", {
|
|
49532
49532
|
enumerable: true,
|
|
49533
|
-
get: function () { return
|
|
49533
|
+
get: function () { return chunkGV35U5OG_cjs.MessageLiveSeconds; }
|
|
49534
49534
|
});
|
|
49535
49535
|
Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
|
|
49536
49536
|
enumerable: true,
|
|
49537
|
-
get: function () { return
|
|
49537
|
+
get: function () { return chunkGV35U5OG_cjs.PENDING_RECOVERY_KEY; }
|
|
49538
49538
|
});
|
|
49539
49539
|
Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
|
|
49540
49540
|
enumerable: true,
|
|
49541
|
-
get: function () { return
|
|
49541
|
+
get: function () { return chunkGV35U5OG_cjs.PREMIUM_TIER_TAG; }
|
|
49542
49542
|
});
|
|
49543
49543
|
Object.defineProperty(exports, "RunningSubagents", {
|
|
49544
49544
|
enumerable: true,
|
|
49545
|
-
get: function () { return
|
|
49545
|
+
get: function () { return chunkGV35U5OG_cjs.RunningSubagents; }
|
|
49546
49546
|
});
|
|
49547
49547
|
Object.defineProperty(exports, "STANDARD_TIER_TAG", {
|
|
49548
49548
|
enumerable: true,
|
|
49549
|
-
get: function () { return
|
|
49549
|
+
get: function () { return chunkGV35U5OG_cjs.STANDARD_TIER_TAG; }
|
|
49550
49550
|
});
|
|
49551
49551
|
Object.defineProperty(exports, "WorkflowStepMessage", {
|
|
49552
49552
|
enumerable: true,
|
|
49553
|
-
get: function () { return
|
|
49553
|
+
get: function () { return chunkGV35U5OG_cjs.WorkflowStepMessage; }
|
|
49554
49554
|
});
|
|
49555
49555
|
Object.defineProperty(exports, "backUpOnSignup", {
|
|
49556
49556
|
enumerable: true,
|
|
49557
|
-
get: function () { return
|
|
49557
|
+
get: function () { return chunkGV35U5OG_cjs.backUpOnSignup; }
|
|
49558
49558
|
});
|
|
49559
49559
|
Object.defineProperty(exports, "createRemoteControl", {
|
|
49560
49560
|
enumerable: true,
|
|
49561
|
-
get: function () { return
|
|
49561
|
+
get: function () { return chunkGV35U5OG_cjs.createRemoteControl; }
|
|
49562
49562
|
});
|
|
49563
49563
|
Object.defineProperty(exports, "defaultHost", {
|
|
49564
49564
|
enumerable: true,
|
|
49565
|
-
get: function () { return
|
|
49565
|
+
get: function () { return chunkGV35U5OG_cjs.defaultHost; }
|
|
49566
49566
|
});
|
|
49567
49567
|
Object.defineProperty(exports, "renderConnectedUser", {
|
|
49568
49568
|
enumerable: true,
|
|
49569
|
-
get: function () { return
|
|
49569
|
+
get: function () { return chunkGV35U5OG_cjs.renderConnectedUser; }
|
|
49570
49570
|
});
|
|
49571
49571
|
Object.defineProperty(exports, "renderSessionStatusIcon", {
|
|
49572
49572
|
enumerable: true,
|
|
49573
|
-
get: function () { return
|
|
49573
|
+
get: function () { return chunkGV35U5OG_cjs.renderSessionStatusIcon; }
|
|
49574
49574
|
});
|
|
49575
49575
|
Object.defineProperty(exports, "resolveSsoName", {
|
|
49576
49576
|
enumerable: true,
|
|
49577
|
-
get: function () { return
|
|
49577
|
+
get: function () { return chunkGV35U5OG_cjs.resolveSsoName; }
|
|
49578
49578
|
});
|
|
49579
49579
|
Object.defineProperty(exports, "useAuthPages", {
|
|
49580
49580
|
enumerable: true,
|
|
49581
|
-
get: function () { return
|
|
49581
|
+
get: function () { return chunkGV35U5OG_cjs.useAuthPages; }
|
|
49582
49582
|
});
|
|
49583
49583
|
Object.defineProperty(exports, "useContextualHints", {
|
|
49584
49584
|
enumerable: true,
|
|
49585
|
-
get: function () { return
|
|
49585
|
+
get: function () { return chunkGV35U5OG_cjs.useContextualHints; }
|
|
49586
49586
|
});
|
|
49587
49587
|
Object.defineProperty(exports, "useModelPicker", {
|
|
49588
49588
|
enumerable: true,
|
|
49589
|
-
get: function () { return
|
|
49589
|
+
get: function () { return chunkGV35U5OG_cjs.useModelPicker; }
|
|
49590
49590
|
});
|
|
49591
49591
|
Object.defineProperty(exports, "useOpenChunk", {
|
|
49592
49592
|
enumerable: true,
|
|
49593
|
-
get: function () { return
|
|
49593
|
+
get: function () { return chunkGV35U5OG_cjs.useOpenChunk; }
|
|
49594
49594
|
});
|
|
49595
49595
|
Object.defineProperty(exports, "useOpenWorkspaceIcon", {
|
|
49596
49596
|
enumerable: true,
|
|
49597
|
-
get: function () { return
|
|
49597
|
+
get: function () { return chunkGV35U5OG_cjs.useOpenWorkspaceIcon; }
|
|
49598
49598
|
});
|
|
49599
49599
|
Object.defineProperty(exports, "useRemoteControlActions", {
|
|
49600
49600
|
enumerable: true,
|
|
49601
|
-
get: function () { return
|
|
49601
|
+
get: function () { return chunkGV35U5OG_cjs.useRemoteControlActions; }
|
|
49602
49602
|
});
|
|
49603
49603
|
Object.defineProperty(exports, "useRemoteControlHandlers", {
|
|
49604
49604
|
enumerable: true,
|
|
49605
|
-
get: function () { return
|
|
49605
|
+
get: function () { return chunkGV35U5OG_cjs.useRemoteControlHandlers; }
|
|
49606
49606
|
});
|
|
49607
49607
|
Object.defineProperty(exports, "useSsoSignIn", {
|
|
49608
49608
|
enumerable: true,
|
|
49609
|
-
get: function () { return
|
|
49609
|
+
get: function () { return chunkGV35U5OG_cjs.useSsoSignIn; }
|
|
49610
49610
|
});
|
|
49611
49611
|
Object.defineProperty(exports, "useWorkspaceDocTitles", {
|
|
49612
49612
|
enumerable: true,
|
|
49613
|
-
get: function () { return
|
|
49613
|
+
get: function () { return chunkGV35U5OG_cjs.useWorkspaceDocTitles; }
|
|
49614
49614
|
});
|
|
49615
49615
|
Object.defineProperty(exports, "parseTypedSkill", {
|
|
49616
49616
|
enumerable: true,
|
|
@@ -49734,31 +49734,31 @@ Object.defineProperty(exports, "usePendingFolders", {
|
|
|
49734
49734
|
});
|
|
49735
49735
|
Object.defineProperty(exports, "ConnectedMarkdown", {
|
|
49736
49736
|
enumerable: true,
|
|
49737
|
-
get: function () { return
|
|
49737
|
+
get: function () { return chunkQ6GTI427_cjs.ConnectedMarkdown; }
|
|
49738
49738
|
});
|
|
49739
49739
|
Object.defineProperty(exports, "DocumentWorkspaceContext", {
|
|
49740
49740
|
enumerable: true,
|
|
49741
|
-
get: function () { return
|
|
49741
|
+
get: function () { return chunkQ6GTI427_cjs.DocumentWorkspaceContext; }
|
|
49742
49742
|
});
|
|
49743
49743
|
Object.defineProperty(exports, "ExternalLink", {
|
|
49744
49744
|
enumerable: true,
|
|
49745
|
-
get: function () { return
|
|
49745
|
+
get: function () { return chunkQ6GTI427_cjs.ExternalLink; }
|
|
49746
49746
|
});
|
|
49747
49747
|
Object.defineProperty(exports, "InternalDocLink", {
|
|
49748
49748
|
enumerable: true,
|
|
49749
|
-
get: function () { return
|
|
49749
|
+
get: function () { return chunkQ6GTI427_cjs.InternalDocLink; }
|
|
49750
49750
|
});
|
|
49751
49751
|
Object.defineProperty(exports, "MermaidDiagram", {
|
|
49752
49752
|
enumerable: true,
|
|
49753
|
-
get: function () { return
|
|
49753
|
+
get: function () { return chunkQ6GTI427_cjs.MermaidDiagram; }
|
|
49754
49754
|
});
|
|
49755
49755
|
Object.defineProperty(exports, "WorkspaceDocumentReference", {
|
|
49756
49756
|
enumerable: true,
|
|
49757
|
-
get: function () { return
|
|
49757
|
+
get: function () { return chunkQ6GTI427_cjs.WorkspaceDocumentReference; }
|
|
49758
49758
|
});
|
|
49759
49759
|
Object.defineProperty(exports, "useDocumentWorkspace", {
|
|
49760
49760
|
enumerable: true,
|
|
49761
|
-
get: function () { return
|
|
49761
|
+
get: function () { return chunkQ6GTI427_cjs.useDocumentWorkspace; }
|
|
49762
49762
|
});
|
|
49763
49763
|
Object.defineProperty(exports, "ConnectedPendingSyncDialog", {
|
|
49764
49764
|
enumerable: true,
|