@fungi.computer/inkcap 0.17.1 → 0.18.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.
@@ -180,6 +180,7 @@ export const appBackend = defineAppBackend({
180
180
  "documents.opened": defineAppMethod({
181
181
  description: "Record a successfully opened foreground Computer document",
182
182
  effect: "write",
183
+ label: "Note that a document was opened",
183
184
  requires: ["computer.readFile", "app.storage"],
184
185
  input: documentIdentitySchema,
185
186
  output: z.union([documentRecordedSchema, documentActivityRefusalSchema]),
@@ -189,6 +190,7 @@ export const appBackend = defineAppBackend({
189
190
  "documents.edited": defineAppMethod({
190
191
  description: "Record an accepted Computer document save",
191
192
  effect: "write",
193
+ label: "Note that a document was saved",
192
194
  requires: ["computer.writeFile", "app.storage"],
193
195
  input: documentIdentitySchema,
194
196
  output: z.union([documentRecordedSchema, documentActivityRefusalSchema]),
@@ -257,6 +259,7 @@ export const appBackend = defineAppBackend({
257
259
  description:
258
260
  "Write UTF-8 text on the attached Computer. A missing folder is created first; if it cannot be created the write is refused as parent_not_found, and the path is on the Computer, not the host machine. Supply expectedContent for a compare-and-swap; combined content is limited to 48 KiB. The host owns attribution and the attachment write budget.",
259
261
  effect: "write",
262
+ label: "Save a file on your Computer",
260
263
  requires: ["computer.writeFile"],
261
264
  input: writeInput,
262
265
  output: writeReply,