hatchlight 0.0.0-stage → 0.4.2
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 +34 -2
- package/bin/hatchlight.js +434 -0
- package/package.json +32 -5
- package/resources/drizzle/0000_init.sql +57 -0
- package/resources/drizzle/0001_job_error_codes.sql +2 -0
- package/resources/drizzle/0002_assistant_messages.sql +10 -0
- package/resources/drizzle/0003_accounts.sql +56 -0
- package/resources/drizzle/0004_spending.sql +14 -0
- package/resources/drizzle/0005_account_hardening.sql +12 -0
- package/resources/drizzle/0006_lora_uploads.sql +8 -0
- package/resources/drizzle/0007_reset_notices.sql +1 -0
- package/resources/drizzle/0008_spending_key_source.sql +1 -0
- package/resources/drizzle/0009_asset_usage.sql +8 -0
- package/resources/drizzle/0010_agent_tokens.sql +8 -0
- package/resources/drizzle/0011_pending_spending.sql +1 -0
- package/resources/drizzle/meta/0000_snapshot.json +374 -0
- package/resources/drizzle/meta/0001_snapshot.json +388 -0
- package/resources/drizzle/meta/0002_snapshot.json +449 -0
- package/resources/drizzle/meta/0003_snapshot.json +814 -0
- package/resources/drizzle/meta/0004_snapshot.json +872 -0
- package/resources/drizzle/meta/0005_snapshot.json +950 -0
- package/resources/drizzle/meta/0006_snapshot.json +994 -0
- package/resources/drizzle/meta/0007_snapshot.json +1001 -0
- package/resources/drizzle/meta/0008_snapshot.json +1009 -0
- package/resources/drizzle/meta/0009_snapshot.json +1033 -0
- package/resources/drizzle/meta/0010_snapshot.json +1064 -0
- package/resources/drizzle/meta/0011_snapshot.json +1072 -0
- package/resources/drizzle/meta/_journal.json +90 -0
- package/resources/web/assets/Assistant-Dcr31LAV.js +44 -0
- package/resources/web/assets/Gallery-CMRGE3qD.js +11 -0
- package/resources/web/assets/Models-D468Wmoj.js +1 -0
- package/resources/web/assets/Settings-DSXHt9Y3.js +2 -0
- package/resources/web/assets/bricolage-grotesque-latin-500-normal-CV-uA8Lw.woff +0 -0
- package/resources/web/assets/bricolage-grotesque-latin-500-normal-DEDBoLFO.woff2 +0 -0
- package/resources/web/assets/bricolage-grotesque-latin-700-normal-DvJDmrLu.woff +0 -0
- package/resources/web/assets/bricolage-grotesque-latin-700-normal-gtcctNPv.woff2 +0 -0
- package/resources/web/assets/bricolage-grotesque-latin-800-normal-Br4b-5gk.woff +0 -0
- package/resources/web/assets/bricolage-grotesque-latin-800-normal-J50vIsBe.woff2 +0 -0
- package/resources/web/assets/bricolage-grotesque-latin-ext-500-normal-B0ZDNVGf.woff +0 -0
- package/resources/web/assets/bricolage-grotesque-latin-ext-500-normal-DIhLz7G7.woff2 +0 -0
- package/resources/web/assets/bricolage-grotesque-latin-ext-700-normal-BXpPFNFj.woff +0 -0
- package/resources/web/assets/bricolage-grotesque-latin-ext-700-normal-fBkt-7fi.woff2 +0 -0
- package/resources/web/assets/bricolage-grotesque-latin-ext-800-normal-BimIDUhy.woff2 +0 -0
- package/resources/web/assets/bricolage-grotesque-latin-ext-800-normal-CkoBqIJM.woff +0 -0
- package/resources/web/assets/bricolage-grotesque-vietnamese-500-normal-CAK5R6Iy.woff +0 -0
- package/resources/web/assets/bricolage-grotesque-vietnamese-500-normal-FzY9NZwK.woff2 +0 -0
- package/resources/web/assets/bricolage-grotesque-vietnamese-700-normal-BLYPkJbo.woff2 +0 -0
- package/resources/web/assets/bricolage-grotesque-vietnamese-700-normal-CHrFuVHU.woff +0 -0
- package/resources/web/assets/bricolage-grotesque-vietnamese-800-normal-DJ4hCX8l.woff +0 -0
- package/resources/web/assets/bricolage-grotesque-vietnamese-800-normal-RJtJa6zl.woff2 +0 -0
- package/resources/web/assets/ibm-plex-mono-cyrillic-400-normal-CJUKFyLa.woff +0 -0
- package/resources/web/assets/ibm-plex-mono-cyrillic-400-normal-DvQQgHTq.woff2 +0 -0
- package/resources/web/assets/ibm-plex-mono-cyrillic-500-normal-BtGHVI3Q.woff2 +0 -0
- package/resources/web/assets/ibm-plex-mono-cyrillic-500-normal-N1TV9ACq.woff +0 -0
- package/resources/web/assets/ibm-plex-mono-cyrillic-ext-400-normal-B3hZxag_.woff2 +0 -0
- package/resources/web/assets/ibm-plex-mono-cyrillic-ext-400-normal-ZyMXPjaT.woff +0 -0
- package/resources/web/assets/ibm-plex-mono-cyrillic-ext-500-normal-CmcxpzmF.woff2 +0 -0
- package/resources/web/assets/ibm-plex-mono-cyrillic-ext-500-normal-yqk7_qG0.woff +0 -0
- package/resources/web/assets/ibm-plex-mono-latin-400-normal-Dm_PoFIZ.woff2 +0 -0
- package/resources/web/assets/ibm-plex-mono-latin-400-normal-O6-GRVqx.woff +0 -0
- package/resources/web/assets/ibm-plex-mono-latin-500-normal-C_OblDzq.woff2 +0 -0
- package/resources/web/assets/ibm-plex-mono-latin-500-normal-zoSM89R3.woff +0 -0
- package/resources/web/assets/ibm-plex-mono-latin-ext-400-normal-DxDDqVQb.woff2 +0 -0
- package/resources/web/assets/ibm-plex-mono-latin-ext-400-normal-uwM7KshN.woff +0 -0
- package/resources/web/assets/ibm-plex-mono-latin-ext-500-normal-BhDX_RLI.woff +0 -0
- package/resources/web/assets/ibm-plex-mono-latin-ext-500-normal-Dn-cqWhb.woff2 +0 -0
- package/resources/web/assets/ibm-plex-mono-vietnamese-400-normal-BFiUPp6R.woff2 +0 -0
- package/resources/web/assets/ibm-plex-mono-vietnamese-400-normal-DLynVohM.woff +0 -0
- package/resources/web/assets/ibm-plex-mono-vietnamese-500-normal-CevHOlzG.woff2 +0 -0
- package/resources/web/assets/ibm-plex-mono-vietnamese-500-normal-QhwQXayn.woff +0 -0
- package/resources/web/assets/index-DrgBjkJQ.js +322 -0
- package/resources/web/assets/index-gLwjTNlu.css +1 -0
- package/resources/web/assets/index-ydGCWKys.js +1 -0
- package/resources/web/assets/inter-tight-cyrillic-400-normal-Cu6X1knp.woff +0 -0
- package/resources/web/assets/inter-tight-cyrillic-400-normal-DLglYK2S.woff2 +0 -0
- package/resources/web/assets/inter-tight-cyrillic-500-normal-BS_Q301l.woff +0 -0
- package/resources/web/assets/inter-tight-cyrillic-500-normal-GsQC2I9I.woff2 +0 -0
- package/resources/web/assets/inter-tight-cyrillic-600-normal-CA1nZd4A.woff +0 -0
- package/resources/web/assets/inter-tight-cyrillic-600-normal-zvV8lvuq.woff2 +0 -0
- package/resources/web/assets/inter-tight-cyrillic-ext-400-normal-CPa21WFm.woff +0 -0
- package/resources/web/assets/inter-tight-cyrillic-ext-400-normal-wRoSiYJX.woff2 +0 -0
- package/resources/web/assets/inter-tight-cyrillic-ext-500-normal-DDZdcw0e.woff2 +0 -0
- package/resources/web/assets/inter-tight-cyrillic-ext-500-normal-SbyCo7Dv.woff +0 -0
- package/resources/web/assets/inter-tight-cyrillic-ext-600-normal-BwQoccyI.woff2 +0 -0
- package/resources/web/assets/inter-tight-cyrillic-ext-600-normal-D1EOoMTg.woff +0 -0
- package/resources/web/assets/inter-tight-greek-400-normal-8GU0b4sT.woff2 +0 -0
- package/resources/web/assets/inter-tight-greek-400-normal-BeMKI6ne.woff +0 -0
- package/resources/web/assets/inter-tight-greek-500-normal-BGOdJ4jK.woff +0 -0
- package/resources/web/assets/inter-tight-greek-500-normal-DfwCMcvd.woff2 +0 -0
- package/resources/web/assets/inter-tight-greek-600-normal-BIWCW30H.woff2 +0 -0
- package/resources/web/assets/inter-tight-greek-600-normal-CMARuIv4.woff +0 -0
- package/resources/web/assets/inter-tight-greek-ext-400-normal-B035aUhC.woff2 +0 -0
- package/resources/web/assets/inter-tight-greek-ext-400-normal-tWLvaB1R.woff +0 -0
- package/resources/web/assets/inter-tight-greek-ext-500-normal-BtZsBjxU.woff +0 -0
- package/resources/web/assets/inter-tight-greek-ext-500-normal-DitH-qUF.woff2 +0 -0
- package/resources/web/assets/inter-tight-greek-ext-600-normal-4wRrF3Lp.woff2 +0 -0
- package/resources/web/assets/inter-tight-greek-ext-600-normal-DTLxDvi0.woff +0 -0
- package/resources/web/assets/inter-tight-latin-400-normal-BW_APOAv.woff +0 -0
- package/resources/web/assets/inter-tight-latin-400-normal-CjmW70MP.woff2 +0 -0
- package/resources/web/assets/inter-tight-latin-500-normal-DHfo6WYp.woff2 +0 -0
- package/resources/web/assets/inter-tight-latin-500-normal-DSK3iurg.woff +0 -0
- package/resources/web/assets/inter-tight-latin-600-normal-BhR4EMHT.woff2 +0 -0
- package/resources/web/assets/inter-tight-latin-600-normal-RFJ2ueZL.woff +0 -0
- package/resources/web/assets/inter-tight-latin-ext-400-normal-BdDiaPns.woff +0 -0
- package/resources/web/assets/inter-tight-latin-ext-400-normal-Gi8wMfrP.woff2 +0 -0
- package/resources/web/assets/inter-tight-latin-ext-500-normal-BdRfio7v.woff +0 -0
- package/resources/web/assets/inter-tight-latin-ext-500-normal-CSMKT5kA.woff2 +0 -0
- package/resources/web/assets/inter-tight-latin-ext-600-normal-BiZjrIRq.woff +0 -0
- package/resources/web/assets/inter-tight-latin-ext-600-normal-Yxv5k3jL.woff2 +0 -0
- package/resources/web/assets/inter-tight-vietnamese-400-normal-CWFku8rW.woff2 +0 -0
- package/resources/web/assets/inter-tight-vietnamese-400-normal-s0S0Ysqp.woff +0 -0
- package/resources/web/assets/inter-tight-vietnamese-500-normal-B9o3jXvc.woff2 +0 -0
- package/resources/web/assets/inter-tight-vietnamese-500-normal-D9AKxpnU.woff +0 -0
- package/resources/web/assets/inter-tight-vietnamese-600-normal-B6ESNxpD.woff +0 -0
- package/resources/web/assets/inter-tight-vietnamese-600-normal-BZpsSm6S.woff2 +0 -0
- package/resources/web/assets/splash-CLEpm4fL.js +1 -0
- package/resources/web/favicon.svg +15 -0
- package/resources/web/index.html +17 -0
- package/resources/web/samples/flux-schnell.webp +0 -0
- package/resources/web/samples/sdxl-turbo.webp +0 -0
- package/resources/web/samples/sdxl.webp +0 -0
- package/resources/web/samples/z-image-turbo.webp +0 -0
- package/resources/web/splash.html +26 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Hatchlight contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Hatchlight
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Make pictures and videos with many AI models, side by side. Run them on your
|
|
4
|
+
own graphics card for free, or use the services you already pay for with your
|
|
5
|
+
own keys. Open source, no account, no telemetry.
|
|
6
|
+
|
|
7
|
+
This package is Hatchlight's command line, and it runs on
|
|
8
|
+
[Bun](https://bun.sh). For the desktop app, see
|
|
9
|
+
[hatchlight.app](https://hatchlight.app).
|
|
10
|
+
|
|
11
|
+
## Use it from an AI agent
|
|
12
|
+
|
|
13
|
+
`hatchlight mcp` lets an agent that speaks the
|
|
14
|
+
[Model Context Protocol](https://modelcontextprotocol.io), such as Claude Code,
|
|
15
|
+
make pictures and videos with your models:
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
claude mcp add hatchlight -- bunx hatchlight mcp
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
It uses the Hatchlight already running, or starts one that stops with the
|
|
22
|
+
agent. By default only models on your computer are used, so it costs nothing;
|
|
23
|
+
`--allow-paid --spend-limit 5` also lets it use your cloud keys, up to $5 per
|
|
24
|
+
connection. Agents cannot install models: you do, in the app.
|
|
25
|
+
|
|
26
|
+
## Run the app
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
bunx hatchlight
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
starts Hatchlight and opens it in your browser. `bunx hatchlight --help`
|
|
33
|
+
lists the other commands.
|
|
34
|
+
|
|
35
|
+
More: https://github.com/hatchlight/hatchlight
|