hermium 0.1.7 → 0.1.8

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 (56) hide show
  1. package/bin/hermium.mjs +6 -5
  2. package/dist/public/assets/{IconAlertCircle-C98Iam1j.js → IconAlertCircle-BHkmI3j7.js} +1 -1
  3. package/dist/public/assets/{IconAlertTriangle-DdD7_dc8.js → IconAlertTriangle-wCJudlVg.js} +1 -1
  4. package/dist/public/assets/{IconCheck-CYZ4_524.js → IconCheck-CFuEh_p7.js} +1 -1
  5. package/dist/public/assets/{IconLoader2-DkEhzUxZ.js → IconLoader2-BIx3OuF9.js} +1 -1
  6. package/dist/public/assets/{IconRefresh-CCXMrUxO.js → IconRefresh-Dgm93w3T.js} +1 -1
  7. package/dist/public/assets/index-Bbz3abmO.js +14 -0
  8. package/dist/public/assets/index-CWUaRwcE.js +1 -0
  9. package/dist/public/assets/index-CinLq3cd.js +1 -0
  10. package/dist/public/assets/{index-DCT13_ZI.js → index-CrQs9n6q.js} +1 -1
  11. package/dist/public/assets/{index-zFJdOj6P.js → index-CtacpN3I.js} +1 -1
  12. package/dist/public/assets/{index-C0ivmMuU.js → index-DY7aE-9s.js} +1 -1
  13. package/dist/public/assets/index-DkYGodJj.js +94 -0
  14. package/dist/public/assets/{index-DhCVawEl.js → index-DvDLadUx.js} +1 -1
  15. package/dist/public/assets/index-U6RcWedt.js +1 -0
  16. package/dist/public/assets/index-_6iFZ0fh.js +1 -0
  17. package/dist/public/assets/index-enFS26SU.js +1 -0
  18. package/dist/public/assets/input-eNcwlDHp.js +1 -0
  19. package/dist/public/assets/queries-iHRgZzw2.js +1 -0
  20. package/dist/public/assets/styles-KcflDlA_.css +1 -0
  21. package/dist/public/assets/{switch-BKlJnOab.js → switch-B1DcZLwL.js} +1 -1
  22. package/dist/public/assets/{syntax-highlighter-BuOqgzbp.js → syntax-highlighter-DWPF-A_h.js} +2 -2
  23. package/dist/public/assets/{textarea-a9VUYAmJ.js → textarea-Di_syYTS.js} +1 -1
  24. package/dist/server/index.mjs +130 -129
  25. package/dist/web-server/_libs/tabler__icons-react.mjs +171 -165
  26. package/dist/web-server/_ssr/{index-KGEq7IhY.mjs → index-0n2Z3BPQ.mjs} +2 -2
  27. package/dist/web-server/_ssr/{index-DxgfsEKM.mjs → index-6itDALOw.mjs} +39 -20
  28. package/dist/web-server/_ssr/{index-BFCBaZTA.mjs → index-BIRTrOmp.mjs} +3 -3
  29. package/dist/web-server/_ssr/{index-BVtbpy73.mjs → index-BPzfADac.mjs} +1 -1
  30. package/dist/web-server/_ssr/{index-CmwSlgGR.mjs → index-BQE3bF14.mjs} +42 -20
  31. package/dist/web-server/_ssr/index-C5HpvlUP.mjs +190 -0
  32. package/dist/web-server/_ssr/{index-BT-fOdbN.mjs → index-C_ZxnypN.mjs} +2 -2
  33. package/dist/web-server/_ssr/{index-B_d-ca5z.mjs → index-Ca8JFH8f.mjs} +4 -4
  34. package/dist/web-server/_ssr/{index-D4rgpZTm.mjs → index-DNVESZiA.mjs} +4 -4
  35. package/dist/web-server/_ssr/index.mjs +2 -2
  36. package/dist/web-server/_ssr/{input-CZtNKDXd.mjs → input-CqXjTRQg.mjs} +1 -1
  37. package/dist/web-server/_ssr/{queries-ixVDom0l.mjs → queries-3H_19mUt.mjs} +1 -1
  38. package/dist/web-server/_ssr/{router-CrULUyXB.mjs → router-sbsNus0Y.mjs} +186 -91
  39. package/dist/web-server/_ssr/{switch-Bd3Khe3S.mjs → switch-usf2F1UM.mjs} +1 -1
  40. package/dist/web-server/_ssr/{textarea-ClM2KXId.mjs → textarea-DfRheWY0.mjs} +1 -1
  41. package/dist/web-server/_tanstack-start-manifest_v-DqW-pKEH.mjs +4 -0
  42. package/dist/web-server/index.mjs +135 -142
  43. package/package.json +1 -1
  44. package/dist/public/assets/index-BTiEWEax.js +0 -1
  45. package/dist/public/assets/index-Bfadg8tB.js +0 -1
  46. package/dist/public/assets/index-CQCxtJMS.js +0 -14
  47. package/dist/public/assets/index-D6B0cdTJ.js +0 -1
  48. package/dist/public/assets/index-KT0CxDFc.js +0 -1
  49. package/dist/public/assets/index-qsvsww7-.js +0 -1
  50. package/dist/public/assets/index-twHXYGSY.js +0 -90
  51. package/dist/public/assets/input-C_TtyOcH.js +0 -1
  52. package/dist/public/assets/queries-DuZAFrOY.js +0 -1
  53. package/dist/public/assets/styles-Bc7sFPhq.css +0 -1
  54. package/dist/public/assets/useQuery-ByTdbkfi.js +0 -1
  55. package/dist/web-server/_ssr/index-ClGONv4K.mjs +0 -189
  56. package/dist/web-server/_tanstack-start-manifest_v-cNUQI9I2.mjs +0 -4
