thursday-agent 0.1.0 → 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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +1 -1
- package/.next/server/app/artifact/[...path]/page.js.nft.json +1 -1
- package/.next/server/app/artifact/[...path]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page/server-reference-manifest.json +41 -41
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__01id-v3._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0dfwvr4._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1-mnhyd._.js +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__0ng1y5l._.js → [root-of-the-server]__185grso._.js} +2 -2
- package/.next/server/chunks/ssr/_077-g6s._.js +1 -1
- package/.next/server/chunks/ssr/_0ay6b01._.js +1 -1
- package/.next/server/chunks/ssr/{_1lz4t71._.js → _0j4v8of._.js} +2 -2
- package/.next/server/chunks/ssr/{_061oc5l._.js → _0l81bzy._.js} +2 -2
- package/.next/server/chunks/ssr/{_0-pwe74._.js → _0lc_7c8._.js} +2 -2
- package/.next/server/chunks/ssr/_0nso8tp._.js +3 -0
- package/.next/server/chunks/ssr/{_06l25rd._.js → _0q_2f2x._.js} +2 -2
- package/.next/server/chunks/ssr/_0sf1isi._.js +1 -1
- package/.next/server/chunks/ssr/{_0c2y8ks._.js → _10uvw3l._.js} +2 -2
- package/.next/server/chunks/ssr/{_1wlc_pv._.js → _19_o9d-._.js} +2 -2
- package/.next/server/chunks/ssr/{_0vbcev4._.js → _1dcxzqe._.js} +2 -2
- package/.next/server/chunks/ssr/_1e-dgz0._.js +1 -1
- package/.next/server/chunks/ssr/_1jbv7m1._.js +3 -0
- package/.next/server/chunks/ssr/features_bot_components_bot-setting_tsx_01ajft6._.js +1 -1
- package/.next/server/chunks/ssr/features_config_components_14jqgy4._.js +1 -1
- package/.next/server/chunks/ssr/features_config_components_config-setting_tsx_0xfwqdg._.js +1 -1
- package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +1 -1
- package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +1 -1
- package/.next/server/chunks/ssr/{node_modules_0okab9u._.js → node_modules_00d6675._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0510bcb._.js → node_modules_043-236._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_13r64hh._.js → node_modules_06kvvuo._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_12ilj3x._.js → node_modules_0_fvxnt._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0n9m8ww._.js → node_modules_0_j7-g4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1hfkkak._.js → node_modules_0bue6gy._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0o9cu2m._.js → node_modules_0fbw5-u._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_01-lnjv._.js → node_modules_0ipn1ho._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1i1aztk._.js → node_modules_0ls96je._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_18h15oi._.js → node_modules_0xwx4u-._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_04m323e._.js → node_modules_0y2-av4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1wya71n._.js → node_modules_108wd2o._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1bog3e3._.js → node_modules_13f2md6._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0cagd-a._.js → node_modules_16i4o_3._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1ekezwy._.js → node_modules_1_588_4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_126jgz-._.js → node_modules_1d-is1o._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_20oe6vi._.js → node_modules_1ee8gav._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0kc8lu9._.js → node_modules_1hn_sd5._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1czzodm._.js → node_modules_1jatz7w._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0eq4z64._.js → node_modules_1k29j1j._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0snv8wz._.js → node_modules_1nhw9qg._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_06gkc-1._.js → node_modules_1t0y5jt._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_14qjnj6._.js → node_modules_1ub40gk._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1ci9xpq._.js → node_modules_1v0077l._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0egyezs._.js → node_modules_1y8_3vg._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0a7_hec._.js → node_modules_20ynonm._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0babb8b._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_092s8nx._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0jiglry._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1nvexgu._.js} +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +42 -42
- package/.next/static/chunks/{0qwvymwynno3x.js → 0yysv1gzin17t.js} +1 -1
- package/.next/static/chunks/{1ti6qqe8rxjc9.js → 1fr5m75pwtyic.js} +1 -1
- package/.next/static/chunks/{2tab0u1fay-lo.js → 1gy3bbv7usnjo.js} +1 -1
- package/.next/static/chunks/{1n1_b0m4z2r2l.js → 1keib_gt066gc.js} +1 -1
- package/.next/static/chunks/{17yxvpmlyxotg.js → 1khakdu_iuedc.js} +1 -1
- package/.next/static/chunks/{3a8ieqoovwtgg.js → 21rk8w7bda-su.js} +1 -1
- package/.next/static/chunks/{3imn63hmy-dvm.js → 247d-r95j8xs0.js} +1 -1
- package/.next/static/chunks/{3v_k5wbdx5z1e.js → 28g42tw8tsvhd.js} +1 -1
- package/.next/static/chunks/{26jl58p1cmfyz.js → 2fq_86jvq9ymq.js} +1 -1
- package/.next/static/chunks/{1ma7gsnw16oor.js → 2ihkf6l2jowo9.js} +3 -3
- package/.next/static/chunks/{16jdhpex5davi.js → 2wngeetfnzxkp.js} +1 -1
- package/.next/static/chunks/{225bcu0dkzwh9.js → 3aquirz5h71da.js} +1 -1
- package/.next/static/chunks/{3ktulatcmvs36.js → 3fqvc0cg-atq_.js} +1 -1
- package/.next/static/chunks/{0t7ve-t64i24a.js → 3p4egvfjxpatb.js} +1 -1
- package/.next/static/chunks/3qe1w1ei-huhl.js +1 -0
- package/.next/static/chunks/{0m28u02ktcwrt.js → 3xxa2j56-f3nm.js} +1 -1
- package/.next/static/chunks/{1n0rxcrn8v33a.js → 3y40riycdip-i.js} +1 -1
- package/.next/static/chunks/{07hfxlyqq92v-.js → 45a6zbtkelph9.js} +1 -1
- package/README.md +24 -1
- package/bin/thursday.mjs +50 -2
- package/package.json +3 -17
- package/.next/server/chunks/ssr/[root-of-the-server]__1d9rffu._.js +0 -3
- package/.next/server/chunks/ssr/_0g7xsms._.js +0 -3
- package/.next/server/chunks/ssr/_0n0wwfo._.js +0 -3
- package/.next/static/chunks/2bd12_uvbr996.js +0 -1
- package/node_modules/@img/sharp-libvips-linux-x64/README.md +0 -46
- package/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +0 -219
- package/node_modules/@img/sharp-libvips-linux-x64/lib/index.js +0 -1
- package/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.18.6 +0 -0
- package/node_modules/@img/sharp-libvips-linux-x64/package.json +0 -43
- package/node_modules/@img/sharp-libvips-linux-x64/versions.json +0 -30
- package/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +0 -46
- package/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +0 -219
- package/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +0 -1
- package/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.18.6 +0 -0
- package/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +0 -43
- package/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +0 -30
- package/node_modules/@img/sharp-linux-x64/index.cjs +0 -2
- package/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64-0.35.4.node +0 -0
- package/node_modules/@img/sharp-linux-x64/package.json +0 -47
- package/node_modules/@img/sharp-linuxmusl-x64/index.cjs +0 -2
- package/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64-0.35.4.node +0 -0
- package/node_modules/@img/sharp-linuxmusl-x64/package.json +0 -47
- package/node_modules/@libsql/linux-x64-gnu/index.node +0 -0
- package/node_modules/@libsql/linux-x64-gnu/package.json +0 -36
- package/node_modules/@libsql/linux-x64-musl/index.node +0 -0
- package/node_modules/@libsql/linux-x64-musl/package.json +0 -36
- package/node_modules/libsql/auth.js +0 -22
- package/node_modules/libsql/index.js +0 -441
- package/node_modules/libsql/node_modules/detect-libc/lib/detect-libc.js +0 -279
- package/node_modules/libsql/node_modules/detect-libc/lib/filesystem.js +0 -41
- package/node_modules/libsql/node_modules/detect-libc/lib/process.js +0 -19
- package/node_modules/libsql/node_modules/detect-libc/package.json +0 -40
- package/node_modules/libsql/package.json +0 -90
- package/node_modules/libsql/sqlite-error.js +0 -21
- package/node_modules/sharp/dist/channel.cjs +0 -177
- package/node_modules/sharp/dist/channel.mjs +0 -177
- package/node_modules/sharp/dist/colour.cjs +0 -199
- package/node_modules/sharp/dist/colour.mjs +0 -199
- package/node_modules/sharp/dist/composite.cjs +0 -213
- package/node_modules/sharp/dist/composite.mjs +0 -213
- package/node_modules/sharp/dist/constructor.cjs +0 -511
- package/node_modules/sharp/dist/constructor.mjs +0 -511
- package/node_modules/sharp/dist/index.cjs +0 -25
- package/node_modules/sharp/dist/index.d.cts +0 -1999
- package/node_modules/sharp/dist/index.d.mts +0 -2046
- package/node_modules/sharp/dist/index.mjs +0 -25
- package/node_modules/sharp/dist/input.cjs +0 -819
- package/node_modules/sharp/dist/input.mjs +0 -819
- package/node_modules/sharp/dist/is.cjs +0 -143
- package/node_modules/sharp/dist/is.mjs +0 -143
- package/node_modules/sharp/dist/libvips.cjs +0 -212
- package/node_modules/sharp/dist/libvips.mjs +0 -212
- package/node_modules/sharp/dist/operation.cjs +0 -1002
- package/node_modules/sharp/dist/operation.mjs +0 -1002
- package/node_modules/sharp/dist/output.cjs +0 -1785
- package/node_modules/sharp/dist/output.mjs +0 -1785
- package/node_modules/sharp/dist/resize.cjs +0 -617
- package/node_modules/sharp/dist/resize.mjs +0 -617
- package/node_modules/sharp/dist/sharp.cjs +0 -174
- package/node_modules/sharp/dist/sharp.mjs +0 -174
- package/node_modules/sharp/dist/utility.cjs +0 -301
- package/node_modules/sharp/dist/utility.mjs +0 -301
- package/node_modules/sharp/node_modules/semver/classes/comparator.js +0 -143
- package/node_modules/sharp/node_modules/semver/classes/range.js +0 -577
- package/node_modules/sharp/node_modules/semver/classes/semver.js +0 -350
- package/node_modules/sharp/node_modules/semver/functions/clean.js +0 -8
- package/node_modules/sharp/node_modules/semver/functions/cmp.js +0 -54
- package/node_modules/sharp/node_modules/semver/functions/coerce.js +0 -62
- package/node_modules/sharp/node_modules/semver/functions/compare-build.js +0 -9
- package/node_modules/sharp/node_modules/semver/functions/compare-loose.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/compare.js +0 -7
- package/node_modules/sharp/node_modules/semver/functions/diff.js +0 -60
- package/node_modules/sharp/node_modules/semver/functions/eq.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/gt.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/gte.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/inc.js +0 -21
- package/node_modules/sharp/node_modules/semver/functions/lt.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/lte.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/major.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/minor.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/neq.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/parse.js +0 -18
- package/node_modules/sharp/node_modules/semver/functions/patch.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/prerelease.js +0 -8
- package/node_modules/sharp/node_modules/semver/functions/rcompare.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/rsort.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/satisfies.js +0 -12
- package/node_modules/sharp/node_modules/semver/functions/sort.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/truncate.js +0 -48
- package/node_modules/sharp/node_modules/semver/functions/valid.js +0 -8
- package/node_modules/sharp/node_modules/semver/index.js +0 -93
- package/node_modules/sharp/node_modules/semver/internal/constants.js +0 -37
- package/node_modules/sharp/node_modules/semver/internal/debug.js +0 -11
- package/node_modules/sharp/node_modules/semver/internal/identifiers.js +0 -29
- package/node_modules/sharp/node_modules/semver/internal/lrucache.js +0 -42
- package/node_modules/sharp/node_modules/semver/internal/parse-options.js +0 -17
- package/node_modules/sharp/node_modules/semver/internal/re.js +0 -223
- package/node_modules/sharp/node_modules/semver/package.json +0 -78
- package/node_modules/sharp/node_modules/semver/ranges/gtr.js +0 -6
- package/node_modules/sharp/node_modules/semver/ranges/intersects.js +0 -9
- package/node_modules/sharp/node_modules/semver/ranges/ltr.js +0 -6
- package/node_modules/sharp/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/node_modules/sharp/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/node_modules/sharp/node_modules/semver/ranges/min-version.js +0 -63
- package/node_modules/sharp/node_modules/semver/ranges/outside.js +0 -82
- package/node_modules/sharp/node_modules/semver/ranges/simplify.js +0 -49
- package/node_modules/sharp/node_modules/semver/ranges/subset.js +0 -249
- package/node_modules/sharp/node_modules/semver/ranges/to-comparators.js +0 -10
- package/node_modules/sharp/node_modules/semver/ranges/valid.js +0 -13
- package/node_modules/sharp/package.json +0 -227
- /package/.next/static/{M8Zkbqz2M4SLzLsE8DC6V → X34BUd9bfdH27ripuwwBm}/_buildManifest.js +0 -0
- /package/.next/static/{M8Zkbqz2M4SLzLsE8DC6V → X34BUd9bfdH27ripuwwBm}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{M8Zkbqz2M4SLzLsE8DC6V → X34BUd9bfdH27ripuwwBm}/_ssgManifest.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"node": {
|
|
3
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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": "
|
|
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 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)("
|
|
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"})}])}]);
|