@fungi.computer/tourtois 0.25.0 → 0.27.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.
- package/dist/Keys.d.ts +2 -0
- package/dist/Keys.js +3 -1
- package/dist/oyster-platform-controls.js +1 -0
- package/package.json +6 -6
package/dist/Keys.d.ts
CHANGED
|
@@ -43,6 +43,8 @@ export type KeyGrantPreviewProps = Readonly<{
|
|
|
43
43
|
export type KeysPort = Readonly<{
|
|
44
44
|
scope: string;
|
|
45
45
|
expiry: "required" | "optional";
|
|
46
|
+
/** The host stamps each key's last use, so a key with none has never been used. */
|
|
47
|
+
tracksUse?: true;
|
|
46
48
|
options(apps: readonly KeyAppOption[], signal: AbortSignal): Promise<readonly KeyGrantOption[]>;
|
|
47
49
|
list(): Promise<KeysView>;
|
|
48
50
|
issue(draft: KeyIssueDraft): Promise<KeyIssueResult>;
|
package/dist/Keys.js
CHANGED
|
@@ -79,7 +79,9 @@ function KeysContent({ port, apps, }) {
|
|
|
79
79
|
.join(" · ") }), _jsxs("p", { children: [key.expiresAt === null
|
|
80
80
|
? "Never expires"
|
|
81
81
|
: `${key.expiresAt <= Date.now() ? "Expired" : "Expires"} ${new Date(key.expiresAt).toLocaleString()}`, " ", "\u00B7", " ", key.lastUsedAt === null
|
|
82
|
-
?
|
|
82
|
+
? port.tracksUse === true
|
|
83
|
+
? "Never used"
|
|
84
|
+
: "Use not recorded"
|
|
83
85
|
: `Last used ${new Date(key.lastUsedAt).toLocaleString()}`] })] }), actions: key.revokedAt === null ? (_jsxs(_Fragment, { children: [port.updateGrants !== undefined &&
|
|
84
86
|
key.grants.length > 0 ? (_jsx(KeycapButton, { density: "compact", label: "Edit", icon: _jsx(Sigil, { name: "write" }), "aria-label": `Edit ${key.name}`, disabled: busy || command !== null, onClick: () => {
|
|
85
87
|
setEditing(key);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/tourtois",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.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.
|
|
76
|
+
"@fungi.computer/agar": "0.23.0",
|
|
77
77
|
"@fungi.computer/cairn": "0.1.0",
|
|
78
78
|
"@fungi.computer/caps": "0.12.1",
|
|
79
79
|
"@fungi.computer/ear-tag": "0.1.0",
|
|
80
80
|
"@fungi.computer/gills": "0.4.0",
|
|
81
81
|
"@fungi.computer/maosaico": "0.1.2",
|
|
82
|
-
"@fungi.computer/parakeet": "0.14.
|
|
82
|
+
"@fungi.computer/parakeet": "0.14.2",
|
|
83
83
|
"@fungi.computer/puffball": "0.12.0",
|
|
84
|
-
"@fungi.computer/shiitake": "0.21.
|
|
84
|
+
"@fungi.computer/shiitake": "0.21.2",
|
|
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,13 +96,13 @@
|
|
|
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.8.
|
|
99
|
+
"@fungi.computer/nacre": "0.8.3"
|
|
100
100
|
},
|
|
101
101
|
"peerDependencies": {
|
|
102
102
|
"react": "^18.3.1 || ^19.2.0"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
105
|
-
"@fungi.computer/oyster": "0.
|
|
105
|
+
"@fungi.computer/oyster": "0.43.0",
|
|
106
106
|
"@cloudflare/workers-types": "5.20260828.1",
|
|
107
107
|
"@fungi.computer/forage": "0.3.13",
|
|
108
108
|
"@fungi.computer/mycelium": "0.4.7",
|