@fungi.computer/prints 0.3.0 → 0.4.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/README.md CHANGED
@@ -24,9 +24,9 @@ Container.
24
24
  - **Download** an image from Image info. The download drops the prompt and
25
25
  lineage and keeps the AI marker and the print's id; the file on the Computer
26
26
  stays as it is.
27
- - Retry a failed attempt from its tile or from **Activity**. A retry resumes the
28
- same attempt instead of generating again, and **Resume** picks up an
29
- unfinished image after a reload.
27
+ - Retry a failed attempt from its tile or from **Activity**, the key in the
28
+ window's status bar. A retry resumes the same attempt instead of generating
29
+ again, and **Resume** picks up an unfinished image after a reload.
30
30
 
31
31
  <img alt="Prints on a phone in the light theme: a two-column gallery above the prompt bar" src="docs/media/gallery-phone.png" width="300">
32
32
 
@@ -77,14 +77,16 @@ Agents call Prints through Oyster's MCP endpoint, or at
77
77
  `POST $OYSTER_URL/apps/prints/methods/<name>` with a key; see
78
78
  [Git, keys and MCP](https://github.com/fungi-computer/oyster#git-keys-and-mcp).
79
79
 
80
- | Method | What it does |
81
- | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
82
- | `listModels` | Lists the image and video models, with their sizes, settings and how many references each takes. |
83
- | `generateImage` | Generates one image from a prompt and saves it to the gallery folder. Optional `characters` names saved characters to keep consistent. |
84
- | `generateVideo` | Generates one video. While it works, the method returns `{kind: "pending", retryAfterMs}`; call again with the same inputs after that delay. |
85
- | `listOutputs` | Lists the prints this App made, newest first. |
86
- | `getOutput` | Reads one print by file path: its prompt, model, characters and the reference images it used. |
87
- | `openOutput` | Reads up to 128 KiB of one print per call. |
80
+ | Method | What it does |
81
+ | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
82
+ | `listModels` | Lists the image and video models, with their sizes, settings and how many references each takes. |
83
+ | `generateImage` | Generates one image from a prompt and saves it to the gallery folder. Optional `characters` names saved characters to keep consistent. |
84
+ | `generateVideo` | Generates one video. While it works, the method returns `{kind: "pending", retryAfterMs}`; call again with the same inputs after that delay. |
85
+ | `listCharacters` | Lists the saved characters: name, description and reference image paths. Use the names as `characters` or `@name`. |
86
+ | `listStyles` | Lists the saved and built-in styles: name and text. Use a name as `style`. |
87
+ | `listOutputs` | Lists the prints this App made, newest first. |
88
+ | `getOutput` | Reads one print by file path: its prompt, model, characters, style and the reference images it used. |
89
+ | `openOutput` | Reads up to 128 KiB of one print per call. |
88
90
 
89
91
  Each generation carries a request id (`media_request_` and 21 lowercase letters
90
92
  or digits). Retrying with the same id and inputs recovers the same generation
@@ -106,12 +108,13 @@ pnpm typecheck
106
108
  pnpm test
107
109
  ```
108
110
 
109
- [src/MediaPane.tsx](src/MediaPane.tsx) puts the composer, gallery and Activity
110
- together. [src/media-generation.ts](src/media-generation.ts) owns attempts and
111
- retries, [src/media-gallery.ts](src/media-gallery.ts) the gallery and uploads,
112
- and [backend/prints-index.ts](backend/prints-index.ts) records each finished
113
- print. The agent tools are in [backend/methods.ts](backend/methods.ts), and
114
- [package.json](package.json) declares the permissions the App asks for.
111
+ [src/MediaPane.tsx](src/MediaPane.tsx) puts the composer, gallery and the
112
+ Activity status key together. [src/media-generation.ts](src/media-generation.ts)
113
+ owns attempts and retries, [src/media-gallery.ts](src/media-gallery.ts) the
114
+ gallery and uploads, and [backend/prints-index.ts](backend/prints-index.ts)
115
+ records each finished print. The agent tools are in
116
+ [backend/methods.ts](backend/methods.ts), and [package.json](package.json)
117
+ declares the permissions the App asks for.
115
118
 
116
119
  ## License
117
120