@fungi.computer/tourtois 0.28.5 → 0.29.1
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/desktop/Desktop.js +2 -2
- package/dist/shell.css +7 -0
- package/dist/shell.js +2 -1
- package/package.json +6 -6
package/dist/desktop/Desktop.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useEffect, useRef, useState, useSyncExternalStore } from "react";
|
|
|
4
4
|
import { arrangeBento, useMaosaicoBento } from "@fungi.computer/maosaico";
|
|
5
5
|
import { Alert } from "@fungi.computer/caps/components/alert";
|
|
6
6
|
import { EmptyState } from "@fungi.computer/caps/blocks/empty-state";
|
|
7
|
-
import {
|
|
7
|
+
import { BootCurtain } from "@fungi.computer/parakeet/agent-head";
|
|
8
8
|
import { Button } from "@fungi.computer/caps/components/button";
|
|
9
9
|
import { IconButton } from "@fungi.computer/caps/components/icon-button";
|
|
10
10
|
import { GripVertical, Trash2 } from "lucide-react";
|
|
@@ -68,7 +68,7 @@ export function Desktop(props) {
|
|
|
68
68
|
}, [owner, catalog]);
|
|
69
69
|
return (_jsxs("div", { className: "tourtois-desktop", "data-desktop-bento": true, children: [error ? (_jsx(Alert, { tone: "error", description: error, action: _jsx(Button, { variant: "ghost", size: "sm", onClick: () => {
|
|
70
70
|
setRetry((value) => value + 1);
|
|
71
|
-
}, children: "Retry" }) })) : null, !owner && !error ?
|
|
71
|
+
}, children: "Retry" }) })) : null, !owner && !error ? _jsx(BootCurtain, { message: "Opening your desktop" }) : null, owner ? _jsx(ArrangedDesktop, { ...props, owner: owner }) : null] }));
|
|
72
72
|
}
|
|
73
73
|
/** One plain line per refusal; the raw code goes to the console only. */
|
|
74
74
|
function refusalMessage(code) {
|
package/dist/shell.css
CHANGED
|
@@ -38,6 +38,13 @@
|
|
|
38
38
|
min-height: 100%;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
+
/* While it connects the shell holds only the boot curtain, which is fixed to
|
|
42
|
+
* the viewport; give the shell a box so "the shell is on the page" stays true
|
|
43
|
+
* for the proofs that wait for it to be visible. */
|
|
44
|
+
.tourtois-shell[data-connecting] {
|
|
45
|
+
min-height: 100dvh;
|
|
46
|
+
}
|
|
47
|
+
|
|
41
48
|
.tourtois-workbench {
|
|
42
49
|
box-sizing: border-box;
|
|
43
50
|
flex: 1;
|
package/dist/shell.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { tourtoisQueryKeys } from "./queries.js";
|
|
3
|
+
import { BootCurtain } from "@fungi.computer/parakeet/agent-head";
|
|
3
4
|
import { useEffect } from "react";
|
|
4
5
|
import { createRoot } from "react-dom/client";
|
|
5
6
|
import { createQueryClient } from "@fungi.computer/agar/query";
|
|
@@ -51,7 +52,7 @@ function MountedTourtois({ shell, }) {
|
|
|
51
52
|
if (directory.isError)
|
|
52
53
|
return _jsx(CanonicalStatus, { message: "This Team dashboard is unavailable." });
|
|
53
54
|
if (!connection)
|
|
54
|
-
return _jsx(
|
|
55
|
+
return (_jsx("main", { className: "tourtois-shell tourtois-team-desktop", "data-connecting": true, "data-tourtois-shell": true, children: _jsx(BootCurtain, { message: "Opening your desktop" }) }));
|
|
55
56
|
return (_jsx(AppSurfaceHostProvider, { value: connection.workbench.host, children: _jsx(MemberAvatarSource, { read: () => connection.workbench.memberAvatar(), children: _jsx(TeamTourtois, { teamId: connection.team.teamId, teamName: connection.team.name, computersReader: (signal) => readWorkbenchComputers(connection.workbench, signal), directoryReader: () => connection.workbench.directory(), takeAppOpenRequest: () => connection.workbench.takeAppOpenRequest(), platform: connection.workbench.platform, desktopStorage: shell.storage, desktopMethods: shell.methods, gills: connection.workbench, settingsSections: connection.sections ?? undefined, settingsLaunchers: settingsLaunchers.filter((launcher) => connection.sections === null ||
|
|
56
57
|
connection.sections.includes(launcher.location.category)), systemMenuItems: connection.destinations.map(({ id, label }) => (_jsx(DropdownMenuItem, { onSelect: () => {
|
|
57
58
|
void connection.workbench
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/tourtois",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.1",
|
|
4
4
|
"author": "Levi <levi@technomancy.dev>",
|
|
5
5
|
"description": "Tourtois: the trusted desktop shell for Oyster and Fungi, with host-supplied Settings sections",
|
|
6
6
|
"type": "module",
|
|
@@ -77,15 +77,15 @@
|
|
|
77
77
|
"LICENSE"
|
|
78
78
|
],
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@fungi.computer/agar": "0.23.
|
|
80
|
+
"@fungi.computer/agar": "0.23.1",
|
|
81
81
|
"@fungi.computer/cairn": "0.1.0",
|
|
82
82
|
"@fungi.computer/caps": "0.12.2",
|
|
83
83
|
"@fungi.computer/ear-tag": "0.1.0",
|
|
84
84
|
"@fungi.computer/gills": "0.4.0",
|
|
85
85
|
"@fungi.computer/maosaico": "0.1.2",
|
|
86
|
-
"@fungi.computer/parakeet": "0.
|
|
86
|
+
"@fungi.computer/parakeet": "0.16.0",
|
|
87
87
|
"@fungi.computer/puffball": "0.12.0",
|
|
88
|
-
"@fungi.computer/shiitake": "0.21.
|
|
88
|
+
"@fungi.computer/shiitake": "0.21.9",
|
|
89
89
|
"@fungi.computer/sigils": "0.3.2",
|
|
90
90
|
"@fungi.computer/sprite": "0.2.2",
|
|
91
91
|
"@fungi.computer/sprite-zdog": "0.3.2",
|
|
@@ -100,13 +100,13 @@
|
|
|
100
100
|
"lucide-react": "0.460.0",
|
|
101
101
|
"react-dom": "18.3.1",
|
|
102
102
|
"zod": "4.4.3",
|
|
103
|
-
"@fungi.computer/nacre": "0.8.
|
|
103
|
+
"@fungi.computer/nacre": "0.8.4"
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
106
|
"react": "^18.3.1 || ^19.2.0"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@fungi.computer/oyster": "0.47.
|
|
109
|
+
"@fungi.computer/oyster": "0.47.3",
|
|
110
110
|
"@cloudflare/workers-types": "5.20260828.1",
|
|
111
111
|
"@fungi.computer/forage": "0.3.13",
|
|
112
112
|
"@fungi.computer/mycelium": "0.4.7",
|