aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/platform.js
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-08-21 17:50:14 +0200
committerChristophe Besson <cbesson@gmail.com>2026-08-21 17:50:14 +0200
commit81c7d1a34c6b1505f0a75b39c2232f92b1ca4512 (patch)
tree5782835ae06d3f84c4a9c11c8babcec0d8126157 /packages/meshbay-hub/src/meshbay_hub/static/platform.js
parent8730281d739d9ed1d6f2d366772582eea8ba0294 (diff)
parent73490d331179cb640828b8625abb75208cd7ae5f (diff)
downloadmeshbay-81c7d1a34c6b1505f0a75b39c2232f92b1ca4512.tar.gz
Merge feat/d6-first-run-wizard: first-run onboarding wizard (D.6)
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/platform.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/platform.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/platform.js b/packages/meshbay-hub/src/meshbay_hub/static/platform.js
index d400b4e..eeffd49 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/platform.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/platform.js
@@ -224,6 +224,13 @@ export const node = {
async detect() {
return bridge && bridge.node ? bridge.node.detect() : { detected: false };
},
+ async installed() {
+ return bridge && bridge.node ? bridge.node.installed() : { installed: false };
+ },
+ async start() {
+ if (!bridge || !bridge.node) throw new Error('Node bridge not available');
+ return bridge.node.start();
+ },
async call(method, path, body) {
if (!bridge || !bridge.node) throw new Error('Node bridge not available');
return bridge.node.call(method, path, body);