@@ -88,268 +88,261 @@ const assets = {
88
88
  "/manifest.json": {
89
89
  "type": "application/json",
90
90
  "etag": '"1f2-Oqn/x1R1hBTtEjA8nFhpBeFJJNg"',
91
- "mtime": "2026-05-15T19:28:45.980Z",
91
+ "mtime": "2026-05-16T06:33:38.950Z",
92
92
  "size": 498,
93
93
  "path": "../public/manifest.json"
94
94
  },
95
95
  "/robots.txt": {
96
96
  "type": "text/plain; charset=utf-8",
97
97
  "etag": '"43-BEzmj4PuhUNHX+oW9uOnPSihxtU"',
98
- "mtime": "2026-05-15T19:28:45.980Z",
98
+ "mtime": "2026-05-16T06:33:38.950Z",
99
99
  "size": 67,
100
100
  "path": "../public/robots.txt"
101
101
  },
102
- "/assets/IconAlertCircle-C98Iam1j.js": {
102
+ "/assets/IconAlertCircle-BHkmI3j7.js": {
103
103
  "type": "text/javascript; charset=utf-8",
104
- "etag": '"f9-M3nqbqXVed3J/iifzAeUdgM5jUM"',
105
- "mtime": "2026-05-15T19:28:44.681Z",
104
+ "etag": '"f9-KdA0Bw5PejbQsi5Y2kKurKk8cCk"',
105
+ "mtime": "2026-05-16T06:33:37.788Z",
106
106
  "size": 249,
107
- "path": "../public/assets/IconAlertCircle-C98Iam1j.js"
107
+ "path": "../public/assets/IconAlertCircle-BHkmI3j7.js"
108
108
  },
109
- "/assets/IconAlertTriangle-DdD7_dc8.js": {
109
+ "/assets/IconAlertTriangle-wCJudlVg.js": {
110
110
  "type": "text/javascript; charset=utf-8",
111
- "etag": '"161-2Mu6/oOnYNrE2SwVeCk/Trm/qZE"',
112
- "mtime": "2026-05-15T19:28:44.681Z",
111
+ "etag": '"161-oP0y+NGtdFoHFR6fi6fOpE3q0dg"',
112
+ "mtime": "2026-05-16T06:33:37.788Z",
113
113
  "size": 353,
114
- "path": "../public/assets/IconAlertTriangle-DdD7_dc8.js"
114
+ "path": "../public/assets/IconAlertTriangle-wCJudlVg.js"
115
115
  },
116
- "/assets/IconCheck-CYZ4_524.js": {
116
+ "/assets/IconCheck-CFuEh_p7.js": {
117
117
  "type": "text/javascript; charset=utf-8",
118
- "etag": '"8a-E1kFbE+KUoiH+aNQkhlBLDfBLoM"',
119
- "mtime": "2026-05-15T19:28:44.681Z",
118
+ "etag": '"8a-WdXLF+zTf7rMWPqsNBBj/7N025A"',
119
+ "mtime": "2026-05-16T06:33:37.788Z",
120
120
  "size": 138,
121
- "path": "../public/assets/IconCheck-CYZ4_524.js"
121
+ "path": "../public/assets/IconCheck-CFuEh_p7.js"
122
122
  },
123
- "/assets/IconLoader2-DkEhzUxZ.js": {
123
+ "/assets/IconLoader2-BIx3OuF9.js": {
124
124
  "type": "text/javascript; charset=utf-8",
125
- "etag": '"97-4RcW+C/6QLhKxmKbiLfuudK4Dio"',
126
- "mtime": "2026-05-15T19:28:44.681Z",
125
+ "etag": '"97-4CnV4LJ4vnTlibWRMY8rynSc1ao"',
126
+ "mtime": "2026-05-16T06:33:37.788Z",
127
127
  "size": 151,
128
- "path": "../public/assets/IconLoader2-DkEhzUxZ.js"
128
+ "path": "../public/assets/IconLoader2-BIx3OuF9.js"
129
129
  },
130
- "/assets/IconRefresh-CCXMrUxO.js": {
130
+ "/assets/IconRefresh-Dgm93w3T.js": {
131
131
  "type": "text/javascript; charset=utf-8",
132
- "etag": '"ec-b0t7FFfjNgsbVSmC4KlySp4ztIQ"',
133
- "mtime": "2026-05-15T19:28:44.681Z",
132
+ "etag": '"ec-/OuLjwmIc1x5ldidfVlVPMQYrDs"',
133
+ "mtime": "2026-05-16T06:33:37.788Z",
134
134
  "size": 236,
135
- "path": "../public/assets/IconRefresh-CCXMrUxO.js"
135
+ "path": "../public/assets/IconRefresh-Dgm93w3T.js"
136
136
  },
137
137
  "/assets/geist-cyrillic-wght-normal-CHSlOQsW.woff2": {
138
138
  "type": "font/woff2",
139
139
  "etag": '"3964-jfUkxTfHRj1cpO33jEsDk2lkrvM"',
140
- "mtime": "2026-05-15T19:28:44.680Z",
140
+ "mtime": "2026-05-16T06:33:37.788Z",
141
141
  "size": 14692,
142
142
  "path": "../public/assets/geist-cyrillic-wght-normal-CHSlOQsW.woff2"
143
143
  },
144
144
  "/assets/geist-latin-ext-wght-normal-DMtmJ5ZE.woff2": {
145
145
  "type": "font/woff2",
146
146
  "etag": '"3bcc-oSFlPnDlb7fAcQTPv6sqm6NgXXU"',
147
- "mtime": "2026-05-15T19:28:44.680Z",
147
+ "mtime": "2026-05-16T06:33:37.788Z",
148
148
  "size": 15308,
149
149
  "path": "../public/assets/geist-latin-ext-wght-normal-DMtmJ5ZE.woff2"
150
150
  },
151
151
  "/assets/geist-latin-wght-normal-Dm3htQBi.woff2": {
152
152
  "type": "font/woff2",
153
153
  "etag": '"6ef0-pZqr0k2V92t+lxQ/ogxqTIOgDGM"',
154
- "mtime": "2026-05-15T19:28:44.680Z",
154
+ "mtime": "2026-05-16T06:33:37.788Z",
155
155
  "size": 28400,
156
156
  "path": "../public/assets/geist-latin-wght-normal-Dm3htQBi.woff2"
157
157
  },
158
- "/assets/index-BTiEWEax.js": {
158
+ "/assets/index-Bbz3abmO.js": {
159
159
  "type": "text/javascript; charset=utf-8",
160
- "etag": '"3e84-38WujmF47lKl/HRlyRXIJSej2TA"',
161
- "mtime": "2026-05-15T19:28:44.681Z",
162
- "size": 16004,
163
- "path": "../public/assets/index-BTiEWEax.js"
160
+ "etag": '"a7e0-qNOlHe/X846nRR5FptLq+Z5OK64"',
161
+ "mtime": "2026-05-16T06:33:37.788Z",
162
+ "size": 42976,
163
+ "path": "../public/assets/index-Bbz3abmO.js"
164
164
  },
165
- "/assets/index-Bfadg8tB.js": {
165
+ "/assets/index-CWUaRwcE.js": {
166
166
  "type": "text/javascript; charset=utf-8",
167
- "etag": '"184e-vwr7iRLngB2pvKR1hnWpYtCeXLY"',
168
- "mtime": "2026-05-15T19:28:44.681Z",
169
- "size": 6222,
170
- "path": "../public/assets/index-Bfadg8tB.js"
167
+ "etag": '"24f9-lfJ8C//0U/hYNrgb6rnqWuWpjT4"',
168
+ "mtime": "2026-05-16T06:33:37.788Z",
169
+ "size": 9465,
170
+ "path": "../public/assets/index-CWUaRwcE.js"
171
171
  },
172
- "/assets/index-C0ivmMuU.js": {
172
+ "/assets/index-CinLq3cd.js": {
173
173
  "type": "text/javascript; charset=utf-8",
174
- "etag": '"2d07-i2VAsA+T6OY/Wvx65NzZSGvihdA"',
175
- "mtime": "2026-05-15T19:28:44.681Z",
176
- "size": 11527,
177
- "path": "../public/assets/index-C0ivmMuU.js"
174
+ "etag": '"3e60-kiUPmTXXmB61dKKxXJz5AzW+Ytw"',
175
+ "mtime": "2026-05-16T06:33:37.788Z",
176
+ "size": 15968,
177
+ "path": "../public/assets/index-CinLq3cd.js"
178
178
  },
179
- "/assets/index-CQCxtJMS.js": {
179
+ "/assets/index-CrQs9n6q.js": {
180
180
  "type": "text/javascript; charset=utf-8",
181
- "etag": '"a652-BQEmDxUHWA3g4gdOBqUIkBHAOgc"',
182
- "mtime": "2026-05-15T19:28:44.681Z",
183
- "size": 42578,
184
- "path": "../public/assets/index-CQCxtJMS.js"
181
+ "etag": '"265b4-7aW1fKAQy8MfZgK2uqFmhfA+yNM"',
182
+ "mtime": "2026-05-16T06:33:37.788Z",
183
+ "size": 157108,
184
+ "path": "../public/assets/index-CrQs9n6q.js"
185
185
  },
186
- "/assets/index-D6B0cdTJ.js": {
186
+ "/assets/index-CtacpN3I.js": {
187
187
  "type": "text/javascript; charset=utf-8",
188
- "etag": '"244c-nQtFB5Jei+Fe/pWFsjrjtCxf/Pc"',
189
- "mtime": "2026-05-15T19:28:44.681Z",
190
- "size": 9292,
191
- "path": "../public/assets/index-D6B0cdTJ.js"
188
+ "etag": '"191b-zqUsItfaXl8qq7iS+owM1+1lbHY"',
189
+ "mtime": "2026-05-16T06:33:37.788Z",
190
+ "size": 6427,
191
+ "path": "../public/assets/index-CtacpN3I.js"
192
192
  },
193
- "/assets/index-DCT13_ZI.js": {
193
+ "/assets/index-DY7aE-9s.js": {
194
194
  "type": "text/javascript; charset=utf-8",
195
- "etag": '"265b4-D4dNw1ApSn6hXezlRgyFc2c4KHc"',
196
- "mtime": "2026-05-15T19:28:44.681Z",
197
- "size": 157108,
198
- "path": "../public/assets/index-DCT13_ZI.js"
195
+ "etag": '"2d07-y19F3R4N55tG0K/13ROWY1hCkkA"',
196
+ "mtime": "2026-05-16T06:33:37.788Z",
197
+ "size": 11527,
198
+ "path": "../public/assets/index-DY7aE-9s.js"
199
199
  },
200
- "/assets/index-KT0CxDFc.js": {
200
+ "/assets/index-DvDLadUx.js": {
201
201
  "type": "text/javascript; charset=utf-8",
202
- "etag": '"53ee-i16CbqYqK8EXk0Kn8+O3xYgqAyc"',
203
- "mtime": "2026-05-15T19:28:44.681Z",
204
- "size": 21486,
205
- "path": "../public/assets/index-KT0CxDFc.js"
202
+ "etag": '"25b-BMT94fyZ3u1fJgtcsS7sDZKhfw8"',
203
+ "mtime": "2026-05-16T06:33:37.788Z",
204
+ "size": 603,
205
+ "path": "../public/assets/index-DvDLadUx.js"
206
206
  },
207
- "/assets/index-qsvsww7-.js": {
207
+ "/assets/index-U6RcWedt.js": {
208
208
  "type": "text/javascript; charset=utf-8",
209
- "etag": '"2252-JR1OixDSKQo/JvYXNfUZrOKutTE"',
210
- "mtime": "2026-05-15T19:28:44.681Z",
211
- "size": 8786,
212
- "path": "../public/assets/index-qsvsww7-.js"
209
+ "etag": '"230b-YRWPBSYp9L6h+Ewvx+Wcmlso/Y4"',
210
+ "mtime": "2026-05-16T06:33:37.788Z",
211
+ "size": 8971,
212
+ "path": "../public/assets/index-U6RcWedt.js"
213
213
  },
214
- "/assets/index-DhCVawEl.js": {
214
+ "/assets/index-_6iFZ0fh.js": {
215
215
  "type": "text/javascript; charset=utf-8",
216
- "etag": '"25b-5mUyPaDC+N8IatBTuJJ7+xbXHYY"',
217
- "mtime": "2026-05-15T19:28:44.681Z",
218
- "size": 603,
219
- "path": "../public/assets/index-DhCVawEl.js"
216
+ "etag": '"1904-7g1ZPNCOhbPpA/T66MKE8/ygS40"',
217
+ "mtime": "2026-05-16T06:33:37.788Z",
218
+ "size": 6404,
219
+ "path": "../public/assets/index-_6iFZ0fh.js"
220
220
  },
221
- "/assets/index-zFJdOj6P.js": {
221
+ "/assets/index-enFS26SU.js": {
222
222
  "type": "text/javascript; charset=utf-8",
223
- "etag": '"191b-Q7UxbS3b72kV5v6xuA6hvc3g91M"',
224
- "mtime": "2026-05-15T19:28:44.681Z",
225
- "size": 6427,
226
- "path": "../public/assets/index-zFJdOj6P.js"
223
+ "etag": '"53ca-MvCLAjuyJXXswe7zSgQ8yt2pwck"',
224
+ "mtime": "2026-05-16T06:33:37.788Z",
225
+ "size": 21450,
226
+ "path": "../public/assets/index-enFS26SU.js"
227
227
  },
228
- "/assets/input-C_TtyOcH.js": {
228
+ "/assets/input-eNcwlDHp.js": {
229
229
  "type": "text/javascript; charset=utf-8",
230
- "etag": '"197d-K+6KpuNMpnul8ja6mabdjk/lWh0"',
231
- "mtime": "2026-05-15T19:28:44.681Z",
232
- "size": 6525,
233
- "path": "../public/assets/input-C_TtyOcH.js"
234
- },
235
- "/favicon.ico": {
236
- "type": "image/vnd.microsoft.icon",
237
- "etag": '"16b86-whSNzIq4ettmTwOPeSIamFPNU70"',
238
- "mtime": "2026-05-15T19:28:45.980Z",
239
- "size": 93062,
240
- "path": "../public/favicon.ico"
230
+ "etag": '"1101-e78f6GA83dF47i+3/vk/YyI+uAs"',
231
+ "mtime": "2026-05-16T06:33:37.788Z",
232
+ "size": 4353,
233
+ "path": "../public/assets/input-eNcwlDHp.js"
241
234
  },
242
235
  "/favicon.png": {
243
236
  "type": "image/png",
244
237
  "etag": '"51fc-nI7ucKzqH3tY+82NQSPy6oksg+o"',
245
- "mtime": "2026-05-15T19:28:45.981Z",
238
+ "mtime": "2026-05-16T06:33:38.951Z",
246
239
  "size": 20988,
247
240
  "path": "../public/favicon.png"
248
241
  },
249
242
  "/nous-logo.png": {
250
243
  "type": "image/png",
251
244
  "etag": '"51fc-nI7ucKzqH3tY+82NQSPy6oksg+o"',
252
- "mtime": "2026-05-15T19:28:45.980Z",
245
+ "mtime": "2026-05-16T06:33:38.951Z",
253
246
  "size": 20988,
254
247
  "path": "../public/nous-logo.png"
255
248
  },
256
- "/assets/index-twHXYGSY.js": {
257
- "type": "text/javascript; charset=utf-8",
258
- "etag": '"97ec5-51Fk2nclUykhyrA3pQxneGJKlOg"',
259
- "mtime": "2026-05-15T19:28:44.681Z",
260
- "size": 622277,
261
- "path": "../public/assets/index-twHXYGSY.js"
249
+ "/favicon.ico": {
250
+ "type": "image/vnd.microsoft.icon",
251
+ "etag": '"16b86-whSNzIq4ettmTwOPeSIamFPNU70"',
252
+ "mtime": "2026-05-16T06:33:38.949Z",
253
+ "size": 93062,
254
+ "path": "../public/favicon.ico"
262
255
  },
263
- "/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2": {
264
- "type": "font/woff2",
265
- "etag": '"6568-cF1iUGbboMFZ8TfnP5HiMgl9II0"',
266
- "mtime": "2026-05-15T19:28:44.680Z",
267
- "size": 25960,
268
- "path": "../public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2"
256
+ "/assets/index-DkYGodJj.js": {
257
+ "type": "text/javascript; charset=utf-8",
258
+ "etag": '"9b135-i78MHQR+allJ0UJbPXbry8KrfeA"',
259
+ "mtime": "2026-05-16T06:33:37.789Z",
260
+ "size": 635189,
261
+ "path": "../public/assets/index-DkYGodJj.js"
269
262
  },
270
263
  "/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2": {
271
264
  "type": "font/woff2",
272
265
  "etag": '"493c-n3Oy9D6jvzfMjpClqox+Zo7ERQQ"',
273
- "mtime": "2026-05-15T19:28:44.679Z",
266
+ "mtime": "2026-05-16T06:33:37.788Z",
274
267
  "size": 18748,
275
268
  "path": "../public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2"
276
269
  },
277
- "/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2": {
270
+ "/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2": {
278
271
  "type": "font/woff2",
279
- "etag": '"2be0-BP5iTzJeB8nLqYAgKpWNi5o1Zm8"',
280
- "mtime": "2026-05-15T19:28:44.680Z",
281
- "size": 11232,
282
- "path": "../public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2"
272
+ "etag": '"6568-cF1iUGbboMFZ8TfnP5HiMgl9II0"',
273
+ "mtime": "2026-05-16T06:33:37.788Z",
274
+ "size": 25960,
275
+ "path": "../public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2"
283
276
  },
284
277
  "/assets/inter-greek-wght-normal-CkhJZR-_.woff2": {
285
278
  "type": "font/woff2",
286
279
  "etag": '"4a34-xor/hj4YNqI52zFecXnUbzQ4Xs4"',
287
- "mtime": "2026-05-15T19:28:44.680Z",
280
+ "mtime": "2026-05-16T06:33:37.788Z",
288
281
  "size": 18996,
289
282
  "path": "../public/assets/inter-greek-wght-normal-CkhJZR-_.woff2"
290
283
  },
284
+ "/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2": {
285
+ "type": "font/woff2",
286
+ "etag": '"2be0-BP5iTzJeB8nLqYAgKpWNi5o1Zm8"',
287
+ "mtime": "2026-05-16T06:33:37.788Z",
288
+ "size": 11232,
289
+ "path": "../public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2"
290
+ },
291
291
  "/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2": {
292
292
  "type": "font/woff2",
293
293
  "etag": '"14c4c-zz61D7IQFMB9QxHvTAOk/Vh4ibQ"',
294
- "mtime": "2026-05-15T19:28:44.681Z",
294
+ "mtime": "2026-05-16T06:33:37.788Z",
295
295
  "size": 85068,
296
296
  "path": "../public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2"
297
297
  },
298
298
  "/assets/inter-latin-wght-normal-Dx4kXJAl.woff2": {
299
299
  "type": "font/woff2",
300
300
  "etag": '"bc80-8R1ym7Ck2DUNLqPQ/AYs9u8tUpg"',
301
- "mtime": "2026-05-15T19:28:44.680Z",
301
+ "mtime": "2026-05-16T06:33:37.788Z",
302
302
  "size": 48256,
303
303
  "path": "../public/assets/inter-latin-wght-normal-Dx4kXJAl.woff2"
304
304
  },
305
305
  "/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2": {
306
306
  "type": "font/woff2",
307
307
  "etag": '"280c-nBythjoDQ0+5wVAendJ6wU7Xz2M"',
308
- "mtime": "2026-05-15T19:28:44.680Z",
308
+ "mtime": "2026-05-16T06:33:37.788Z",
309
309
  "size": 10252,
310
310
  "path": "../public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2"
311
311
  },
312
- "/assets/queries-DuZAFrOY.js": {
312
+ "/assets/queries-iHRgZzw2.js": {
313
313
  "type": "text/javascript; charset=utf-8",
314
- "etag": '"379-DvBKmyFcJJv3v2rb6G1LbKPCI94"',
315
- "mtime": "2026-05-15T19:28:44.681Z",
316
- "size": 889,
317
- "path": "../public/assets/queries-DuZAFrOY.js"
318
- },
319
- "/assets/styles-Bc7sFPhq.css": {
320
- "type": "text/css; charset=utf-8",
321
- "etag": '"1cea0-OnbCNY/n3ITOuDnrLGoOOOqHa0Q"',
322
- "mtime": "2026-05-15T19:28:44.680Z",
323
- "size": 118432,
324
- "path": "../public/assets/styles-Bc7sFPhq.css"
314
+ "etag": '"350-fxrAJt01r+CvMCb0vzvhuGI3J3Y"',
315
+ "mtime": "2026-05-16T06:33:37.788Z",
316
+ "size": 848,
317
+ "path": "../public/assets/queries-iHRgZzw2.js"
325
318
  },
326
- "/assets/switch-BKlJnOab.js": {
319
+ "/assets/switch-B1DcZLwL.js": {
327
320
  "type": "text/javascript; charset=utf-8",
328
- "etag": '"2c1-gbX3nD7xq/UHVHfWg2qZzfGSZgE"',
329
- "mtime": "2026-05-15T19:28:44.681Z",
321
+ "etag": '"2c1-yeMhOpfHD6TISpBxZW2gDAQD96M"',
322
+ "mtime": "2026-05-16T06:33:37.788Z",
330
323
  "size": 705,
331
- "path": "../public/assets/switch-BKlJnOab.js"
324
+ "path": "../public/assets/switch-B1DcZLwL.js"
332
325
  },
333
- "/assets/syntax-highlighter-BuOqgzbp.js": {
334
- "type": "text/javascript; charset=utf-8",
335
- "etag": '"13641-cgax6yH9RqVoPil0ptjTGUqt+Ks"',
336
- "mtime": "2026-05-15T19:28:44.681Z",
337
- "size": 79425,
338
- "path": "../public/assets/syntax-highlighter-BuOqgzbp.js"
326
+ "/assets/styles-KcflDlA_.css": {
327
+ "type": "text/css; charset=utf-8",
328
+ "etag": '"1d919-iiR5k/SfMPSpRyBNYdwOfZ0huCE"',
329
+ "mtime": "2026-05-16T06:33:37.788Z",
330
+ "size": 121113,
331
+ "path": "../public/assets/styles-KcflDlA_.css"
339
332
  },
340
- "/assets/textarea-a9VUYAmJ.js": {
333
+ "/assets/textarea-Di_syYTS.js": {
341
334
  "type": "text/javascript; charset=utf-8",
342
- "etag": '"443-bOibehCGss0hSf4anht/RAZn/iM"',
343
- "mtime": "2026-05-15T19:28:44.681Z",
335
+ "etag": '"443-UERjnMZaSGHVd6oN+ACi9M+xBYE"',
336
+ "mtime": "2026-05-16T06:33:37.788Z",
344
337
  "size": 1091,
345
- "path": "../public/assets/textarea-a9VUYAmJ.js"
338
+ "path": "../public/assets/textarea-Di_syYTS.js"
346
339
  },
347
- "/assets/useQuery-ByTdbkfi.js": {
340
+ "/assets/syntax-highlighter-DWPF-A_h.js": {
348
341
  "type": "text/javascript; charset=utf-8",
349
- "etag": '"2278-iZTJSezUX841dEa+S8dwasBf/0g"',
350
- "mtime": "2026-05-15T19:28:44.681Z",
351
- "size": 8824,
352
- "path": "../public/assets/useQuery-ByTdbkfi.js"
342
+ "etag": '"13640-KlNCPkTaW+wSMWRa3YON+7PAZYY"',
343
+ "mtime": "2026-05-16T06:33:37.788Z",
344
+ "size": 79424,
345
+ "path": "../public/assets/syntax-highlighter-DWPF-A_h.js"
353
346
  }
354
347
  };
355
348
  function readAsset(id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hermium",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Hermium CLI — self-hosted AI chat dashboard for Hermes Agent",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +0,0 @@
1
- import{c as I,r as l,j as e,b as u,E as z,p as P,F as J,G as L,B as y,I as K,H as A,g as D}from"./index-twHXYGSY.js";import{u as E}from"./useQuery-ByTdbkfi.js";import{u as C,I as _}from"./input-C_TtyOcH.js";import{I as Q,T as B,a as F,b as H}from"./textarea-a9VUYAmJ.js";import{I as W}from"./IconRefresh-CCXMrUxO.js";import{I as U}from"./IconLoader2-DkEhzUxZ.js";const O=[["path",{d:"M4 7a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12",key:"svg-0"}],["path",{d:"M16 3v4",key:"svg-1"}],["path",{d:"M8 3v4",key:"svg-2"}],["path",{d:"M4 11h16",key:"svg-3"}],["path",{d:"M11 15h1",key:"svg-4"}],["path",{d:"M12 15v3",key:"svg-5"}]],G=I("outline","calendar","Calendar",O);const V=[["path",{d:"M7 4v16l13 -8l-13 -8",key:"svg-0"}]],X=I("outline","player-play","PlayerPlay",V);const Y=[["path",{d:"M7 6a7.75 7.75 0 1 0 10 0",key:"svg-0"}],["path",{d:"M12 4l0 8",key:"svg-1"}]],Z=I("outline","power","Power",Y),T=l.createContext(null);function ee(){const t=l.useContext(T);if(!t)throw new Error("Dialog components must be used within <Dialog>");return t}function te({open:t,onOpenChange:s,children:o}){const a=l.useCallback(r=>s(r),[s]);return l.useEffect(()=>{if(!t)return;const r=d=>{d.key==="Escape"&&a(!1)};return document.addEventListener("keydown",r),()=>document.removeEventListener("keydown",r)},[t,a]),t?e.jsxs(T.Provider,{value:{open:t,setOpen:a},children:[e.jsx("div",{className:"fixed inset-0 z-50 bg-black/40 backdrop-blur-sm",onClick:()=>a(!1)}),e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:e.jsx("div",{className:"relative w-full max-w-lg rounded-xl border border-border bg-card shadow-xl",onClick:r=>r.stopPropagation(),children:o})})]}):null}function se({children:t,className:s}){return ee(),e.jsx("div",{className:u("p-5",s),children:t})}function re({children:t,className:s}){return e.jsx("div",{className:u("mb-4",s),children:t})}function ne({children:t,className:s}){return e.jsx("h2",{className:u("text-base font-semibold",s),children:t})}function oe({children:t,className:s}){return e.jsx("div",{className:u("flex items-center justify-end gap-2 mt-4",s),children:t})}function v(t){return t.job_id||t.id||""}function ae(t){return t.name||v(t)||"Untitled"}function R(t){const s=t.trim().split(/\s+/);if(s.length<2)return t;const o=parseInt(s[0],10),a=parseInt(s[1],10);if(isNaN(o)||isNaN(a))return t;if(s[1]==="*")return`At minute ${o} past every hour`;const r=new Date(0,0,0,a,o).toLocaleTimeString([],{hour:"numeric",minute:"2-digit",hour12:!0});if(s.length>=5){const d=s.slice(2,5).join(" ");if(d==="* * 1-5")return`${r} weekdays`;if(d==="* * 0,6")return`${r} weekends`}return`${r} daily`}function q(t){if(!t)return"—";if(typeof t=="string")return R(t);const s=t.display||t.expr||JSON.stringify(t);return R(s)}function ie(t){return t<1024?`${t}B`:t<1024*1024?`${(t/1024).toFixed(1)}KB`:`${(t/1024/1024).toFixed(1)}MB`}function le(t){const s=new Date(t),o=Date.now()-s.getTime(),a=Math.floor(o/6e4);if(a<1)return"just now";if(a<60)return`${a}m ago`;const r=Math.floor(a/60);return r<24?`${r}h ago`:`${Math.floor(r/24)}d ago`}function de(t){return new Date(t).toLocaleString(void 0,{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}function ce(){return E({queryKey:["cron","jobs"],queryFn:()=>D("/api/cron-history/jobs"),refetchInterval:3e4})}function ue(t){return E({queryKey:["cron","runs",t],queryFn:()=>D("/api/cron-history"),refetchInterval:15e3})}function me(t,s,o){if(o==="hourly")return`${s} * * * *`;const a=`${s} ${t}`;return o==="weekdays"?`${a} * * 1-5`:o==="weekends"?`${a} * * 0,6`:`${a} * * *`}function xe(t,s,o){return o==="hourly"?`At minute ${s} past every hour`:`Runs ${new Date(0,0,0,t,s).toLocaleTimeString([],{hour:"numeric",minute:"2-digit",hour12:!0})} ${o==="weekdays"?"on weekdays":o==="weekends"?"on weekends":"daily"}`}const he=[{label:"Every hour",dayMode:"hourly",hour:0,minute:0},{label:"Daily 9AM",dayMode:"daily",hour:9,minute:0},{label:"Daily noon",dayMode:"daily",hour:12,minute:0},{label:"Daily 6PM",dayMode:"daily",hour:18,minute:0},{label:"Weekdays 9AM",dayMode:"weekdays",hour:9,minute:0},{label:"Weekdays noon",dayMode:"weekdays",hour:12,minute:0}];function fe({value:t,onChange:s}){const[o,a]=l.useState("daily"),[r,d]=l.useState(9),[c,h]=l.useState(0),[f,p]=l.useState(!1),[g,b]=l.useState(t||""),x=l.useMemo(()=>{if(!t)return null;const i=t.trim().split(/\s+/);if(i.length<2)return null;const m=parseInt(i[0],10),j=parseInt(i[1],10);return isNaN(m)||isNaN(j)?null:{hour:j,minute:m}},[]),w=l.useRef(!1);l.useEffect(()=>{if(w.current||!x)return;w.current=!0,d(x.hour),h(x.minute);const i=t.trim().split(/\s+/);if(i.length>=5){const m=i.slice(2,5).join(" ");m==="* * 1-5"?a("weekdays"):m==="* * 0,6"?a("weekends"):(m==="* * *"||i[2]==="*")&&a("daily"),i[1]==="*"&&a("hourly")}b(t)},[x,t]);const N=l.useMemo(()=>me(r,c,o),[r,c,o]),S=l.useMemo(()=>xe(r,c,o),[r,c,o]),M=i=>{const[m,j]=i.target.value.split(":").map(Number);isNaN(m)||d(m),isNaN(j)||h(j),o==="hourly"&&a("daily")},$=i=>{d(i.hour),h(i.minute),a(i.dayMode)},n=i=>{b(i.target.value)},k=f?g:N;return l.useEffect(()=>{s(k)},[k]),e.jsxs("div",{className:"space-y-3",children:[e.jsx("label",{className:"text-xs font-medium text-muted-foreground mb-1 block",children:"Schedule"}),f?e.jsxs("div",{className:"space-y-2",children:[e.jsx(_,{value:g,onChange:n,placeholder:"0 9 * * *",className:"h-9 text-sm font-mono"}),e.jsxs("p",{className:"text-[10px] text-muted-foreground flex items-center gap-1.5",children:["minute hour day month weekday",e.jsx("button",{type:"button",onClick:()=>p(!1),className:"underline underline-offset-2 hover:text-foreground ml-auto transition-colors",children:"Use time picker"})]})]}):e.jsxs(e.Fragment,{children:[e.jsx("input",{type:"time",value:`${String(r).padStart(2,"0")}:${String(c).padStart(2,"0")}`,onChange:M,className:"flex h-10 w-full rounded-lg border border-input bg-background px-3 py-2 text-sm shadow-xs focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50"}),e.jsx("div",{className:"flex rounded-lg border border-border overflow-hidden text-xs font-medium",children:[{value:"daily",label:"Every day"},{value:"weekdays",label:"Weekdays"},{value:"weekends",label:"Weekends"}].map((i,m)=>e.jsx("button",{type:"button",onClick:()=>a(i.value),className:u("flex-1 px-3 py-1.5 transition-colors text-center",m>0&&"border-l border-border",o===i.value?"bg-primary text-primary-foreground font-semibold":"bg-background text-muted-foreground hover:bg-muted"),children:i.label},i.value))}),e.jsx("div",{className:"flex flex-wrap gap-1.5",children:he.map(i=>e.jsx("button",{type:"button",onClick:()=>$(i),className:u("px-2.5 py-1 rounded-md text-[11px] font-medium transition-colors",r===i.hour&&c===i.minute&&o===i.dayMode?"bg-emerald-500/10 text-emerald-600 border border-emerald-500/20 shadow-xs":"bg-muted/50 text-muted-foreground border border-border/50 hover:bg-muted hover:text-foreground"),children:i.label},i.label))}),e.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1.5",children:[e.jsx(F,{className:"h-3.5 w-3.5"}),S]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("code",{className:"text-[11px] text-muted-foreground/60 font-mono",children:N}),e.jsx("button",{type:"button",onClick:()=>{b(N),p(!0)},className:"text-[10px] text-muted-foreground/40 hover:text-muted-foreground underline underline-offset-2 transition-colors",children:"Raw cron"})]})]})]})}function pe({status:t}){if(!t)return e.jsx("div",{className:"h-2 w-2 rounded-full bg-muted-foreground/30"});const s=t==="ok"||t==="success"||t==="completed";return e.jsx("div",{className:u("h-2 w-2 rounded-full",s?"bg-emerald-500":"bg-red-500")})}function ge({job:t,onEdit:s,onDelete:o,onToggle:a}){return e.jsxs("div",{className:u("rounded-xl border bg-card p-5 transition-colors group relative",t.enabled!==!1?"border-border hover:border-emerald-500/30":"border-border opacity-60"),children:[e.jsxs("div",{className:"absolute top-3 right-3 flex items-center gap-0.5 opacity-0 group-hover:opacity-100 transition-opacity",children:[e.jsx(y,{variant:"ghost",size:"icon-sm",className:"h-7 w-7",onClick:r=>{r.stopPropagation(),a()},title:t.enabled!==!1?"Disable":"Enable",children:e.jsx(Z,{className:u("h-3.5 w-3.5",t.enabled!==!1?"text-emerald-500":"text-muted-foreground")})}),e.jsx(y,{variant:"ghost",size:"icon-sm",className:"h-7 w-7",onClick:r=>{r.stopPropagation(),s()},title:"Edit",children:e.jsx(K,{className:"h-3.5 w-3.5 text-muted-foreground"})}),e.jsx(y,{variant:"ghost",size:"icon-sm",className:"h-7 w-7 hover:text-red-500",onClick:r=>{r.stopPropagation(),o()},title:"Delete",children:e.jsx(A,{className:"h-3.5 w-3.5 text-muted-foreground"})})]}),e.jsxs("div",{className:"flex items-start justify-between gap-3 mb-3",children:[e.jsxs("div",{className:"flex items-center gap-2.5 min-w-0",children:[e.jsx("div",{className:u("h-8 w-8 rounded-lg flex items-center justify-center shrink-0",t.enabled!==!1?"bg-emerald-500/10 text-emerald-600":"bg-muted text-muted-foreground"),children:e.jsx(F,{className:"h-4 w-4"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("h3",{className:"text-sm font-semibold truncate pr-20",children:ae(t)}),e.jsx("p",{className:"text-[11px] text-muted-foreground font-mono",children:q(t.schedule)})]})]}),e.jsx(pe,{status:t.last_status})]}),t.prompt&&e.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed line-clamp-2 mb-3",children:t.prompt}),e.jsxs("div",{className:"flex items-center gap-4 text-[11px] text-muted-foreground",children:[t.run_count!=null&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(X,{className:"h-3 w-3"}),t.run_count," runs"]}),t.next_run_at&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(G,{className:"h-3 w-3"}),"Next: ",de(t.next_run_at)]}),t.last_run_at&&e.jsx("span",{children:le(t.last_run_at)})]})]})}function be({run:t}){const[s,o]=l.useState(!1),a=E({queryKey:["cron","run",t.jobId,t.fileName],queryFn:()=>D(`/api/cron-history/${encodeURIComponent(t.jobId)}/${encodeURIComponent(t.fileName)}`),enabled:s});return e.jsxs("div",{className:"border-b border-border/50 last:border-b-0",children:[e.jsxs("button",{onClick:()=>o(!s),className:"flex w-full items-center gap-3 px-4 py-2.5 text-left hover:bg-muted/30 transition-colors group",children:[e.jsx(H,{className:u("h-3.5 w-3.5 shrink-0 text-muted-foreground transition-transform",s&&"rotate-90")}),e.jsx("span",{className:"text-xs font-medium text-foreground/80 min-w-[80px]",children:t.jobId}),e.jsx("span",{className:"text-xs text-muted-foreground flex-1",children:t.runTime}),e.jsx("span",{className:"text-[10px] text-muted-foreground/60 font-mono shrink-0",children:ie(t.size)})]}),s&&e.jsx("div",{className:"px-4 pb-4 pl-10",children:a.isLoading?e.jsxs("div",{className:"flex items-center gap-2 py-3 text-muted-foreground text-xs",children:[e.jsx(U,{className:"h-3.5 w-3.5 animate-spin"}),"Loading..."]}):e.jsx("pre",{className:"text-[12px] font-mono leading-relaxed whitespace-pre-wrap text-foreground/80 bg-muted/30 rounded-lg p-3 border border-border/50 max-h-[400px] overflow-auto",children:a.data?.content||"No output"})})]})}function ye(){const t=z(),s=ce(),o=ue(null),[a,r]=l.useState(!1),[d,c]=l.useState(null),[h,f]=l.useState(""),[p,g]=l.useState(""),[b,x]=l.useState(""),w=l.useCallback(()=>{s.refetch(),o.refetch()},[s,o]),N=C({mutationFn:n=>P("/api/cron-history/jobs",n),onSuccess:()=>{t.invalidateQueries({queryKey:["cron","jobs"]}),r(!1)}}),S=C({mutationFn:({id:n,data:k})=>J(`/api/cron-history/jobs/${n}`,k),onSuccess:()=>{t.invalidateQueries({queryKey:["cron","jobs"]}),c(null),r(!1)}}),M=C({mutationFn:n=>L(`/api/cron-history/jobs/${n}`),onSuccess:()=>t.invalidateQueries({queryKey:["cron","jobs"]})}),$=C({mutationFn:n=>P(`/api/cron-history/jobs/${n}/toggle`,{}),onSuccess:()=>t.invalidateQueries({queryKey:["cron","jobs"]})});return e.jsxs("div",{className:"flex flex-1 flex-col overflow-hidden",children:[e.jsx("div",{className:"shrink-0 border-b px-6 py-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-lg font-semibold",children:"Automations"}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Scheduled cron jobs managed by the Hermes agent"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(y,{size:"sm",variant:"outline",className:"gap-1.5",onClick:()=>{c(null),f(""),g(""),x(""),r(!0)},children:[e.jsx(Q,{className:"h-4 w-4"}),"New Job"]}),e.jsx("button",{onClick:w,className:"flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors",children:e.jsx(W,{className:u("h-4 w-4",(s.isFetching||o.isFetching)&&"animate-spin")})})]})]})}),e.jsxs("div",{className:"flex-1 overflow-y-auto",children:[e.jsx(te,{open:a,onOpenChange:n=>{n||(r(!1),c(null))},children:e.jsxs(se,{children:[e.jsx(re,{children:e.jsx(ne,{children:d?"Edit Cron Job":"New Cron Job"})}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-muted-foreground mb-1 block",children:"Name"}),e.jsx(_,{value:h,onChange:n=>f(n.target.value),placeholder:"e.g. Daily weather report",className:"h-9 text-sm"})]}),e.jsx(fe,{value:p,onChange:g}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-medium text-muted-foreground mb-1 block",children:"Prompt"}),e.jsx(B,{value:b,onChange:n=>x(n.target.value),placeholder:"What should the agent do when this job runs?",className:"min-h-[80px] text-sm",rows:4})]})]}),e.jsxs(oe,{children:[e.jsx(y,{size:"sm",variant:"ghost",onClick:()=>{r(!1),c(null)},children:"Cancel"}),e.jsx(y,{size:"sm",disabled:!h.trim()||!p.trim(),onClick:()=>{const n={name:h.trim(),schedule:p.trim(),prompt:b.trim()};d?S.mutate({id:v(d),data:n}):N.mutate(n)},children:d?"Save Changes":"Create Job"})]})]})}),e.jsxs("div",{className:"px-6 pt-5 pb-2",children:[e.jsx("h2",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-3",children:"Jobs"}),s.isLoading?e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[1,2,3].map(n=>e.jsx("div",{className:"rounded-xl border border-border bg-card h-36 animate-pulse",children:e.jsxs("div",{className:"p-5 space-y-3",children:[e.jsx("div",{className:"h-4 bg-muted rounded w-1/2"}),e.jsx("div",{className:"h-3 bg-muted rounded w-3/4"}),e.jsx("div",{className:"h-3 bg-muted rounded w-full"})]})},n))}):s.data?.jobs?.length?e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:s.data.jobs.map(n=>e.jsx(ge,{job:n,onEdit:()=>{c(n),f(n.name||""),g(q(n.schedule)),x(n.prompt||""),r(!0)},onDelete:()=>M.mutate(v(n)),onToggle:()=>$.mutate(v(n))},v(n)))}):e.jsxs("div",{className:"rounded-xl border border-dashed border-border bg-muted/20 py-12 text-center",children:[e.jsx(F,{className:"h-8 w-8 text-muted-foreground/40 mx-auto mb-3"}),e.jsx("p",{className:"text-sm font-medium text-foreground",children:"No cron jobs yet"}),e.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Click ",e.jsx("span",{className:"font-medium",children:"New Job"})," to create one"]})]})]}),e.jsxs("div",{className:"px-6 pb-6",children:[e.jsx("h2",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-3 mt-6",children:"Run History"}),o.isLoading?e.jsx("div",{className:"space-y-1",children:[1,2,3,4,5].map(n=>e.jsx("div",{className:"h-10 bg-muted/30 rounded animate-pulse"},n))}):o.data?.runs?.length?e.jsx("div",{className:"rounded-xl border border-border bg-card overflow-hidden",children:o.data.runs.slice(0,50).map(n=>e.jsx(be,{run:n},`${n.jobId}/${n.fileName}`))}):e.jsx("div",{className:"rounded-xl border border-dashed border-border bg-muted/20 py-10 text-center",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:"No runs yet"})})]})]})]})}const Se=ye;export{Se as component};
@@ -1 +0,0 @@
1
- import{c as i,j as e,n as d,o as c,q as l,s as m,t as x,v as u,w as p,x as g,y as h,R as f}from"./index-twHXYGSY.js";const b=[["path",{d:"M3 5a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-10",key:"svg-0"}],["path",{d:"M7 20h10",key:"svg-1"}],["path",{d:"M9 16v4",key:"svg-2"}],["path",{d:"M15 16v4",key:"svg-3"}]],j=i("outline","device-desktop","DeviceDesktop",b),n={profile:{icon:x,title:"Profile",description:"Your name, email, and avatar",content:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsx("label",{className:"text-sm font-medium text-foreground",children:"Display Name"}),e.jsx("input",{type:"text",defaultValue:"User",className:"w-full rounded-lg border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground/60 outline-none focus:border-primary/50 transition-colors"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx("label",{className:"text-sm font-medium text-foreground",children:"Email"}),e.jsx("input",{type:"email",defaultValue:"user@hermium.dev",className:"w-full rounded-lg border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground/60 outline-none focus:border-primary/50 transition-colors"})]})]})},appearance:{icon:m,title:"Appearance",description:"Theme, font size, and density",get content(){return e.jsx(y,{})}},notifications:{icon:l,title:"Notifications",description:"Push and in-app notifications",content:e.jsx("div",{className:"space-y-3",children:["Desktop notifications","Sound on new message","Show preview in notification"].map(s=>e.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[e.jsx("input",{type:"checkbox",defaultChecked:!0,className:"rounded border-border accent-primary"}),e.jsx("span",{className:"text-sm text-foreground",children:s})]},s))})},"api-keys":{icon:c,title:"API Keys",description:"Manage providers and keys",content:e.jsxs("div",{className:"space-y-3",children:[[{provider:"OpenAI",key:"sk-••••••••••••••••",status:"active"},{provider:"Anthropic",key:"sk-ant-•••••••••••",status:"active"},{provider:"Groq",key:"gsk-••••••••••••••••",status:"active"}].map(s=>e.jsxs("div",{className:"flex items-center justify-between rounded-lg border border-border px-3 py-2.5",children:[e.jsxs("div",{className:"flex items-center gap-2.5",children:[e.jsx(u,{className:"size-4 text-muted-foreground"}),e.jsxs("div",{children:[e.jsx("span",{className:"text-sm font-medium text-foreground",children:s.provider}),e.jsx("span",{className:"text-xs text-muted-foreground ml-2",children:s.key})]})]}),e.jsx("span",{className:"text-[10px] font-medium text-green-600 dark:text-green-400 uppercase tracking-wider",children:s.status})]},s.provider)),e.jsx("button",{className:"w-full rounded-lg border border-dashed border-border px-3 py-2 text-sm text-muted-foreground hover:text-foreground hover:border-foreground/30 transition-colors",children:"+ Add API Key"})]})},language:{icon:d,title:"Language & Region",description:"Language, timezone, and format preferences",content:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsx("label",{className:"text-sm font-medium text-foreground",children:"Language"}),e.jsxs("select",{className:"w-full rounded-lg border border-border bg-background px-3 py-2 text-sm text-foreground outline-none focus:border-primary/50 transition-colors",children:[e.jsx("option",{children:"English"}),e.jsx("option",{children:"Spanish"}),e.jsx("option",{children:"French"}),e.jsx("option",{children:"German"}),e.jsx("option",{children:"Japanese"})]})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx("label",{className:"text-sm font-medium text-foreground",children:"Timezone"}),e.jsxs("select",{className:"w-full rounded-lg border border-border bg-background px-3 py-2 text-sm text-foreground outline-none focus:border-primary/50 transition-colors",children:[e.jsx("option",{children:"UTC (Coordinated Universal Time)"}),e.jsx("option",{children:"America/New_York"}),e.jsx("option",{children:"America/Los_Angeles"}),e.jsx("option",{children:"Europe/London"}),e.jsx("option",{children:"Asia/Tokyo"})]})]})]})}};function y(){const{resolvedTheme:s,setTheme:t}=p();return e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsx("label",{className:"text-sm font-medium text-foreground",children:"Theme"}),e.jsx("div",{className:"grid grid-cols-3 gap-2",children:[{id:"light",icon:g,label:"Light"},{id:"dark",icon:h,label:"Dark"},{id:"system",icon:j,label:"System"}].map(r=>{const o=r.id===(s==="dark"?"dark":r.id==="system"?"system":"light"),a=r.icon;return e.jsxs("button",{onClick:()=>t(r.id),className:v("flex flex-col items-center gap-1.5 rounded-lg border px-3 py-2.5 text-xs transition-colors",o?"border-primary/50 bg-primary/5 text-foreground":"border-border text-muted-foreground hover:border-foreground/20 hover:text-foreground"),children:[e.jsx(a,{className:"size-5"}),r.label]},r.id)})})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx("label",{className:"text-sm font-medium text-foreground",children:"Font Size"}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"text-xs text-muted-foreground",children:"A"}),e.jsx("input",{type:"range",min:"12",max:"20",defaultValue:"14",className:"flex-1 accent-primary"}),e.jsx("span",{className:"text-lg text-muted-foreground",children:"A"})]})]})]})}function v(...s){return s.filter(Boolean).join(" ")}function N({section:s}){const t=s&&s in n?s:"profile",r=n[t];return e.jsx("div",{className:"flex-1 overflow-y-auto",children:e.jsxs("div",{className:"mx-auto max-w-2xl px-8 py-8",children:[e.jsxs("div",{className:"mb-6",children:[e.jsx("h2",{className:"text-lg font-semibold text-foreground",children:r.title}),e.jsx("p",{className:"text-sm text-muted-foreground mt-0.5",children:r.description})]}),e.jsx("div",{className:"rounded-xl border border-border bg-card p-6",children:r.content})]})})}function w(){const{section:s}=f.useSearch();return e.jsx(N,{section:s})}export{w as component};