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.
Files changed (124) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +34 -2
  3. package/bin/hatchlight.js +434 -0
  4. package/package.json +32 -5
  5. package/resources/drizzle/0000_init.sql +57 -0
  6. package/resources/drizzle/0001_job_error_codes.sql +2 -0
  7. package/resources/drizzle/0002_assistant_messages.sql +10 -0
  8. package/resources/drizzle/0003_accounts.sql +56 -0
  9. package/resources/drizzle/0004_spending.sql +14 -0
  10. package/resources/drizzle/0005_account_hardening.sql +12 -0
  11. package/resources/drizzle/0006_lora_uploads.sql +8 -0
  12. package/resources/drizzle/0007_reset_notices.sql +1 -0
  13. package/resources/drizzle/0008_spending_key_source.sql +1 -0
  14. package/resources/drizzle/0009_asset_usage.sql +8 -0
  15. package/resources/drizzle/0010_agent_tokens.sql +8 -0
  16. package/resources/drizzle/0011_pending_spending.sql +1 -0
  17. package/resources/drizzle/meta/0000_snapshot.json +374 -0
  18. package/resources/drizzle/meta/0001_snapshot.json +388 -0
  19. package/resources/drizzle/meta/0002_snapshot.json +449 -0
  20. package/resources/drizzle/meta/0003_snapshot.json +814 -0
  21. package/resources/drizzle/meta/0004_snapshot.json +872 -0
  22. package/resources/drizzle/meta/0005_snapshot.json +950 -0
  23. package/resources/drizzle/meta/0006_snapshot.json +994 -0
  24. package/resources/drizzle/meta/0007_snapshot.json +1001 -0
  25. package/resources/drizzle/meta/0008_snapshot.json +1009 -0
  26. package/resources/drizzle/meta/0009_snapshot.json +1033 -0
  27. package/resources/drizzle/meta/0010_snapshot.json +1064 -0
  28. package/resources/drizzle/meta/0011_snapshot.json +1072 -0
  29. package/resources/drizzle/meta/_journal.json +90 -0
  30. package/resources/web/assets/Assistant-Dcr31LAV.js +44 -0
  31. package/resources/web/assets/Gallery-CMRGE3qD.js +11 -0
  32. package/resources/web/assets/Models-D468Wmoj.js +1 -0
  33. package/resources/web/assets/Settings-DSXHt9Y3.js +2 -0
  34. package/resources/web/assets/bricolage-grotesque-latin-500-normal-CV-uA8Lw.woff +0 -0
  35. package/resources/web/assets/bricolage-grotesque-latin-500-normal-DEDBoLFO.woff2 +0 -0
  36. package/resources/web/assets/bricolage-grotesque-latin-700-normal-DvJDmrLu.woff +0 -0
  37. package/resources/web/assets/bricolage-grotesque-latin-700-normal-gtcctNPv.woff2 +0 -0
  38. package/resources/web/assets/bricolage-grotesque-latin-800-normal-Br4b-5gk.woff +0 -0
  39. package/resources/web/assets/bricolage-grotesque-latin-800-normal-J50vIsBe.woff2 +0 -0
  40. package/resources/web/assets/bricolage-grotesque-latin-ext-500-normal-B0ZDNVGf.woff +0 -0
  41. package/resources/web/assets/bricolage-grotesque-latin-ext-500-normal-DIhLz7G7.woff2 +0 -0
  42. package/resources/web/assets/bricolage-grotesque-latin-ext-700-normal-BXpPFNFj.woff +0 -0
  43. package/resources/web/assets/bricolage-grotesque-latin-ext-700-normal-fBkt-7fi.woff2 +0 -0
  44. package/resources/web/assets/bricolage-grotesque-latin-ext-800-normal-BimIDUhy.woff2 +0 -0
  45. package/resources/web/assets/bricolage-grotesque-latin-ext-800-normal-CkoBqIJM.woff +0 -0
  46. package/resources/web/assets/bricolage-grotesque-vietnamese-500-normal-CAK5R6Iy.woff +0 -0
  47. package/resources/web/assets/bricolage-grotesque-vietnamese-500-normal-FzY9NZwK.woff2 +0 -0
  48. package/resources/web/assets/bricolage-grotesque-vietnamese-700-normal-BLYPkJbo.woff2 +0 -0
  49. package/resources/web/assets/bricolage-grotesque-vietnamese-700-normal-CHrFuVHU.woff +0 -0
  50. package/resources/web/assets/bricolage-grotesque-vietnamese-800-normal-DJ4hCX8l.woff +0 -0
  51. package/resources/web/assets/bricolage-grotesque-vietnamese-800-normal-RJtJa6zl.woff2 +0 -0
  52. package/resources/web/assets/ibm-plex-mono-cyrillic-400-normal-CJUKFyLa.woff +0 -0
  53. package/resources/web/assets/ibm-plex-mono-cyrillic-400-normal-DvQQgHTq.woff2 +0 -0
  54. package/resources/web/assets/ibm-plex-mono-cyrillic-500-normal-BtGHVI3Q.woff2 +0 -0
  55. package/resources/web/assets/ibm-plex-mono-cyrillic-500-normal-N1TV9ACq.woff +0 -0
  56. package/resources/web/assets/ibm-plex-mono-cyrillic-ext-400-normal-B3hZxag_.woff2 +0 -0
  57. package/resources/web/assets/ibm-plex-mono-cyrillic-ext-400-normal-ZyMXPjaT.woff +0 -0
  58. package/resources/web/assets/ibm-plex-mono-cyrillic-ext-500-normal-CmcxpzmF.woff2 +0 -0
  59. package/resources/web/assets/ibm-plex-mono-cyrillic-ext-500-normal-yqk7_qG0.woff +0 -0
  60. package/resources/web/assets/ibm-plex-mono-latin-400-normal-Dm_PoFIZ.woff2 +0 -0
  61. package/resources/web/assets/ibm-plex-mono-latin-400-normal-O6-GRVqx.woff +0 -0
  62. package/resources/web/assets/ibm-plex-mono-latin-500-normal-C_OblDzq.woff2 +0 -0
  63. package/resources/web/assets/ibm-plex-mono-latin-500-normal-zoSM89R3.woff +0 -0
  64. package/resources/web/assets/ibm-plex-mono-latin-ext-400-normal-DxDDqVQb.woff2 +0 -0
  65. package/resources/web/assets/ibm-plex-mono-latin-ext-400-normal-uwM7KshN.woff +0 -0
  66. package/resources/web/assets/ibm-plex-mono-latin-ext-500-normal-BhDX_RLI.woff +0 -0
  67. package/resources/web/assets/ibm-plex-mono-latin-ext-500-normal-Dn-cqWhb.woff2 +0 -0
  68. package/resources/web/assets/ibm-plex-mono-vietnamese-400-normal-BFiUPp6R.woff2 +0 -0
  69. package/resources/web/assets/ibm-plex-mono-vietnamese-400-normal-DLynVohM.woff +0 -0
  70. package/resources/web/assets/ibm-plex-mono-vietnamese-500-normal-CevHOlzG.woff2 +0 -0
  71. package/resources/web/assets/ibm-plex-mono-vietnamese-500-normal-QhwQXayn.woff +0 -0
  72. package/resources/web/assets/index-DrgBjkJQ.js +322 -0
  73. package/resources/web/assets/index-gLwjTNlu.css +1 -0
  74. package/resources/web/assets/index-ydGCWKys.js +1 -0
  75. package/resources/web/assets/inter-tight-cyrillic-400-normal-Cu6X1knp.woff +0 -0
  76. package/resources/web/assets/inter-tight-cyrillic-400-normal-DLglYK2S.woff2 +0 -0
  77. package/resources/web/assets/inter-tight-cyrillic-500-normal-BS_Q301l.woff +0 -0
  78. package/resources/web/assets/inter-tight-cyrillic-500-normal-GsQC2I9I.woff2 +0 -0
  79. package/resources/web/assets/inter-tight-cyrillic-600-normal-CA1nZd4A.woff +0 -0
  80. package/resources/web/assets/inter-tight-cyrillic-600-normal-zvV8lvuq.woff2 +0 -0
  81. package/resources/web/assets/inter-tight-cyrillic-ext-400-normal-CPa21WFm.woff +0 -0
  82. package/resources/web/assets/inter-tight-cyrillic-ext-400-normal-wRoSiYJX.woff2 +0 -0
  83. package/resources/web/assets/inter-tight-cyrillic-ext-500-normal-DDZdcw0e.woff2 +0 -0
  84. package/resources/web/assets/inter-tight-cyrillic-ext-500-normal-SbyCo7Dv.woff +0 -0
  85. package/resources/web/assets/inter-tight-cyrillic-ext-600-normal-BwQoccyI.woff2 +0 -0
  86. package/resources/web/assets/inter-tight-cyrillic-ext-600-normal-D1EOoMTg.woff +0 -0
  87. package/resources/web/assets/inter-tight-greek-400-normal-8GU0b4sT.woff2 +0 -0
  88. package/resources/web/assets/inter-tight-greek-400-normal-BeMKI6ne.woff +0 -0
  89. package/resources/web/assets/inter-tight-greek-500-normal-BGOdJ4jK.woff +0 -0
  90. package/resources/web/assets/inter-tight-greek-500-normal-DfwCMcvd.woff2 +0 -0
  91. package/resources/web/assets/inter-tight-greek-600-normal-BIWCW30H.woff2 +0 -0
  92. package/resources/web/assets/inter-tight-greek-600-normal-CMARuIv4.woff +0 -0
  93. package/resources/web/assets/inter-tight-greek-ext-400-normal-B035aUhC.woff2 +0 -0
  94. package/resources/web/assets/inter-tight-greek-ext-400-normal-tWLvaB1R.woff +0 -0
  95. package/resources/web/assets/inter-tight-greek-ext-500-normal-BtZsBjxU.woff +0 -0
  96. package/resources/web/assets/inter-tight-greek-ext-500-normal-DitH-qUF.woff2 +0 -0
  97. package/resources/web/assets/inter-tight-greek-ext-600-normal-4wRrF3Lp.woff2 +0 -0
  98. package/resources/web/assets/inter-tight-greek-ext-600-normal-DTLxDvi0.woff +0 -0
  99. package/resources/web/assets/inter-tight-latin-400-normal-BW_APOAv.woff +0 -0
  100. package/resources/web/assets/inter-tight-latin-400-normal-CjmW70MP.woff2 +0 -0
  101. package/resources/web/assets/inter-tight-latin-500-normal-DHfo6WYp.woff2 +0 -0
  102. package/resources/web/assets/inter-tight-latin-500-normal-DSK3iurg.woff +0 -0
  103. package/resources/web/assets/inter-tight-latin-600-normal-BhR4EMHT.woff2 +0 -0
  104. package/resources/web/assets/inter-tight-latin-600-normal-RFJ2ueZL.woff +0 -0
  105. package/resources/web/assets/inter-tight-latin-ext-400-normal-BdDiaPns.woff +0 -0
  106. package/resources/web/assets/inter-tight-latin-ext-400-normal-Gi8wMfrP.woff2 +0 -0
  107. package/resources/web/assets/inter-tight-latin-ext-500-normal-BdRfio7v.woff +0 -0
  108. package/resources/web/assets/inter-tight-latin-ext-500-normal-CSMKT5kA.woff2 +0 -0
  109. package/resources/web/assets/inter-tight-latin-ext-600-normal-BiZjrIRq.woff +0 -0
  110. package/resources/web/assets/inter-tight-latin-ext-600-normal-Yxv5k3jL.woff2 +0 -0
  111. package/resources/web/assets/inter-tight-vietnamese-400-normal-CWFku8rW.woff2 +0 -0
  112. package/resources/web/assets/inter-tight-vietnamese-400-normal-s0S0Ysqp.woff +0 -0
  113. package/resources/web/assets/inter-tight-vietnamese-500-normal-B9o3jXvc.woff2 +0 -0
  114. package/resources/web/assets/inter-tight-vietnamese-500-normal-D9AKxpnU.woff +0 -0
  115. package/resources/web/assets/inter-tight-vietnamese-600-normal-B6ESNxpD.woff +0 -0
  116. package/resources/web/assets/inter-tight-vietnamese-600-normal-BZpsSm6S.woff2 +0 -0
  117. package/resources/web/assets/splash-CLEpm4fL.js +1 -0
  118. package/resources/web/favicon.svg +15 -0
  119. package/resources/web/index.html +17 -0
  120. package/resources/web/samples/flux-schnell.webp +0 -0
  121. package/resources/web/samples/sdxl-turbo.webp +0 -0
  122. package/resources/web/samples/sdxl.webp +0 -0
  123. package/resources/web/samples/z-image-turbo.webp +0 -0
  124. 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
- # Temporary Holding Version
1
+ # Hatchlight
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
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