meshy-node 0.8.6 → 0.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dashboard/assets/DashboardPage-bSrGTUpL.js +134 -0
- package/dashboard/assets/{DashboardShared-Bf1AO_zZ.js → DashboardShared-NVn_Tw2W.js} +15 -15
- package/dashboard/assets/{DiffTab-C4qfxfB6.js → DiffTab-CAro0pTI.js} +3 -3
- package/dashboard/assets/{FilesTab-9J9cYDlE.js → FilesTab-Bz7sh_3g.js} +1 -1
- package/dashboard/assets/{PreviewTab-6-SBFDwJ.js → PreviewTab-DoI4vsUp.js} +1 -1
- package/dashboard/assets/SharedConversationPage-BOY747wP.js +7 -0
- package/dashboard/assets/{file-CSuBmrvd.js → file-Dntylbon.js} +1 -1
- package/dashboard/assets/index-j4uVsDWB.css +1 -0
- package/dashboard/assets/{index-CwYkt_RH.js → index-uVUa1V95.js} +63 -63
- package/dashboard/assets/{play-ByJhX-44.js → play-142JBIu2.js} +1 -1
- package/dashboard/index.html +2 -2
- package/main.cjs +17 -2
- package/package.json +1 -1
- package/runtime-metadata.json +4 -4
- package/dashboard/assets/DashboardPage-CMsJFjmz.js +0 -134
- package/dashboard/assets/SharedConversationPage-DCIspBsA.js +0 -7
- package/dashboard/assets/index-BHdoRCbz.css +0 -1
package/dashboard/index.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Meshy Dashboard</title>
|
|
7
7
|
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🕸</text></svg>" />
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-uVUa1V95.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-j4uVsDWB.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div id="root"></div>
|
package/main.cjs
CHANGED
|
@@ -65871,14 +65871,25 @@ function createTaskRoutes() {
|
|
|
65871
65871
|
if (existing?.id === shareId) {
|
|
65872
65872
|
const updated = taskEngine.updateTaskShare(existing.id, {
|
|
65873
65873
|
tenant: body.tenant,
|
|
65874
|
-
scope: body.scope
|
|
65875
|
-
|
|
65874
|
+
scope: body.scope,
|
|
65875
|
+
revokedAt: void 0
|
|
65876
|
+
}) ?? { ...existing, tenant: body.tenant, scope: body.scope, revokedAt: void 0 };
|
|
65876
65877
|
res.json({ shareId: updated.id, tenant: updated.tenant, scope: updated.scope, url: buildShareUrl(shareOrigin, updated.id) });
|
|
65877
65878
|
return;
|
|
65878
65879
|
}
|
|
65879
65880
|
if (existing) {
|
|
65880
65881
|
taskEngine.updateTaskShare(existing.id, { revokedAt: Date.now() });
|
|
65881
65882
|
}
|
|
65883
|
+
const stableShare = taskEngine.getTaskShare(shareId);
|
|
65884
|
+
if (stableShare?.taskId === task.id) {
|
|
65885
|
+
const updated = taskEngine.updateTaskShare(stableShare.id, {
|
|
65886
|
+
tenant: body.tenant,
|
|
65887
|
+
scope: body.scope,
|
|
65888
|
+
revokedAt: void 0
|
|
65889
|
+
}) ?? { ...stableShare, tenant: body.tenant, scope: body.scope, revokedAt: void 0 };
|
|
65890
|
+
res.json({ shareId: updated.id, tenant: updated.tenant, scope: updated.scope, url: buildShareUrl(shareOrigin, updated.id) });
|
|
65891
|
+
return;
|
|
65892
|
+
}
|
|
65882
65893
|
const share = taskEngine.createTaskShare({
|
|
65883
65894
|
id: shareId,
|
|
65884
65895
|
taskId: task.id,
|
|
@@ -66090,6 +66101,10 @@ function toSharedConversation(share, task) {
|
|
|
66090
66101
|
}
|
|
66091
66102
|
function createSharedRoutes() {
|
|
66092
66103
|
const router = (0, import_express10.Router)();
|
|
66104
|
+
router.use((_req, res, next) => {
|
|
66105
|
+
res.setHeader("Cache-Control", "no-store, max-age=0");
|
|
66106
|
+
next();
|
|
66107
|
+
});
|
|
66093
66108
|
router.get("/conversations/:shareId", asyncHandler8(async (req, res) => {
|
|
66094
66109
|
const { taskEngine } = req.app.locals.deps;
|
|
66095
66110
|
const shareId = req.params.shareId;
|
package/package.json
CHANGED
package/runtime-metadata.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"packageName": "meshy-node",
|
|
3
|
-
"packageVersion": "0.8.
|
|
3
|
+
"packageVersion": "0.8.8",
|
|
4
4
|
"packages": {
|
|
5
5
|
"workspace": {
|
|
6
6
|
"name": "meshy",
|
|
7
|
-
"version": "0.8.
|
|
7
|
+
"version": "0.8.8"
|
|
8
8
|
},
|
|
9
9
|
"node": {
|
|
10
10
|
"name": "meshy-node",
|
|
11
|
-
"version": "0.8.
|
|
11
|
+
"version": "0.8.8"
|
|
12
12
|
},
|
|
13
13
|
"core": {
|
|
14
14
|
"name": "@meshy/core",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
"repository": {
|
|
27
27
|
"url": "https://github.com/ai-microsoft/meshy",
|
|
28
28
|
"branch": "main",
|
|
29
|
-
"commit": "
|
|
29
|
+
"commit": "6fe2727"
|
|
30
30
|
}
|
|
31
31
|
}
|