@fungi.computer/shed 0.10.17 → 0.11.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/backend/methods.ts +6 -0
- package/package.json +5 -5
package/backend/methods.ts
CHANGED
|
@@ -128,6 +128,7 @@ export const appBackend = defineAppBackend<ShedMethodContext>({
|
|
|
128
128
|
description:
|
|
129
129
|
"Get an admitted preview URL for a port already exposed on the pinned Computer.",
|
|
130
130
|
effect: "write",
|
|
131
|
+
label: "Open a preview of your app",
|
|
131
132
|
requires: ["computer.execute"],
|
|
132
133
|
input: computerPortInputSchema,
|
|
133
134
|
output: preview,
|
|
@@ -237,6 +238,7 @@ export const appBackend = defineAppBackend<ShedMethodContext>({
|
|
|
237
238
|
description:
|
|
238
239
|
"Start one process on the pinned Computer and return its process and log path without waiting for exit.",
|
|
239
240
|
effect: "write",
|
|
241
|
+
label: "Start a process on your Computer",
|
|
240
242
|
requires: ["computer.execute"],
|
|
241
243
|
pending: true,
|
|
242
244
|
input: shedStartInputSchema,
|
|
@@ -272,6 +274,7 @@ export const appBackend = defineAppBackend<ShedMethodContext>({
|
|
|
272
274
|
description:
|
|
273
275
|
"Stop a process this caller started and start its recorded command, directory and port again as a new process linked to it by parentId. Send the same requestId to retry.",
|
|
274
276
|
effect: "write",
|
|
277
|
+
label: "Restart a process on your Computer",
|
|
275
278
|
requires: ["computer.execute"],
|
|
276
279
|
pending: true,
|
|
277
280
|
input: processIdInputSchema.extend({
|
|
@@ -309,6 +312,7 @@ export const appBackend = defineAppBackend<ShedMethodContext>({
|
|
|
309
312
|
stop: defineAppMethod({
|
|
310
313
|
description: "Signal a retained process on the pinned Computer to stop.",
|
|
311
314
|
effect: "write",
|
|
315
|
+
label: "Stop a process on your Computer",
|
|
312
316
|
requires: ["computer.execute"],
|
|
313
317
|
input: processIdInputSchema,
|
|
314
318
|
output: z.union([processKillOutputSchema, refusal]),
|
|
@@ -331,6 +335,7 @@ export const appBackend = defineAppBackend<ShedMethodContext>({
|
|
|
331
335
|
description:
|
|
332
336
|
"Run one command on the pinned Computer, retaining a log and polling until it exits.",
|
|
333
337
|
effect: "write",
|
|
338
|
+
label: "Run a command on your Computer",
|
|
334
339
|
requires: ["computer.execute"],
|
|
335
340
|
pending: true,
|
|
336
341
|
input: shedRunInputSchema,
|
|
@@ -432,6 +437,7 @@ export const appBackend = defineAppBackend<ShedMethodContext>({
|
|
|
432
437
|
description:
|
|
433
438
|
"Run a shell command on the attached Computer. Use cwd to choose an absolute working directory. The timeout is at most 45 seconds. In a Workflow Git step, use $FUNGI_GIT_REMOTE for the repository. Returns stdout, stderr, exitCode and a truncation flag for each stream, or an error code if the command cannot return output. A nonzero exitCode indicates failure or cancellation. Output may be truncated.",
|
|
434
439
|
effect: "write",
|
|
440
|
+
label: "Run a command on your Computer",
|
|
435
441
|
requires: ["computer.execute"],
|
|
436
442
|
input: shedRunCommandInputSchema,
|
|
437
443
|
output: commandReply,
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/shed",
|
|
3
3
|
"description": "Shed: a terminal on your Computer, with its ports and processes, for Oyster",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.11.0",
|
|
5
5
|
"author": "Levi <levi@technomancy.dev>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@fungi.computer/cairn": "0.1.0",
|
|
9
|
-
"@fungi.computer/agar": "0.
|
|
9
|
+
"@fungi.computer/agar": "0.27.0",
|
|
10
10
|
"@fungi.computer/caps": "0.12.8",
|
|
11
11
|
"@fungi.computer/maosaico": "0.1.2",
|
|
12
12
|
"@fungi.computer/sigils": "0.3.2",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"@tanstack/react-query": "5.102.8",
|
|
23
23
|
"effect": "4.0.2",
|
|
24
24
|
"zod": "4.4.3",
|
|
25
|
-
"@fungi.computer/braid": "0.6.
|
|
25
|
+
"@fungi.computer/braid": "0.6.8",
|
|
26
26
|
"@fungi.computer/gills": "0.4.0",
|
|
27
|
-
"@fungi.computer/computer-contract": "0.6.
|
|
27
|
+
"@fungi.computer/computer-contract": "0.6.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@ladle/react": "5.1.1",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"vitest": "4.1.11",
|
|
40
40
|
"playwright": "1.62.1",
|
|
41
41
|
"@cloudflare/workers-types": "5.20260828.1",
|
|
42
|
-
"@fungi.computer/puffball": "0.
|
|
42
|
+
"@fungi.computer/puffball": "0.15.0",
|
|
43
43
|
"esbuild": "0.28.2",
|
|
44
44
|
"eslint": "10.9.1",
|
|
45
45
|
"tsx": "4.23.12",
|