@fungi.computer/prints 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +116 -2
- package/dist/assets/Anton-5.3.0-latin-Byf51wtH.woff2 +0 -0
- package/dist/assets/BricolageGrotesque-VF-latin-Cre6nC2_.woff2 +0 -0
- package/dist/assets/DepartureMono-Regular-2BZob_Zz.woff2 +0 -0
- package/dist/assets/Fraunces-Italic-VF-latin-D2JnYqd-.woff2 +0 -0
- package/dist/assets/Fraunces-VF-latin-CFFu7zhK.woff2 +0 -0
- package/dist/assets/GrenzeGotisch-VF-latin-BhUVw2FV.woff2 +0 -0
- package/dist/assets/InstrumentSans-Italic-VF-latin-BlcgWI5J.woff2 +0 -0
- package/dist/assets/InstrumentSans-VF-latin-BbzFLZTg.woff2 +0 -0
- package/dist/assets/MapleMono-VF-CCDrizxw.woff2 +0 -0
- package/dist/assets/NothingYouCouldDo-Regular-B7VfwEBS.woff2 +0 -0
- package/dist/assets/Nunito-VF-8c6a9bb-cyrillic-BsWUdSU9.woff2 +0 -0
- package/dist/assets/Nunito-VF-8c6a9bb-cyrillic-ext-Cb1j0nGJ.woff2 +0 -0
- package/dist/assets/Nunito-VF-8c6a9bb-latin-BYs3GYNf.woff2 +0 -0
- package/dist/assets/Nunito-VF-8c6a9bb-latin-ext-0RvtKGDy.woff2 +0 -0
- package/dist/assets/Nunito-VF-8c6a9bb-vietnamese-cS2dauUA.woff2 +0 -0
- package/dist/assets/index-CaCUxQN8.css +2 -0
- package/dist/assets/index-OdmAV5Qs.js +91 -0
- package/dist/index.html +13 -0
- package/package.json +226 -3
package/dist/index.html
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en" data-theme="mocha">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<title>Media</title>
|
|
7
|
+
<script type="module" crossorigin src="./assets/index-OdmAV5Qs.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="./assets/index-CaCUxQN8.css">
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<div id="media-root"></div>
|
|
12
|
+
</body>
|
|
13
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,229 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/prints",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"description": "Prints: generate images and video into a gallery on your Computer, an App for Oyster",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"author": "Levi <levi@technomancy.dev>",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@fungi.computer/agar": "0.2.0",
|
|
9
|
+
"@fungi.computer/cairn": "0.0.1",
|
|
10
|
+
"@fungi.computer/caps": "0.1.0",
|
|
11
|
+
"@fungi.computer/parakeet": "0.1.0",
|
|
12
|
+
"@fungi.computer/whistle": "0.0.2",
|
|
13
|
+
"@tanstack/react-form": "1.33.2",
|
|
14
|
+
"animejs": "4.5.0",
|
|
15
|
+
"effect": "4.0.2",
|
|
16
|
+
"lucide-react": "0.460.0",
|
|
17
|
+
"masonic": "3.7.0",
|
|
18
|
+
"react": "18.3.1",
|
|
19
|
+
"react-dom": "18.3.1",
|
|
20
|
+
"zod": "4.4.3",
|
|
21
|
+
"@tanstack/react-query": "5.102.8",
|
|
22
|
+
"@fungi.computer/darkroom": "0.1.0",
|
|
23
|
+
"@fungi.computer/gills": "0.1.0"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@fungi.computer/puffball": "0.1.0",
|
|
27
|
+
"@ladle/react": "5.1.1",
|
|
28
|
+
"@tailwindcss/cli": "4.2.1",
|
|
29
|
+
"@tailwindcss/vite": "4.2.1",
|
|
30
|
+
"@types/react": "18.3.3",
|
|
31
|
+
"@types/react-dom": "18.3.0",
|
|
32
|
+
"@vitejs/plugin-react": "6.1.1",
|
|
33
|
+
"@fungi.computer/capnweb": "0.12.0",
|
|
34
|
+
"playwright": "1.62.1",
|
|
35
|
+
"vitest": "4.1.11",
|
|
36
|
+
"tsx": "4.23.12",
|
|
37
|
+
"typescript": "5.9.3",
|
|
38
|
+
"vite": "8.2.2",
|
|
39
|
+
"vite-plugin-singlefile": "2.3.3",
|
|
40
|
+
"@cloudflare/workers-types": "5.20260828.1",
|
|
41
|
+
"@fungi.computer/oyster": "0.2.0",
|
|
42
|
+
"eslint": "10.9.1",
|
|
43
|
+
"jsdom": "29.0.1",
|
|
44
|
+
"@types/node": "24.13.3"
|
|
45
|
+
},
|
|
46
|
+
"license": "MIT",
|
|
47
|
+
"files": [
|
|
48
|
+
"dist",
|
|
49
|
+
"README.md",
|
|
50
|
+
"LICENSE"
|
|
51
|
+
],
|
|
52
|
+
"repository": {
|
|
53
|
+
"type": "git",
|
|
54
|
+
"url": "git+https://github.com/fungi-computer/prints.git"
|
|
55
|
+
},
|
|
56
|
+
"botanical": {
|
|
57
|
+
"role": "app",
|
|
58
|
+
"operations": {
|
|
59
|
+
"lint": "required",
|
|
60
|
+
"typecheck": "required",
|
|
61
|
+
"build": "required",
|
|
62
|
+
"test": "required",
|
|
63
|
+
"docs": {
|
|
64
|
+
"status": "not-applicable",
|
|
65
|
+
"reason": "This private captured app has no public package API documentation"
|
|
66
|
+
},
|
|
67
|
+
"pack": {
|
|
68
|
+
"status": "not-applicable",
|
|
69
|
+
"reason": "Media is delivered as captured HTML, not an npm package"
|
|
70
|
+
},
|
|
71
|
+
"smoke": {
|
|
72
|
+
"status": "not-applicable",
|
|
73
|
+
"reason": "The separate native captured-Release browser proof exercises the app"
|
|
74
|
+
},
|
|
75
|
+
"stranger": {
|
|
76
|
+
"status": "not-applicable",
|
|
77
|
+
"reason": "Media has no external npm consumer"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"fungi": {
|
|
82
|
+
"app": {
|
|
83
|
+
"displayName": "Prints",
|
|
84
|
+
"icon": "prints",
|
|
85
|
+
"capabilities": [
|
|
86
|
+
"computer.list",
|
|
87
|
+
"computer.readFile",
|
|
88
|
+
"computer.writeFile",
|
|
89
|
+
"media.generation"
|
|
90
|
+
],
|
|
91
|
+
"handlers": [],
|
|
92
|
+
"roles": [
|
|
93
|
+
"media"
|
|
94
|
+
],
|
|
95
|
+
"commands": [
|
|
96
|
+
{
|
|
97
|
+
"id": "clear-prompt",
|
|
98
|
+
"title": "Clear prompt",
|
|
99
|
+
"category": "Prompt",
|
|
100
|
+
"description": "Remove the current prompt",
|
|
101
|
+
"projections": {
|
|
102
|
+
"slash": {
|
|
103
|
+
"aliases": [
|
|
104
|
+
"clear"
|
|
105
|
+
],
|
|
106
|
+
"order": 0
|
|
107
|
+
},
|
|
108
|
+
"palette": {}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "size-landscape",
|
|
113
|
+
"title": "Use landscape size",
|
|
114
|
+
"category": "Prompt",
|
|
115
|
+
"description": "Use 1024 × 768",
|
|
116
|
+
"projections": {
|
|
117
|
+
"slash": {
|
|
118
|
+
"aliases": [
|
|
119
|
+
"landscape"
|
|
120
|
+
],
|
|
121
|
+
"order": 1
|
|
122
|
+
},
|
|
123
|
+
"palette": {}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"id": "size-portrait",
|
|
128
|
+
"title": "Use portrait size",
|
|
129
|
+
"category": "Prompt",
|
|
130
|
+
"description": "Use 768 × 1024",
|
|
131
|
+
"projections": {
|
|
132
|
+
"slash": {
|
|
133
|
+
"aliases": [
|
|
134
|
+
"portrait"
|
|
135
|
+
],
|
|
136
|
+
"order": 2
|
|
137
|
+
},
|
|
138
|
+
"palette": {}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "size-square",
|
|
143
|
+
"title": "Use square size",
|
|
144
|
+
"category": "Prompt",
|
|
145
|
+
"description": "Use 1024 × 1024",
|
|
146
|
+
"projections": {
|
|
147
|
+
"slash": {
|
|
148
|
+
"aliases": [
|
|
149
|
+
"square"
|
|
150
|
+
],
|
|
151
|
+
"order": 3
|
|
152
|
+
},
|
|
153
|
+
"palette": {}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"id": "inspect-generation-draft",
|
|
158
|
+
"title": "Inspect image draft",
|
|
159
|
+
"category": "Image generation",
|
|
160
|
+
"description": "Read the current Prints image form and available models",
|
|
161
|
+
"projections": {
|
|
162
|
+
"agent": {}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": "set-generation-draft",
|
|
167
|
+
"title": "Edit image draft",
|
|
168
|
+
"category": "Image generation",
|
|
169
|
+
"description": "Set selected Prints image form fields; this does not generate an image",
|
|
170
|
+
"projections": {
|
|
171
|
+
"agent": {}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"id": "submit-generation-draft",
|
|
176
|
+
"title": "Generate image",
|
|
177
|
+
"category": "Image generation",
|
|
178
|
+
"description": "Submit the current Prints image form using the same action as the Send button",
|
|
179
|
+
"projections": {
|
|
180
|
+
"agent": {}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"backend": {
|
|
185
|
+
"bindings": [
|
|
186
|
+
{
|
|
187
|
+
"name": "MEDIA",
|
|
188
|
+
"operations": [
|
|
189
|
+
"models",
|
|
190
|
+
"generate"
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "COMPUTER",
|
|
195
|
+
"operations": [
|
|
196
|
+
"list",
|
|
197
|
+
"read"
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"backendDefinition": "backend/methods.ts",
|
|
204
|
+
"build": {
|
|
205
|
+
"react": true,
|
|
206
|
+
"stylesheets": [
|
|
207
|
+
"src/media.css"
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"scripts": {
|
|
212
|
+
"build": "vite build",
|
|
213
|
+
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p backend/tsconfig.json --noEmit",
|
|
214
|
+
"test": "pnpm run test:unit",
|
|
215
|
+
"lint": "eslint src backend test workbench .ladle --max-warnings=0",
|
|
216
|
+
"workbench:css": "tailwindcss -i src/media.css -o ../../.botanical/prints-workbench/styles.css",
|
|
217
|
+
"workbench": "pnpm workbench:css && ladle serve --host 127.0.0.1 --port 61002",
|
|
218
|
+
"workbench:build": "pnpm workbench:css && ladle build --outDir ../../.botanical/prints-ladle",
|
|
219
|
+
"test:workbench": "node test/workbench.browser.mjs",
|
|
220
|
+
"test:styles": "node test/style-delivery.browser.mjs",
|
|
221
|
+
"test:browser": "node test/media-browser-proof.mjs",
|
|
222
|
+
"format:check": "node ../../tooling/repository/scripts/format-package-check.mjs",
|
|
223
|
+
"lint:anti-slop": "node ../../tooling/repository/scripts/lint-package-anti-slop.mjs",
|
|
224
|
+
"build:workbench": "pnpm run workbench:build",
|
|
225
|
+
"test:nightly": "node --import tsx ../../tooling/repository/scripts/workbench-proofs.mjs --output ../../.botanical/prints-ladle --origin-env PRINTS_WORKBENCH_URL test/print-navigation.browser.mjs test/gallery-loading.browser.mjs test/gallery-continuity.browser.mjs test/gallery-edges.browser.mjs test/gallery-placeholder-focus.browser.mjs test/prints-activity.browser.mjs test/composer-submit-focus.browser.mjs",
|
|
226
|
+
"test:download": "node --import tsx test/prints-download.browser.mjs",
|
|
227
|
+
"test:unit": "node --import tsx --test test/media-browser.test.mjs test/media-gallery.test.mjs test/generation-model.test.mjs test/generation-commands.test.mjs test/gallery-slots.test.mjs test/media-settings.backend.test.mjs test/prints-notices.test.mjs test/folder-status.test.mjs && vitest run --environment jsdom test/media-gallery-replacement.test.tsx test/media-masonry-layout.test.tsx test/media-composer-pieces.test.tsx test/prompt-commands.test.tsx test/log-event.test.ts test/media-queries.test.tsx test/media-generation.test.tsx test/prints-download.test.ts test/print-info-drawer.test.tsx test/print-navigation.test.tsx test/local-media.test.ts && vitest run --config backend/vitest.config.ts"
|
|
228
|
+
}
|
|
6
229
|
}
|