@fungi.computer/shed 0.10.7 → 0.10.8

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.
@@ -9,6 +9,7 @@ import {
9
9
  import { observeProcess } from "./observation.js";
10
10
  import { runObservationSchema } from "@fungi.computer/agar/run-observation";
11
11
  import * as z from "zod";
12
+ import { computerRefusalMessage } from "@fungi.computer/agar/computer-contracts";
12
13
  import { Base64 } from "effect/encoding";
13
14
  import { computerPortInputSchema } from "@fungi.computer/computer-contract";
14
15
  import {
@@ -348,7 +349,7 @@ export const appBackend = defineAppBackend<ShedMethodContext>({
348
349
  ? {
349
350
  id: "refused",
350
351
  title: "Shed could not run the command",
351
- detail: output.error,
352
+ detail: computerRefusalMessage(output.error),
352
353
  tone: "error",
353
354
  }
354
355
  : {