thursday-agent 0.1.1 → 0.1.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 (101) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/prerender-manifest.json +3 -3
  4. package/.next/server/app/_global-error.html +1 -1
  5. package/.next/server/app/_global-error.rsc +1 -1
  6. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  7. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  9. package/.next/server/app/_not-found.html +1 -1
  10. package/.next/server/app/_not-found.rsc +1 -1
  11. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  12. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  13. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  14. package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +1 -1
  15. package/.next/server/app/artifact/[...path]/page.js.nft.json +1 -1
  16. package/.next/server/app/artifact/[...path]/page_client-reference-manifest.js +1 -1
  17. package/.next/server/app/page/server-reference-manifest.json +41 -41
  18. package/.next/server/app/page.js.nft.json +1 -1
  19. package/.next/server/app/page_client-reference-manifest.js +1 -1
  20. package/.next/server/chunks/ssr/{[root-of-the-server]__1e-f3gy._.js → [root-of-the-server]__01id-v3._.js} +2 -2
  21. package/.next/server/chunks/ssr/[root-of-the-server]__0dfwvr4._.js +1 -1
  22. package/.next/server/chunks/ssr/[root-of-the-server]__1-mnhyd._.js +1 -1
  23. package/.next/server/chunks/ssr/{[root-of-the-server]__1ncajna._.js → [root-of-the-server]__185grso._.js} +2 -2
  24. package/.next/server/chunks/ssr/_077-g6s._.js +1 -1
  25. package/.next/server/chunks/ssr/_0ay6b01._.js +1 -1
  26. package/.next/server/chunks/ssr/{_1aca4j8._.js → _0j4v8of._.js} +2 -2
  27. package/.next/server/chunks/ssr/{_1m5popy._.js → _0l81bzy._.js} +2 -2
  28. package/.next/server/chunks/ssr/{_1r2_qk-._.js → _0lc_7c8._.js} +2 -2
  29. package/.next/server/chunks/ssr/_0nso8tp._.js +3 -0
  30. package/.next/server/chunks/ssr/{_1b3yex3._.js → _0q_2f2x._.js} +2 -2
  31. package/.next/server/chunks/ssr/_0sf1isi._.js +1 -1
  32. package/.next/server/chunks/ssr/{_124q1la._.js → _10uvw3l._.js} +2 -2
  33. package/.next/server/chunks/ssr/{_1hkvsg0._.js → _19_o9d-._.js} +2 -2
  34. package/.next/server/chunks/ssr/{_1dnxp2k._.js → _1dcxzqe._.js} +2 -2
  35. package/.next/server/chunks/ssr/_1e-dgz0._.js +1 -1
  36. package/.next/server/chunks/ssr/_1jbv7m1._.js +3 -0
  37. package/.next/server/chunks/ssr/features_bot_components_bot-setting_tsx_01ajft6._.js +1 -1
  38. package/.next/server/chunks/ssr/features_config_components_14jqgy4._.js +1 -1
  39. package/.next/server/chunks/ssr/features_config_components_config-setting_tsx_0xfwqdg._.js +1 -1
  40. package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +1 -1
  41. package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +1 -1
  42. package/.next/server/chunks/ssr/{node_modules_1_w_b81._.js → node_modules_00d6675._.js} +1 -1
  43. package/.next/server/chunks/ssr/{node_modules_1854ebs._.js → node_modules_043-236._.js} +1 -1
  44. package/.next/server/chunks/ssr/{node_modules_1mnmhse._.js → node_modules_06kvvuo._.js} +1 -1
  45. package/.next/server/chunks/ssr/{node_modules_17ls31t._.js → node_modules_0_fvxnt._.js} +1 -1
  46. package/.next/server/chunks/ssr/{node_modules_0eqdzva._.js → node_modules_0_j7-g4._.js} +1 -1
  47. package/.next/server/chunks/ssr/{node_modules_1yxkq1s._.js → node_modules_0bue6gy._.js} +1 -1
  48. package/.next/server/chunks/ssr/{node_modules_1kj6swe._.js → node_modules_0fbw5-u._.js} +1 -1
  49. package/.next/server/chunks/ssr/{node_modules_1euv75v._.js → node_modules_0ipn1ho._.js} +1 -1
  50. package/.next/server/chunks/ssr/{node_modules_00riwzq._.js → node_modules_0ls96je._.js} +1 -1
  51. package/.next/server/chunks/ssr/{node_modules_0i37h34._.js → node_modules_0xwx4u-._.js} +1 -1
  52. package/.next/server/chunks/ssr/{node_modules_0nq_p-o._.js → node_modules_0y2-av4._.js} +1 -1
  53. package/.next/server/chunks/ssr/{node_modules_1wsx1pg._.js → node_modules_108wd2o._.js} +1 -1
  54. package/.next/server/chunks/ssr/{node_modules_01jj5oy._.js → node_modules_13f2md6._.js} +1 -1
  55. package/.next/server/chunks/ssr/{node_modules_03f-6up._.js → node_modules_16i4o_3._.js} +1 -1
  56. package/.next/server/chunks/ssr/{node_modules_14uxpfb._.js → node_modules_1_588_4._.js} +1 -1
  57. package/.next/server/chunks/ssr/{node_modules_0sbobpz._.js → node_modules_1d-is1o._.js} +1 -1
  58. package/.next/server/chunks/ssr/{node_modules_0xe_k12._.js → node_modules_1ee8gav._.js} +1 -1
  59. package/.next/server/chunks/ssr/{node_modules_012m-mo._.js → node_modules_1hn_sd5._.js} +1 -1
  60. package/.next/server/chunks/ssr/{node_modules_0ewynyi._.js → node_modules_1jatz7w._.js} +1 -1
  61. package/.next/server/chunks/ssr/{node_modules_1bjm3ch._.js → node_modules_1k29j1j._.js} +1 -1
  62. package/.next/server/chunks/ssr/{node_modules_1y1m-q4._.js → node_modules_1nhw9qg._.js} +1 -1
  63. package/.next/server/chunks/ssr/{node_modules_1fsvm8f._.js → node_modules_1t0y5jt._.js} +1 -1
  64. package/.next/server/chunks/ssr/{node_modules_0nh2m35._.js → node_modules_1ub40gk._.js} +1 -1
  65. package/.next/server/chunks/ssr/{node_modules_17c71fz._.js → node_modules_1v0077l._.js} +1 -1
  66. package/.next/server/chunks/ssr/{node_modules_07_oxjr._.js → node_modules_1y8_3vg._.js} +1 -1
  67. package/.next/server/chunks/ssr/{node_modules_0egn4iq._.js → node_modules_20ynonm._.js} +1 -1
  68. package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1f5re6n._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_092s8nx._.js} +1 -1
  69. package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_216aa7f._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1nvexgu._.js} +1 -1
  70. package/.next/server/middleware-build-manifest.js +3 -3
  71. package/.next/server/pages/404.html +1 -1
  72. package/.next/server/pages/500.html +1 -1
  73. package/.next/server/server-reference-manifest.js +1 -1
  74. package/.next/server/server-reference-manifest.json +42 -42
  75. package/.next/static/chunks/{35uo6rtl_otbd.js → 0yysv1gzin17t.js} +1 -1
  76. package/.next/static/chunks/{0yn2yol46cj77.js → 1fr5m75pwtyic.js} +1 -1
  77. package/.next/static/chunks/{0h7pjyewk7ky-.js → 1gy3bbv7usnjo.js} +1 -1
  78. package/.next/static/chunks/{1lpdcqos7mkek.js → 1keib_gt066gc.js} +1 -1
  79. package/.next/static/chunks/{2qci2z603es_m.js → 1khakdu_iuedc.js} +1 -1
  80. package/.next/static/chunks/{2kl3n2d-4-7i5.js → 21rk8w7bda-su.js} +1 -1
  81. package/.next/static/chunks/{261871a8ot1pi.js → 247d-r95j8xs0.js} +1 -1
  82. package/.next/static/chunks/{1u5d-pvhwir9g.js → 28g42tw8tsvhd.js} +1 -1
  83. package/.next/static/chunks/{2ka9uwo_evj7a.js → 2fq_86jvq9ymq.js} +1 -1
  84. package/.next/static/chunks/{3yan6-5cvpk2o.js → 2ihkf6l2jowo9.js} +3 -3
  85. package/.next/static/chunks/{0g2n0xskvyk04.js → 2wngeetfnzxkp.js} +1 -1
  86. package/.next/static/chunks/{1rja48de93vvx.js → 3aquirz5h71da.js} +1 -1
  87. package/.next/static/chunks/{14s7e14xltx47.js → 3fqvc0cg-atq_.js} +1 -1
  88. package/.next/static/chunks/{3w7-y53xzl2ir.js → 3p4egvfjxpatb.js} +1 -1
  89. package/.next/static/chunks/3qe1w1ei-huhl.js +1 -0
  90. package/.next/static/chunks/{34eu8t79ko6lm.js → 3xxa2j56-f3nm.js} +1 -1
  91. package/.next/static/chunks/{0_6qjj4f3t3j-.js → 3y40riycdip-i.js} +1 -1
  92. package/.next/static/chunks/{2v_vqhmdl8de_.js → 45a6zbtkelph9.js} +1 -1
  93. package/README.md +24 -1
  94. package/bin/thursday.mjs +50 -2
  95. package/package.json +1 -1
  96. package/.next/server/chunks/ssr/_19eoufz._.js +0 -3
  97. package/.next/server/chunks/ssr/_1cb_5sv._.js +0 -3
  98. package/.next/static/chunks/2cgzsjzheo2m2.js +0 -1
  99. /package/.next/static/{G-9_HnysmzY_Bx9GpDYAO → X34BUd9bfdH27ripuwwBm}/_buildManifest.js +0 -0
  100. /package/.next/static/{G-9_HnysmzY_Bx9GpDYAO → X34BUd9bfdH27ripuwwBm}/_clientMiddlewareManifest.js +0 -0
  101. /package/.next/static/{G-9_HnysmzY_Bx9GpDYAO → X34BUd9bfdH27ripuwwBm}/_ssgManifest.js +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "node": {
3
- "7f79e7e732f42dc0f16bc9b5f82ed9e87bcefa837e": {
3
+ "7f0565914645e8a2c6bbe2835f0d5fd87b2a4b7c54": {
4
4
  "workers": {
5
5
  "app/page": {
6
6
  "moduleId": 873715,
@@ -11,7 +11,7 @@
11
11
  "filename": "features/config/config.action.ts",
12
12
  "exportedName": "setConfigAction"
13
13
  },
14
- "7f6c0a389e723d17d2e75bda0ac33eb274cb4e12e8": {
14
+ "7fe0e2043b00478f71de9e7017bc10df7b0af44ed7": {
15
15
  "workers": {
16
16
  "app/page": {
17
17
  "moduleId": 873715,
@@ -22,7 +22,7 @@
22
22
  "filename": "features/bot/bot.action.ts",
23
23
  "exportedName": "createSeedBotsAction"
24
24
  },
25
- "7fbb988f415acfb6ae0ecf4b9da4d6510c4331ed8f": {
25
+ "7f26ed34628aa747f4041e3b9f2728a7554015982d": {
26
26
  "workers": {
27
27
  "app/page": {
28
28
  "moduleId": 873715,
@@ -33,7 +33,7 @@
33
33
  "filename": "features/bot/bot.action.ts",
34
34
  "exportedName": "markReportedAction"
35
35
  },
36
- "7f2b62a0347bf9a35aa766fc41149b696cbf7af676": {
36
+ "7f9fe74599a3a42962491399d55e9fc8e17f39eb51": {
37
37
  "workers": {
38
38
  "app/page": {
39
39
  "moduleId": 873715,
@@ -44,7 +44,7 @@
44
44
  "filename": "features/bot/bot.action.ts",
45
45
  "exportedName": "startTaskAction"
46
46
  },
47
- "7f052a4d5cdc5c2b47d926a441b59fa063ccc51432": {
47
+ "7fc46134dc257ffb46e56975909bec673945ad7151": {
48
48
  "workers": {
49
49
  "app/artifact/[...path]/page": {
50
50
  "moduleId": 701876,
@@ -60,7 +60,7 @@
60
60
  "filename": "features/workspace/workspace.action.ts",
61
61
  "exportedName": "openFileAction"
62
62
  },
63
- "7fbc7081db6a5f8821ff485f87b3fd5a4a2f223663": {
63
+ "7f6297eba857045d97a0b713eb1ebfbc273f39ed1d": {
64
64
  "workers": {
65
65
  "app/page": {
66
66
  "moduleId": 873715,
@@ -71,7 +71,7 @@
71
71
  "filename": "features/bot/bot.action.ts",
72
72
  "exportedName": "answerTaskAction"
73
73
  },
74
- "7fe21e4e229cffa414a4ef02ed9591309ce5d04398": {
74
+ "7fc799595327176b60f83fed3c679f1a687ecca4fe": {
75
75
  "workers": {
76
76
  "app/page": {
77
77
  "moduleId": 873715,
@@ -82,7 +82,7 @@
82
82
  "filename": "features/bot/bot.action.ts",
83
83
  "exportedName": "cancelTaskAction"
84
84
  },
85
- "7fdb8473e59f512984c2436dedd58ac1bdf8f6485b": {
85
+ "7fdda987c5c6887d333c51ad9d859efeed3392ddd7": {
86
86
  "workers": {
87
87
  "app/page": {
88
88
  "moduleId": 873715,
@@ -93,7 +93,7 @@
93
93
  "filename": "features/memory/memory.action.ts",
94
94
  "exportedName": "cancelMemoryTidyAction"
95
95
  },
96
- "7f7f2e13af3c5904d3e16d58ee40cd2c13ba6e22b8": {
96
+ "7f84194f8e656799a38ecdfbe0e6e7197314915282": {
97
97
  "workers": {
98
98
  "app/page": {
99
99
  "moduleId": 873715,
@@ -104,7 +104,7 @@
104
104
  "filename": "features/memory/memory.action.ts",
105
105
  "exportedName": "runMemoryTidyAction"
106
106
  },
107
- "7f2c778d24b4691627d013873c31cb47eaa8b20aca": {
107
+ "7f89da96e453adc9271fa1c02af987e8afce58036e": {
108
108
  "workers": {
109
109
  "app/page": {
110
110
  "moduleId": 873715,
@@ -115,7 +115,7 @@
115
115
  "filename": "features/memory/memory.action.ts",
116
116
  "exportedName": "setMemoryTidyModelAction"
117
117
  },
118
- "7f7feb80df7bba657c908ec68cc4b599fe7aab5be2": {
118
+ "7ff7165bd1c214fcdae348973ca11be2ca989d01bd": {
119
119
  "workers": {
120
120
  "app/page": {
121
121
  "moduleId": 873715,
@@ -126,7 +126,7 @@
126
126
  "filename": "features/memory/memory.action.ts",
127
127
  "exportedName": "setMemoryTidyOnAction"
128
128
  },
129
- "7fb234f526a2705c8454a4b9b483b9da0c78f9a2d9": {
129
+ "7f3b058a712d28a68c87b36a2bf1cd90ab78923a76": {
130
130
  "workers": {
131
131
  "app/page": {
132
132
  "moduleId": 873715,
@@ -137,7 +137,7 @@
137
137
  "filename": "features/memory/memory.action.ts",
138
138
  "exportedName": "addFactsAction"
139
139
  },
140
- "7f989c75ae41c170384f7160367c12a5d9af4f39f5": {
140
+ "7fac25c49e4b728e331504596728000b9c0a702269": {
141
141
  "workers": {
142
142
  "app/page": {
143
143
  "moduleId": 873715,
@@ -148,7 +148,7 @@
148
148
  "filename": "features/memory/memory.action.ts",
149
149
  "exportedName": "createNoteAction"
150
150
  },
151
- "7f50ff066339a3eaf2c399f62b22edfb2b78622d58": {
151
+ "7f8a9265b964646e2350a6e7c0faf9ace9939aa932": {
152
152
  "workers": {
153
153
  "app/page": {
154
154
  "moduleId": 873715,
@@ -159,7 +159,7 @@
159
159
  "filename": "features/memory/memory.action.ts",
160
160
  "exportedName": "deleteNoteAction"
161
161
  },
162
- "7f9a83a01475d6a4a25c082cea0a383102a9af21c0": {
162
+ "7f8138d0370b6085de577c575484252df73c3fb9b5": {
163
163
  "workers": {
164
164
  "app/page": {
165
165
  "moduleId": 873715,
@@ -170,7 +170,7 @@
170
170
  "filename": "features/memory/memory.action.ts",
171
171
  "exportedName": "forgetFactAction"
172
172
  },
173
- "7f852bbc8f2e14023c818c5352c70be4cdb11cce20": {
173
+ "7fc08c711a4e4fa288c5ceaa27294b1e39b8660ce4": {
174
174
  "workers": {
175
175
  "app/page": {
176
176
  "moduleId": 873715,
@@ -181,7 +181,7 @@
181
181
  "filename": "features/memory/memory.action.ts",
182
182
  "exportedName": "reviseFactAction"
183
183
  },
184
- "7f0d6a8355a47ad8c6c37561eeef5994b983fcbd70": {
184
+ "7ff8642cc5d4e9011d92957244e6812727add309b4": {
185
185
  "workers": {
186
186
  "app/page": {
187
187
  "moduleId": 873715,
@@ -192,7 +192,7 @@
192
192
  "filename": "features/memory/memory.action.ts",
193
193
  "exportedName": "setFactAlwaysLoadAction"
194
194
  },
195
- "7f2ba2a3fe55524b31fb2d312d4ec369d63c282ed9": {
195
+ "7f1d70ca6d452e70a4bf056025a15917c39531eb09": {
196
196
  "workers": {
197
197
  "app/page": {
198
198
  "moduleId": 873715,
@@ -203,7 +203,7 @@
203
203
  "filename": "features/memory/memory.action.ts",
204
204
  "exportedName": "updateNoteAction"
205
205
  },
206
- "7f1c520e91a55169775db55e794be4ca67c81a0a2d": {
206
+ "7fcde5fe88db84dceeb9b2ffe60d0ca1e3a1a00a10": {
207
207
  "workers": {
208
208
  "app/page": {
209
209
  "moduleId": 873715,
@@ -214,7 +214,7 @@
214
214
  "filename": "features/bot/bot.action.ts",
215
215
  "exportedName": "createBotAction"
216
216
  },
217
- "7f24ba91c89050c72b253dff06bce76c516c336646": {
217
+ "7fc29457d8d7aed08760ab0333ee56596b621a82fa": {
218
218
  "workers": {
219
219
  "app/page": {
220
220
  "moduleId": 873715,
@@ -225,7 +225,7 @@
225
225
  "filename": "features/bot/bot.action.ts",
226
226
  "exportedName": "deleteBotAction"
227
227
  },
228
- "7ff454636bef6c3d7a486b4561bba9e1f73ef0e54b": {
228
+ "7f25ff0eeb6f841d78f67da83b08e04174786539db": {
229
229
  "workers": {
230
230
  "app/page": {
231
231
  "moduleId": 873715,
@@ -236,7 +236,7 @@
236
236
  "filename": "features/bot/bot.action.ts",
237
237
  "exportedName": "updateBotAction"
238
238
  },
239
- "7ff5bb69b89a59e42d85bcd7d1ec83c4ef70924f4d": {
239
+ "7f08787ba9fc8824b7a875687443bbce164e04905e": {
240
240
  "workers": {
241
241
  "app/page": {
242
242
  "moduleId": 873715,
@@ -247,7 +247,7 @@
247
247
  "filename": "features/bot/bot.action.ts",
248
248
  "exportedName": "clearFinishedTasksAction"
249
249
  },
250
- "7ffff6417a7e86b95a733444a5185cfdf60359699c": {
250
+ "7f46407252db150b0c510d36e20dccf5a544e9107f": {
251
251
  "workers": {
252
252
  "app/page": {
253
253
  "moduleId": 873715,
@@ -258,7 +258,7 @@
258
258
  "filename": "features/bot/bot.action.ts",
259
259
  "exportedName": "deleteTaskAction"
260
260
  },
261
- "7f9b3cf79921363eeeed943885510514b1f0b05850": {
261
+ "7f25c6b89ec9d7c8f1bbbd8a43e823b5f135abdb02": {
262
262
  "workers": {
263
263
  "app/page": {
264
264
  "moduleId": 873715,
@@ -269,7 +269,7 @@
269
269
  "filename": "features/config/config.action.ts",
270
270
  "exportedName": "removeConfigAction"
271
271
  },
272
- "7f308b62dee2fc5694c7bd7d65c7a87fa1f283c807": {
272
+ "7f29328bcf3078dae4a7f684b4ba777765998c955c": {
273
273
  "workers": {
274
274
  "app/page": {
275
275
  "moduleId": 873715,
@@ -280,7 +280,7 @@
280
280
  "filename": "features/thursday/thursday.action.ts",
281
281
  "exportedName": "deleteCallAction"
282
282
  },
283
- "7fb50eb7cc92aaa810d21b827d1478b0ecce768c02": {
283
+ "7fe5c884f4fb671d28ff1bab55b744857f55c93328": {
284
284
  "workers": {
285
285
  "app/page": {
286
286
  "moduleId": 873715,
@@ -291,7 +291,7 @@
291
291
  "filename": "features/thursday/thursday.action.ts",
292
292
  "exportedName": "resetHistoryAction"
293
293
  },
294
- "7fde28327961c57985f849d431eee93288e0f49c1d": {
294
+ "7fb6b4fcdb83b1715c04c2cdf86e243fddb9fdecd9": {
295
295
  "workers": {
296
296
  "app/page": {
297
297
  "moduleId": 873715,
@@ -302,7 +302,7 @@
302
302
  "filename": "features/thursday/thursday.action.ts",
303
303
  "exportedName": "setCallSkillsAction"
304
304
  },
305
- "7fb8137c16531f0b30d68e5fb1b81da2e890990b96": {
305
+ "7f3f437b7e31640c30158a87a505166dd8cf350e75": {
306
306
  "workers": {
307
307
  "app/page": {
308
308
  "moduleId": 873715,
@@ -313,7 +313,7 @@
313
313
  "filename": "features/artifact/artifact.action.ts",
314
314
  "exportedName": "deleteArtifactAction"
315
315
  },
316
- "7f61aec1f183f55e877560e41cf04ffb3f33cd9a6d": {
316
+ "7f7c22d7e94d60cac9d3b60c6e88cd4e37b80e236d": {
317
317
  "workers": {
318
318
  "app/page": {
319
319
  "moduleId": 873715,
@@ -324,7 +324,7 @@
324
324
  "filename": "features/workspace/workspace.action.ts",
325
325
  "exportedName": "deleteWorkspaceFileAction"
326
326
  },
327
- "7fbf128d8083bcd6e67873ab0763c014db0934df2e": {
327
+ "7f03d6d6299fa4eec98c5b016c1419caaa76ac5aa6": {
328
328
  "workers": {
329
329
  "app/page": {
330
330
  "moduleId": 873715,
@@ -335,7 +335,7 @@
335
335
  "filename": "features/workspace/workspace.action.ts",
336
336
  "exportedName": "emptyScratchAction"
337
337
  },
338
- "7f3760f90a627d474238e8595e7a2e21d3fbc1295e": {
338
+ "7f223826fe55fdfafd2f33fdec504bd70254486458": {
339
339
  "workers": {
340
340
  "app/page": {
341
341
  "moduleId": 873715,
@@ -346,7 +346,7 @@
346
346
  "filename": "features/skills/skills.action.ts",
347
347
  "exportedName": "createSkillAction"
348
348
  },
349
- "7f85a2444dfc9daa45f86e1907c2f945dcf599a1b7": {
349
+ "7f645e3a0411cf62852954bcee1ff43b8656370846": {
350
350
  "workers": {
351
351
  "app/page": {
352
352
  "moduleId": 873715,
@@ -357,7 +357,7 @@
357
357
  "filename": "features/skills/skills.action.ts",
358
358
  "exportedName": "deleteSkillAction"
359
359
  },
360
- "7f82a09ee37e5889a4f31a2cf1e43a1df8ef8f6666": {
360
+ "7f841017ea7ba9139eea1aaaf4933a489729043092": {
361
361
  "workers": {
362
362
  "app/page": {
363
363
  "moduleId": 873715,
@@ -368,7 +368,7 @@
368
368
  "filename": "features/skills/skills.action.ts",
369
369
  "exportedName": "setSkillDisabledAction"
370
370
  },
371
- "7f2788f492da84e3e2169ff7080d3fb9fae7d91b9c": {
371
+ "7fde03c0c0843f568a21bc904f706a56e5bddb1f69": {
372
372
  "workers": {
373
373
  "app/page": {
374
374
  "moduleId": 873715,
@@ -379,7 +379,7 @@
379
379
  "filename": "features/skills/skills.action.ts",
380
380
  "exportedName": "uploadSkillAction"
381
381
  },
382
- "7f2e7f8f690055834405764f5ccc558b982feef623": {
382
+ "7f0319a99086ee3cd1918985c144e87ea4dc20d07e": {
383
383
  "workers": {
384
384
  "app/page": {
385
385
  "moduleId": 873715,
@@ -390,7 +390,7 @@
390
390
  "filename": "features/connectors/mcp.action.ts",
391
391
  "exportedName": "callToolAction"
392
392
  },
393
- "7f11c12690584a91e6473cd4ffa96ed746042a0dd0": {
393
+ "7f5032afb7983c1d0f61fd3693eebdadead290f6b7": {
394
394
  "workers": {
395
395
  "app/page": {
396
396
  "moduleId": 873715,
@@ -401,7 +401,7 @@
401
401
  "filename": "features/connectors/mcp.action.ts",
402
402
  "exportedName": "deleteServerAction"
403
403
  },
404
- "7f3027608f18c137a6f72b126943313b516c66155a": {
404
+ "7f46495bb3a4bf849eb1e2069dbb9063be852be5bd": {
405
405
  "workers": {
406
406
  "app/page": {
407
407
  "moduleId": 873715,
@@ -412,7 +412,7 @@
412
412
  "filename": "features/connectors/mcp.action.ts",
413
413
  "exportedName": "refreshServerAction"
414
414
  },
415
- "7f2b77401f0cf3983b907d95b86ef3a82798cbac88": {
415
+ "7f860ba40e6a0fac88f2c4e6b892e39b044b4bcba0": {
416
416
  "workers": {
417
417
  "app/page": {
418
418
  "moduleId": 873715,
@@ -423,7 +423,7 @@
423
423
  "filename": "features/connectors/mcp.action.ts",
424
424
  "exportedName": "registerServerAction"
425
425
  },
426
- "7f78963e057464572e5c9981efb195d52fcb6a1dfe": {
426
+ "7faf86025786018aa653fa5fa76bf425052e16b9b5": {
427
427
  "workers": {
428
428
  "app/page": {
429
429
  "moduleId": 873715,
@@ -434,7 +434,7 @@
434
434
  "filename": "features/thursday/thursday.action.ts",
435
435
  "exportedName": "endCallAction"
436
436
  },
437
- "7f0d844ac3b8a04e14c26dd202bcdb1bbe443ef438": {
437
+ "7fab718da688636469431be752e71c9b8d523baacd": {
438
438
  "workers": {
439
439
  "app/page": {
440
440
  "moduleId": 873715,
@@ -445,7 +445,7 @@
445
445
  "filename": "features/thursday/thursday.action.ts",
446
446
  "exportedName": "openCallAction"
447
447
  },
448
- "7f22afb56c1b9057c477a51da24de8f14e77259713": {
448
+ "7f95dc3df34b59d41c657b1b6c6056b6b215f6fac2": {
449
449
  "workers": {
450
450
  "app/page": {
451
451
  "moduleId": 873715,
@@ -458,5 +458,5 @@
458
458
  }
459
459
  },
460
460
  "edge": {},
461
- "encryptionKey": "d9/n36WgQC5Bz9MSgdoAUtVn7reBo2LwDJBD3yLs0OE="
461
+ "encryptionKey": "ehbuM+Rm9cPyXIfED1qOnEl7GBc0889uA5FddFFOmDk="
462
462
  }
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,805995,e=>{"use strict";var t=e.i(843476),n=e.i(456420);let i={name:"audio-lines",size:24,node:[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]]};i.node;let s=(0,n.default)(i),o={name:"captions",size:24,node:[["rect",{width:"18",height:"14",x:"3",y:"5",rx:"2",ry:"2",key:"12ruh7"}],["path",{d:"M7 15h4M15 15h2M7 11h2M13 11h4",key:"1ueiar"}]],aliases:["subtitles"]};o.node;let r=(0,n.default)(o);var l=e.i(689664),a=e.i(867927);let d={name:"clapperboard",size:24,node:[["path",{d:"m12.296 3.464 3.02 3.956",key:"qash78"}],["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3z",key:"1h7j8b"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"4lm6w1"}],["path",{d:"m6.18 5.276 3.1 3.899",key:"zjj9t3"}]]};d.node;let c=(0,n.default)(d);var u=e.i(815170),g=e.i(466787),m=e.i(271645),h=e.i(798120),f=e.i(167881),x=e.i(23750),k=e.i(917162),p=e.i(146538),y=e.i(968978),v=e.i(265402),j=e.i(635963),b=e.i(95187);let N=(0,b.createServerReference)("7f9b3cf79921363eeeed943885510514b1f0b05850",b.callServer,void 0,b.findSourceMapURL,"removeConfigAction");var S=e.i(692422),C=e.i(992112),M=e.i(895836),A=e.i(609856),w=e.i(283653),z=e.i(647163);let R={image:u.Image,video:c,speech:s,transcription:r};function I({section:e}){let{data:n,isLoading:i,error:s}=(0,w.useServerRoute)(h.queryKey.config);if(i)return(0,t.jsx)(M.SettingSkeleton,{rows:4});if(s)return(0,t.jsx)(M.SettingError,{message:s.message});let o=e=>(0,C.isConfigSet)(n,e),r=e=>n?.find(t=>t.key===e)?.value,l=C.CONFIG_GROUPS.filter(t=>t.section===e),a=l.flatMap(e=>e.entries);return(0,t.jsx)(M.SettingScreen,{footer:(0,t.jsx)(M.SettingRailNote,{children:"keys"===e?(0,t.jsxs)(t.Fragment,{children:[a.filter(e=>o(e.key)).length," of"," ",a.length," set",l.some(e=>!(0,C.groupSatisfied)(e,o))?" · a call needs one voice key":" · your keys stay on this machine"]}):(0,t.jsxs)(t.Fragment,{children:[a.length," of ",a.length," resolved ·"," ",a.filter(e=>r(e.key)).length," pinned"]})}),children:l.map(e=>(0,t.jsx)(M.SettingGroup,{label:e.title,hint:e.hint,right:(0,t.jsx)(K,{group:e,isSet:o}),children:(0,t.jsx)(M.SettingItems,{children:e.entries.map(n=>n.choices?(0,t.jsx)($,{entry:n,choices:n.choices,value:r(n.key),isSet:o},n.key):(0,t.jsx)(T,{entry:n,set:o(n.key),needed:!(0,C.groupSatisfied)(e,o)},n.key))})},e.id))})}function K({group:e,isSet:n}){return"none"===e.require?null:(0,C.groupSatisfied)(e,n)?(0,t.jsxs)("span",{className:"flex items-center gap-1 font-mono text-[11px] text-muted-foreground",children:[(0,t.jsx)(l.Check,{className:"size-3"}),"ready"]}):(0,t.jsxs)("span",{className:(0,z.cn)("flex items-center gap-1 font-mono text-[11px]",z.WAITING_INK),children:[(0,t.jsx)(g.TriangleAlert,{className:"size-3"}),e.note??"Required"]})}function T({entry:e,set:n,needed:i}){return(0,t.jsxs)("button",{type:"button",onClick:()=>{var i,s;return i=e,s=n,k.notify.component({className:"sm:max-w-md",renderer:({close:e})=>(0,t.jsx)(O,{entry:i,set:s,onDone:e})})},className:"group flex w-full items-center gap-3 p-4 text-left outline-none transition-colors hover:bg-muted/50 focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:[e.provider&&(0,t.jsx)("span",{className:"grid size-8 shrink-0 place-items-center rounded-lg bg-muted/60",children:(0,t.jsx)(y.ProviderIcon,{provider:e.provider,className:"size-4"})}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 space-y-0.5",children:[(0,t.jsx)("span",{className:"block truncate text-sm font-medium",children:e.label}),(0,t.jsx)("span",{className:"block truncate font-mono text-xs text-muted-foreground",children:e.key})]}),(0,t.jsxs)("span",{className:(0,z.cn)("flex shrink-0 items-center gap-1.5 font-mono text-xs",n?"text-muted-foreground":i?z.WAITING_INK:"text-muted-foreground/60"),children:[n&&(0,t.jsx)(l.Check,{className:"size-3"}),!n&&i&&(0,t.jsx)(g.TriangleAlert,{className:"size-3"}),n?"Set":i?"Needed":"Not set"]}),(0,t.jsx)(a.ChevronRight,{className:"size-4 shrink-0 text-muted-foreground/60 transition-colors group-hover:text-foreground"})]})}function $({entry:e,choices:n,value:i,isSet:s}){let o=n.find(e=>e.value===i),r=n.filter(e=>s(e.needs)),l=i&&!o?i:null,d=e.kind?R[e.kind]:j.BotsMark;return(0,t.jsxs)("button",{type:"button",onClick:()=>{var i,s,o;return e.kind||e.text?(i=e,k.notify.component({className:"sm:max-w-lg",renderer:({close:e})=>(0,t.jsx)(q,{entry:i,onDone:e})})):(s=e,o=n,k.notify.component({className:"sm:max-w-md",renderer:({close:e})=>(0,t.jsx)(B,{entry:s,choices:o,onDone:e})}))},className:"group flex w-full items-center gap-3 p-4 text-left outline-none transition-colors hover:bg-muted/50 focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:[(0,t.jsx)("span",{className:"grid size-8 shrink-0 place-items-center rounded-lg bg-muted/60",children:(0,t.jsx)(d,{className:"size-4 text-muted-foreground"})}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 space-y-1",children:[(0,t.jsx)("span",{className:"block truncate text-sm font-medium",children:e.label}),(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:[!o&&!l&&(0,t.jsx)("span",{className:(0,z.cn)("shrink-0 rounded-[5px] border border-border/60 px-1 font-mono text-[10px]",e.kind?z.WAITING_INK:"text-muted-foreground"),children:e.kind?"off":"auto"}),(0,t.jsx)("span",{className:"truncate font-mono text-xs text-muted-foreground",children:o?.label??l??(e.kind?"Not offered to bots until you pick one":r[0]?.label??"No key for any of these yet")})]})]}),(0,t.jsx)(a.ChevronRight,{className:"size-4 shrink-0 text-muted-foreground/60 transition-colors group-hover:text-foreground"})]})}function q({entry:e,onDone:n}){let{data:i}=(0,w.useServerRoute)(h.queryKey.config),s=i?.find(t=>t.key===e.key)?.value,[o,r]=(0,m.useState)(()=>{let t=e.text?(0,v.parseTextModel)(s):(0,v.parseMediaModel)(s);return{provider:t?.provider??null,model:t?.model??""}}),l=()=>{(0,w.revalidate)(h.queryKey.config),n()},[a]=(0,A.useServerAction)(S.setConfigAction,{okMessage:`${e.label} saved`,onOk:l}),[d,c]=(0,A.useServerAction)(N,{okMessage:e.kind?`${e.label} switched off`:`${e.label} back to automatic`,onOk:l});return(0,t.jsx)(M.SettingDialogContent,{title:e.label,description:e.hint,footer:(0,t.jsxs)(t.Fragment,{children:[s&&(0,t.jsx)(f.Button,{variant:"ghost",loading:c,onClick:()=>d(e.key),children:e.kind?"Turn off":"Automatic"}),(0,t.jsx)(f.Button,{variant:"ghost",onClick:n,children:"Close"})]}),children:(0,t.jsx)(p.ModelPicker,{kind:e.kind,provider:o.provider,model:o.model,onChange:t=>{r(t),t.model.trim()&&a(e.key,`${t.provider}/${t.model.trim()}`)}})})}function B({entry:e,choices:n,onDone:i}){let{data:s}=(0,w.useServerRoute)(h.queryKey.config),o=s?.find(t=>t.key===e.key)?.value,r=()=>{(0,w.revalidate)(h.queryKey.config),i()},[l,a]=(0,A.useServerAction)(S.setConfigAction,{okMessage:`${e.label} saved`,onOk:r}),[d,c]=(0,A.useServerAction)(N,{okMessage:e.kind?`${e.label} switched off`:`${e.label} back to automatic`,onOk:r});return(0,t.jsx)(M.SettingDialogContent,{title:e.label,description:e.hint,footer:(0,t.jsxs)(t.Fragment,{children:[o&&(0,t.jsx)(f.Button,{variant:"ghost",loading:c,onClick:()=>d(e.key),children:e.kind?"Turn off":"Automatic"}),(0,t.jsx)(f.Button,{variant:"ghost",onClick:i,children:"Close"})]}),children:(0,t.jsx)(M.SettingChoiceRows,{options:n.map(e=>({value:e.value,label:e.label,disabled:!(0,C.isConfigSet)(s,e.needs)&&`needs ${e.needs}`})),value:o,onChange:t=>l(e.key,t),disabled:a})})}function O({entry:e,set:n,onDone:i}){let[s,o]=(0,m.useState)(""),r=()=>{(0,w.revalidate)(h.queryKey.config),(0,w.revalidate)(h.queryKey.llmModel)},[l,a]=(0,A.useServerAction)(S.setConfigAction,{okMessage:`${e.label} key saved`,onOk:()=>{r(),i()}}),[d,c]=(0,A.useServerAction)(N,{okMessage:`${e.label} key removed`,onOk:()=>{r(),i()}});return(0,t.jsx)(M.SettingDialogContent,{title:e.label,description:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"font-mono",children:e.key}),e.hint&&(0,t.jsxs)(t.Fragment,{children:[" · ",e.hint]})]}),footer:(0,t.jsxs)(t.Fragment,{children:[n&&(0,t.jsx)(f.Button,{variant:"ghost",loading:c,onClick:()=>d(e.key),children:"Remove"}),(0,t.jsx)(f.Button,{variant:"ghost",onClick:i,children:"Cancel"}),(0,t.jsx)(f.Button,{loading:a,disabled:s.trim().length<8,onClick:()=>l(e.key,s),children:n?"Replace":"Save"})]}),children:(0,t.jsx)(x.Input,{value:s,onChange:e=>o(e.target.value),onKeyDown:t=>{"Enter"===t.key&&s.trim().length>=8&&l(e.key,s)},placeholder:n?"New value — replaces the current key":e.key,spellCheck:!1,type:"password",autoFocus:!0})})}e.s(["ConfigGroups",0,I,"ConfigSetting",0,function(){return(0,t.jsx)(I,{section:"keys"})}],805995)},855783,e=>{"use strict";var t=e.i(843476),n=e.i(805995);e.s(["ModelsSetting",0,function(){return(0,t.jsx)(n.ConfigGroups,{section:"models"})}])}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,805995,e=>{"use strict";var t=e.i(843476),n=e.i(456420);let i={name:"audio-lines",size:24,node:[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]]};i.node;let s=(0,n.default)(i),o={name:"captions",size:24,node:[["rect",{width:"18",height:"14",x:"3",y:"5",rx:"2",ry:"2",key:"12ruh7"}],["path",{d:"M7 15h4M15 15h2M7 11h2M13 11h4",key:"1ueiar"}]],aliases:["subtitles"]};o.node;let r=(0,n.default)(o);var a=e.i(689664),l=e.i(867927);let d={name:"clapperboard",size:24,node:[["path",{d:"m12.296 3.464 3.02 3.956",key:"qash78"}],["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3z",key:"1h7j8b"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"4lm6w1"}],["path",{d:"m6.18 5.276 3.1 3.899",key:"zjj9t3"}]]};d.node;let c=(0,n.default)(d);var u=e.i(815170),g=e.i(466787),m=e.i(271645),h=e.i(798120),f=e.i(167881),x=e.i(23750),k=e.i(917162),p=e.i(146538),y=e.i(968978),v=e.i(265402),j=e.i(635963),b=e.i(95187);let N=(0,b.createServerReference)("7f25c6b89ec9d7c8f1bbbd8a43e823b5f135abdb02",b.callServer,void 0,b.findSourceMapURL,"removeConfigAction");var S=e.i(131531),C=e.i(992112),M=e.i(895836),A=e.i(609856),w=e.i(283653),z=e.i(647163);let R={image:u.Image,video:c,speech:s,transcription:r};function I({section:e}){let{data:n,isLoading:i,error:s}=(0,w.useServerRoute)(h.queryKey.config);if(i)return(0,t.jsx)(M.SettingSkeleton,{rows:4});if(s)return(0,t.jsx)(M.SettingError,{message:s.message});let o=e=>(0,C.isConfigSet)(n,e),r=e=>n?.find(t=>t.key===e)?.value,a=C.CONFIG_GROUPS.filter(t=>t.section===e),l=a.flatMap(e=>e.entries);return(0,t.jsx)(M.SettingScreen,{footer:(0,t.jsx)(M.SettingRailNote,{children:"keys"===e?(0,t.jsxs)(t.Fragment,{children:[l.filter(e=>o(e.key)).length," of"," ",l.length," set",a.some(e=>!(0,C.groupSatisfied)(e,o))?" · a call needs one voice key":" · your keys stay on this machine"]}):(0,t.jsxs)(t.Fragment,{children:[l.length," of ",l.length," resolved ·"," ",l.filter(e=>r(e.key)).length," pinned"]})}),children:a.map(e=>(0,t.jsx)(M.SettingGroup,{label:e.title,hint:e.hint,right:(0,t.jsx)(K,{group:e,isSet:o}),children:(0,t.jsx)(M.SettingItems,{children:e.entries.map(n=>n.choices?(0,t.jsx)($,{entry:n,choices:n.choices,value:r(n.key),isSet:o},n.key):(0,t.jsx)(T,{entry:n,set:o(n.key),needed:!(0,C.groupSatisfied)(e,o)},n.key))})},e.id))})}function K({group:e,isSet:n}){return"none"===e.require?null:(0,C.groupSatisfied)(e,n)?(0,t.jsxs)("span",{className:"flex items-center gap-1 font-mono text-[11px] text-muted-foreground",children:[(0,t.jsx)(a.Check,{className:"size-3"}),"ready"]}):(0,t.jsxs)("span",{className:(0,z.cn)("flex items-center gap-1 font-mono text-[11px]",z.WAITING_INK),children:[(0,t.jsx)(g.TriangleAlert,{className:"size-3"}),e.note??"Required"]})}function T({entry:e,set:n,needed:i}){return(0,t.jsxs)("button",{type:"button",onClick:()=>{var i,s;return i=e,s=n,k.notify.component({className:"sm:max-w-md",renderer:({close:e})=>(0,t.jsx)(O,{entry:i,set:s,onDone:e})})},className:"group flex w-full items-center gap-3 p-4 text-left outline-none transition-colors hover:bg-muted/50 focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:[e.provider&&(0,t.jsx)("span",{className:"grid size-8 shrink-0 place-items-center rounded-lg bg-muted/60",children:(0,t.jsx)(y.ProviderIcon,{provider:e.provider,className:"size-4"})}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 space-y-0.5",children:[(0,t.jsx)("span",{className:"block truncate text-sm font-medium",children:e.label}),(0,t.jsx)("span",{className:"block truncate font-mono text-xs text-muted-foreground",children:e.key})]}),(0,t.jsxs)("span",{className:(0,z.cn)("flex shrink-0 items-center gap-1.5 font-mono text-xs",n?"text-muted-foreground":i?z.WAITING_INK:"text-muted-foreground/60"),children:[n&&(0,t.jsx)(a.Check,{className:"size-3"}),!n&&i&&(0,t.jsx)(g.TriangleAlert,{className:"size-3"}),n?"Set":i?"Needed":"Not set"]}),(0,t.jsx)(l.ChevronRight,{className:"size-4 shrink-0 text-muted-foreground/60 transition-colors group-hover:text-foreground"})]})}function $({entry:e,choices:n,value:i,isSet:s}){let o=n.find(e=>e.value===i),r=n.filter(e=>s(e.needs)),a=i&&!o?i:null,d=e.kind?R[e.kind]:j.BotsMark;return(0,t.jsxs)("button",{type:"button",onClick:()=>{var i,s,o;return e.kind||e.text?(i=e,k.notify.component({className:"sm:max-w-lg",renderer:({close:e})=>(0,t.jsx)(q,{entry:i,onDone:e})})):(s=e,o=n,k.notify.component({className:"sm:max-w-md",renderer:({close:e})=>(0,t.jsx)(B,{entry:s,choices:o,onDone:e})}))},className:"group flex w-full items-center gap-3 p-4 text-left outline-none transition-colors hover:bg-muted/50 focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:[(0,t.jsx)("span",{className:"grid size-8 shrink-0 place-items-center rounded-lg bg-muted/60",children:(0,t.jsx)(d,{className:"size-4 text-muted-foreground"})}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 space-y-1",children:[(0,t.jsx)("span",{className:"block truncate text-sm font-medium",children:e.label}),(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:[!o&&!a&&(0,t.jsx)("span",{className:(0,z.cn)("shrink-0 rounded-[5px] border border-border/60 px-1 font-mono text-[10px]",e.kind?z.WAITING_INK:"text-muted-foreground"),children:e.kind?"off":"auto"}),(0,t.jsx)("span",{className:"truncate font-mono text-xs text-muted-foreground",children:o?.label??a??(e.kind?"Not offered to bots until you pick one":r[0]?.label??"No key for any of these yet")})]})]}),(0,t.jsx)(l.ChevronRight,{className:"size-4 shrink-0 text-muted-foreground/60 transition-colors group-hover:text-foreground"})]})}function q({entry:e,onDone:n}){let{data:i}=(0,w.useServerRoute)(h.queryKey.config),s=i?.find(t=>t.key===e.key)?.value,[o,r]=(0,m.useState)(()=>{let t=e.text?(0,v.parseTextModel)(s):(0,v.parseMediaModel)(s);return{provider:t?.provider??null,model:t?.model??""}}),a=()=>{(0,w.revalidate)(h.queryKey.config),n()},[l]=(0,A.useServerAction)(S.setConfigAction,{okMessage:`${e.label} saved`,onOk:a}),[d,c]=(0,A.useServerAction)(N,{okMessage:e.kind?`${e.label} switched off`:`${e.label} back to automatic`,onOk:a});return(0,t.jsx)(M.SettingDialogContent,{title:e.label,description:e.hint,footer:(0,t.jsxs)(t.Fragment,{children:[s&&(0,t.jsx)(f.Button,{variant:"ghost",loading:c,onClick:()=>d(e.key),children:e.kind?"Turn off":"Automatic"}),(0,t.jsx)(f.Button,{variant:"ghost",onClick:n,children:"Close"})]}),children:(0,t.jsx)(p.ModelPicker,{kind:e.kind,provider:o.provider,model:o.model,onChange:t=>{r(t),t.model.trim()&&l(e.key,`${t.provider}/${t.model.trim()}`)}})})}function B({entry:e,choices:n,onDone:i}){let{data:s}=(0,w.useServerRoute)(h.queryKey.config),o=s?.find(t=>t.key===e.key)?.value,r=()=>{(0,w.revalidate)(h.queryKey.config),i()},[a,l]=(0,A.useServerAction)(S.setConfigAction,{okMessage:`${e.label} saved`,onOk:r}),[d,c]=(0,A.useServerAction)(N,{okMessage:e.kind?`${e.label} switched off`:`${e.label} back to automatic`,onOk:r});return(0,t.jsx)(M.SettingDialogContent,{title:e.label,description:e.hint,footer:(0,t.jsxs)(t.Fragment,{children:[o&&(0,t.jsx)(f.Button,{variant:"ghost",loading:c,onClick:()=>d(e.key),children:e.kind?"Turn off":"Automatic"}),(0,t.jsx)(f.Button,{variant:"ghost",onClick:i,children:"Close"})]}),children:(0,t.jsx)(M.SettingChoiceRows,{options:n.map(e=>({value:e.value,label:e.label,disabled:!(0,C.isConfigSet)(s,e.needs)&&`needs ${e.needs}`})),value:o,onChange:t=>a(e.key,t),disabled:l})})}function O({entry:e,set:n,onDone:i}){let[s,o]=(0,m.useState)(""),r=()=>{(0,w.revalidate)(h.queryKey.config),(0,w.revalidate)(h.queryKey.llmModel)},[a,l]=(0,A.useServerAction)(S.setConfigAction,{okMessage:`${e.label} key saved`,onOk:()=>{r(),i()}}),[d,c]=(0,A.useServerAction)(N,{okMessage:`${e.label} key removed`,onOk:()=>{r(),i()}});return(0,t.jsx)(M.SettingDialogContent,{title:e.label,description:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"font-mono",children:e.key}),e.hint&&(0,t.jsxs)(t.Fragment,{children:[" · ",e.hint]})]}),footer:(0,t.jsxs)(t.Fragment,{children:[n&&(0,t.jsx)(f.Button,{variant:"ghost",loading:c,onClick:()=>d(e.key),children:"Remove"}),(0,t.jsx)(f.Button,{variant:"ghost",onClick:i,children:"Cancel"}),(0,t.jsx)(f.Button,{loading:l,disabled:s.trim().length<8,onClick:()=>a(e.key,s),children:n?"Replace":"Save"})]}),children:(0,t.jsx)(x.Input,{value:s,onChange:e=>o(e.target.value),onKeyDown:t=>{"Enter"===t.key&&s.trim().length>=8&&a(e.key,s)},placeholder:n?"New value — replaces the current key":e.key,spellCheck:!1,type:"password",autoFocus:!0})})}e.s(["ConfigGroups",0,I,"ConfigSetting",0,function(){return(0,t.jsx)(I,{section:"keys"})}],805995)},855783,e=>{"use strict";var t=e.i(843476),n=e.i(805995);e.s(["ModelsSetting",0,function(){return(0,t.jsx)(n.ConfigGroups,{section:"models"})}])}]);