@fungi.computer/tourtois 0.21.2 → 0.23.0

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.
@@ -64,7 +64,7 @@ export declare function useAppDirectory(teamId: string, directoryReader: () => P
64
64
  }>) | undefined;
65
65
  }> | undefined;
66
66
  }>[];
67
- gills: import("@fungi.computer/nacre/app-directory").AppDirectoryGill[];
67
+ gills: import("@fungi.computer/gills").AppDeclaredGill[];
68
68
  availability: "available" | "unavailable";
69
69
  surface: {
70
70
  stableRoute: string;
@@ -209,7 +209,7 @@ export declare function useAppDirectory(teamId: string, directoryReader: () => P
209
209
  }>) | undefined;
210
210
  }> | undefined;
211
211
  }>[];
212
- gills: import("@fungi.computer/nacre/app-directory").AppDirectoryGill[];
212
+ gills: import("@fungi.computer/gills").AppDeclaredGill[];
213
213
  availability: "available" | "unavailable";
214
214
  surface: {
215
215
  stableRoute: string;
@@ -357,7 +357,7 @@ function ArrangedDesktop({ owner, ...props }) {
357
357
  node.inert = editing;
358
358
  }, children: gill.kind === "launcher" ? (_jsx(LauncherGill, { items: props.launcherItems, size: item.size, onAllApps: props.onAllApps, installing: props.installing ?? [], onRetryInstall: props.onRetryInstall, loading: props.loading, unavailable: props.unavailable, onRetry: props.onRetryApps, warnings: warnings, preferences: snapshot.layout.launcher, onPreference: (id, state) => {
359
359
  void save("layout.launcher", { appId: id, state });
360
- }, editHandle: editing ? _jsx("span", { "aria-hidden": "true" }) : undefined, onContentHeight: onContentHeight })) : declaration && app ? (_jsx(RowGill, { surfaceId: item.surfaceId, appHeader: {
360
+ }, editHandle: editing ? _jsx("span", { "aria-hidden": "true" }) : undefined, onContentHeight: onContentHeight })) : declaration?.view === "rows" && app ? (_jsx(RowGill, { surfaceId: item.surfaceId, appHeader: {
361
361
  name: app.displayName ?? "App",
362
362
  icon: _jsx(DeclaredAppIcon, { icon: app.icon }),
363
363
  }, declaration: declaration, params: item.params, size: item.size, paused: props.paused, transport: props.transport, onOpen: (target) => {
@@ -2,7 +2,7 @@ import type { AppBarItem } from "@fungi.computer/caps/blocks/app-bar";
2
2
  import { type ReactNode } from "react";
3
3
  import { type GillResponse } from "@fungi.computer/gills";
4
4
  import type { TeamWorkbenchHostHandle } from "@fungi.computer/nacre/workbench";
5
- import type { AppDeclaredGill, AppGillDesktopSize } from "@fungi.computer/gills";
5
+ import type { AppDeclaredRowGill, AppGillDesktopSize } from "@fungi.computer/gills";
6
6
  export type DesktopGillTransport = Pick<TeamWorkbenchHostHandle, "requestGill" | "watchGillChanges">;
7
7
  /** The host admits reads; opening a row navigates inside its App. */
8
8
  export declare function RowGill({ surfaceId, appHeader, declaration, params, size, paused, transport, onOpen, onConfigure, launch, editHandle, onContentHeight, }: {
@@ -11,7 +11,7 @@ export declare function RowGill({ surfaceId, appHeader, declaration, params, siz
11
11
  name: string;
12
12
  icon: ReactNode;
13
13
  }>;
14
- declaration: AppDeclaredGill;
14
+ declaration: AppDeclaredRowGill;
15
15
  params?: Readonly<Record<string, string>> | undefined;
16
16
  size: AppGillDesktopSize;
17
17
  paused: boolean;
@@ -42,6 +42,7 @@ export declare const desktopWidgetsSchema: z.ZodObject<{
42
42
  L: "L";
43
43
  }>>;
44
44
  kind: z.ZodEnum<{
45
+ surface: "surface";
45
46
  app: "app";
46
47
  launcher: "launcher";
47
48
  }>;
@@ -16,7 +16,7 @@ export const desktopWidgetsSchema = z.strictObject({
16
16
  gillId: z.string().min(1),
17
17
  title: z.string(),
18
18
  sizes: z.array(z.enum(["S", "M", "L"])),
19
- kind: z.enum(["app", "launcher"]),
19
+ kind: z.enum(["app", "surface", "launcher"]),
20
20
  params: z
21
21
  .array(z.strictObject({
22
22
  key: z.string(),
@@ -27,7 +27,7 @@ export type DesktopGill = Readonly<{
27
27
  gillId: string;
28
28
  title: string;
29
29
  sizes: readonly AppGillDesktopSize[];
30
- kind: "app" | "launcher";
30
+ kind: "app" | "surface" | "launcher";
31
31
  params?: readonly AppGillParam[] | undefined;
32
32
  }>;
33
33
  export declare const desktopArrangeSchema: z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fungi.computer/tourtois",
3
- "version": "0.21.2",
3
+ "version": "0.23.0",
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",
@@ -73,15 +73,15 @@
73
73
  "LICENSE"
74
74
  ],
75
75
  "dependencies": {
76
- "@fungi.computer/agar": "0.19.0",
76
+ "@fungi.computer/agar": "0.21.0",
77
77
  "@fungi.computer/cairn": "0.1.0",
78
78
  "@fungi.computer/caps": "0.12.0",
79
79
  "@fungi.computer/ear-tag": "0.1.0",
80
- "@fungi.computer/gills": "0.3.0",
80
+ "@fungi.computer/gills": "0.4.0",
81
81
  "@fungi.computer/maosaico": "0.1.2",
82
- "@fungi.computer/parakeet": "0.12.4",
83
- "@fungi.computer/puffball": "0.9.1",
84
- "@fungi.computer/shiitake": "0.19.2",
82
+ "@fungi.computer/parakeet": "0.13.0",
83
+ "@fungi.computer/puffball": "0.11.0",
84
+ "@fungi.computer/shiitake": "0.20.1",
85
85
  "@fungi.computer/sigils": "0.3.2",
86
86
  "@fungi.computer/sprite": "0.2.2",
87
87
  "@fungi.computer/sprite-zdog": "0.3.2",
@@ -96,16 +96,16 @@
96
96
  "lucide-react": "0.460.0",
97
97
  "react-dom": "18.3.1",
98
98
  "zod": "4.4.3",
99
- "@fungi.computer/nacre": "0.7.1"
99
+ "@fungi.computer/nacre": "0.8.0"
100
100
  },
101
101
  "peerDependencies": {
102
102
  "react": "^18.3.1 || ^19.2.0"
103
103
  },
104
104
  "devDependencies": {
105
- "@fungi.computer/oyster": "0.35.1",
105
+ "@fungi.computer/oyster": "0.37.0",
106
106
  "@cloudflare/workers-types": "5.20260828.1",
107
- "@fungi.computer/forage": "0.3.10",
108
- "@fungi.computer/mycelium": "0.4.2",
107
+ "@fungi.computer/forage": "0.3.12",
108
+ "@fungi.computer/mycelium": "0.4.4",
109
109
  "@ladle/react": "5.1.1",
110
110
  "@types/react": "18.3.3",
111
111
  "@vitejs/plugin-react": "6.1.1",