clay-server 2.14.0-beta.5 → 2.14.0-beta.6
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/lib/public/app.js +3 -0
- package/package.json +1 -1
package/lib/public/app.js
CHANGED
|
@@ -2546,6 +2546,9 @@ import { initCommandPalette, handlePaletteSessionSwitch, setPaletteVersion } fro
|
|
|
2546
2546
|
var win = contextData.contextWindow;
|
|
2547
2547
|
return win > 0 ? Math.round((used / win) * 100) : 0;
|
|
2548
2548
|
},
|
|
2549
|
+
isMateDm: function () { return dmMode && dmTargetUser && dmTargetUser.isMate; },
|
|
2550
|
+
getMateName: function () { return dmTargetUser ? (dmTargetUser.displayName || "Mate") : "Mate"; },
|
|
2551
|
+
getMateAvatarUrl: function () { return document.body.dataset.mateAvatarUrl || ""; },
|
|
2549
2552
|
});
|
|
2550
2553
|
|
|
2551
2554
|
// isPlanFile, toolSummary, toolActivityText, shortPath -> modules/tools.js
|