thursday-agent 0.29.0 → 0.31.0
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/app-path-routes-manifest.json +1 -0
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/routes-manifest.json +6 -0
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- 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/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +3 -3
- package/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -3
- package/.next/server/app/api/artifact/route.js +13 -14
- package/.next/server/app/api/artifact/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/memory/files/route.js +11 -6
- package/.next/server/app/api/bot/memory/files/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/memory/route.js +11 -11
- package/.next/server/app/api/bot/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/route.js +11 -11
- package/.next/server/app/api/bot/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/thread/file/route.js +19 -19
- package/.next/server/app/api/bot/thread/file/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/thread/lessons/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/bot/thread/lessons/route/build-manifest.json +12 -0
- package/.next/server/app/api/bot/thread/lessons/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/bot/thread/lessons/route.js +18 -0
- package/.next/server/app/api/bot/thread/lessons/route.js.map +5 -0
- package/.next/server/app/api/bot/thread/lessons/route.js.nft.json +1 -0
- package/.next/server/app/api/bot/thread/lessons/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/bot/thread/route.js +8 -9
- package/.next/server/app/api/bot/thread/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/tool-result/[id]/route.js +10 -11
- package/.next/server/app/api/bot/tool-result/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/config/route.js +6 -7
- package/.next/server/app/api/config/route.js.nft.json +1 -1
- package/.next/server/app/api/events/route.js +4 -4
- package/.next/server/app/api/events/route.js.nft.json +1 -1
- package/.next/server/app/api/favicon/[host]/route.js +3 -3
- package/.next/server/app/api/favicon/[host]/route.js.nft.json +1 -1
- package/.next/server/app/api/file/[...path]/route.js +11 -6
- package/.next/server/app/api/file/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/automatic/route.js +10 -11
- package/.next/server/app/api/llm-model/automatic/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/catalog/[provider]/route.js +10 -11
- package/.next/server/app/api/llm-model/catalog/[provider]/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/credits/[provider]/route.js +10 -11
- package/.next/server/app/api/llm-model/credits/[provider]/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/route.js +8 -9
- package/.next/server/app/api/llm-model/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/subscription/route.js +8 -9
- package/.next/server/app/api/llm-model/subscription/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/[name]/route.js +8 -9
- package/.next/server/app/api/mcp/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/oauth/callback/route.js +10 -11
- package/.next/server/app/api/mcp/oauth/callback/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/route.js +8 -9
- package/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/tools/route.js +8 -9
- package/.next/server/app/api/mcp/tools/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/edit/route.js +19 -19
- package/.next/server/app/api/memory/edit/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/route.js +6 -7
- package/.next/server/app/api/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/reach/route.js +20 -20
- package/.next/server/app/api/reach/route.js.nft.json +1 -1
- package/.next/server/app/api/routine/route.js +12 -12
- package/.next/server/app/api/routine/route.js.nft.json +1 -1
- package/.next/server/app/api/running/route.js +3 -3
- package/.next/server/app/api/running/route.js.nft.json +1 -1
- package/.next/server/app/api/signins/route.js +11 -7
- package/.next/server/app/api/signins/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/[source]/[name]/route.js +14 -14
- package/.next/server/app/api/skills/[source]/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/route.js +14 -14
- package/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/call/end/route.js +19 -19
- package/.next/server/app/api/thursday/call/end/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/call/plan/route.js +19 -19
- package/.next/server/app/api/thursday/call/plan/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/call/route.js +11 -12
- package/.next/server/app/api/thursday/call/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/settings/route.js +11 -12
- package/.next/server/app/api/thursday/settings/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/text/route.js +20 -20
- package/.next/server/app/api/thursday/text/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/tool-call/route.js +20 -20
- package/.next/server/app/api/thursday/tool-call/route.js.nft.json +1 -1
- package/.next/server/app/api/update/route.js +10 -11
- package/.next/server/app/api/update/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/files/route.js +13 -13
- package/.next/server/app/api/workspace/files/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/route.js +13 -13
- package/.next/server/app/api/workspace/route.js.nft.json +1 -1
- package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +11 -11
- package/.next/server/app/artifact/[...path]/page.js +11 -11
- 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/favicon.ico/route.js.nft.json +1 -1
- package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next/server/app/page/server-reference-manifest.json +101 -68
- package/.next/server/app/page.js +10 -10
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +1 -0
- package/.next/server/chunks/[root-of-the-server]__0-xeb9k._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0qkh140._.js → [root-of-the-server]__01lftiq._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__022hmm4._.js +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1im7w7z._.js → [root-of-the-server]__02td13j._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__03bjojd._.js +2 -2
- package/.next/server/chunks/[root-of-the-server]__03jn6g5._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__05wauq3._.js +12 -0
- package/.next/server/chunks/[root-of-the-server]__06eoz24._.js +5 -0
- package/.next/server/chunks/{[root-of-the-server]__0sfx6id._.js → [root-of-the-server]__0_jtzqu._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0_k10q9._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1l4feoc._.js → [root-of-the-server]__0cmzvf7._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0cq8fp4._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0cyki0f._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__0fvz6w5._.js +6 -0
- package/.next/server/chunks/[root-of-the-server]__0kj7-jk._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1p1ww2o._.js → [root-of-the-server]__0mq_mis._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0ncs9uu._.js +1 -1
- package/.next/server/chunks/{[root-of-the-server]__00dtf7h._.js → [root-of-the-server]__0o6p3jk._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0opzn4f._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0ags3y9._.js → [root-of-the-server]__0puaol7._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0qhf60h._.js +1 -1
- package/.next/server/chunks/{[root-of-the-server]__0ah_uba._.js → [root-of-the-server]__0s6-921._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0sg3_9d._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0t9e405._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__20zucml._.js → [root-of-the-server]__0ubu0sh._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0ucigrb._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0wnd1ac._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1-ga0kh._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__10x2qg8._.js +5 -0
- package/.next/server/chunks/{[root-of-the-server]__0fo9gc5._.js → [root-of-the-server]__114bnf1._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__1343ru3._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1g6_6it._.js → [root-of-the-server]__16682o8._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__16bbvlw._.js +7 -0
- package/.next/server/chunks/{[root-of-the-server]__1ui547o._.js → [root-of-the-server]__16cwbuc._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__05fq824._.js → [root-of-the-server]__17luxss._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__17ses32._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1_04mcf._.js +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1m9dh1w._.js → [root-of-the-server]__1ahc9c9._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__1bewni6._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__1bk734v._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0atf1-_._.js → [root-of-the-server]__1btmuni._.js} +5 -5
- package/.next/server/chunks/[root-of-the-server]__1e2aiae._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1fjmju_._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1j-6f71._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0btxiu1._.js → [root-of-the-server]__1ltmy5k._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__1mf425m._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__1ndi14y._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1o7z93z._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1orn-5b._.js +11 -0
- package/.next/server/chunks/[root-of-the-server]__1pho9cl._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1q2jauq._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1rs2v4h._.js +5 -0
- package/.next/server/chunks/{[root-of-the-server]__1ivv7te._.js → [root-of-the-server]__1rso8xj._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__1xr0wxp._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1yiazek._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0a2v56f._.js → [root-of-the-server]__20_po2e._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__0gmxpev._.js → [root-of-the-server]__20v-jxs._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__212_w8j._.js +5 -0
- package/.next/server/chunks/_0-g8m2a._.js +72 -0
- package/.next/server/chunks/_0-qt5if._.js +1 -1
- package/.next/server/chunks/_00uhvhe._.js +12 -12
- package/.next/server/chunks/_02tecta._.js +5 -0
- package/.next/server/chunks/_04862qx._.js +3 -0
- package/.next/server/chunks/_05p90of._.js +3 -0
- package/.next/server/chunks/{_1_30lb4._.js → _06tj0ik._.js} +2 -2
- package/.next/server/chunks/_06u9yo-._.js +1 -1
- package/.next/server/chunks/_07mczew._.js +1 -1
- package/.next/server/chunks/_07pkeds._.js +2 -2
- package/.next/server/chunks/_08-mlqd._.js +1 -1
- package/.next/server/chunks/_08354bn._.js +12 -12
- package/.next/server/chunks/_08bp8w1._.js +3 -0
- package/.next/server/chunks/_0adsimt._.js +3 -0
- package/.next/server/chunks/_0bcx24d._.js +8 -0
- package/.next/server/chunks/{_0e8ks1n._.js → _0chqx-h._.js} +16 -12
- package/.next/server/chunks/_0d4f7pc._.js +5 -0
- package/.next/server/chunks/_0d9208_._.js +6 -0
- package/.next/server/chunks/{_0lip2ae._.js → _0ejet8x._.js} +16 -12
- package/.next/server/chunks/_0eowjm_._.js +72 -0
- package/.next/server/chunks/_0gxz_1b._.js +1 -1
- package/.next/server/chunks/_0iy3dus._.js +1 -1
- package/.next/server/chunks/_0jzv71c._.js +5 -0
- package/.next/server/chunks/{_0hin38_._.js → _0khihjk._.js} +6 -6
- package/.next/server/chunks/_0lrns0i._.js +3 -0
- package/.next/server/chunks/_0nbkv9k._.js +7 -0
- package/.next/server/chunks/_0p94gu0._.js +57 -0
- package/.next/server/chunks/_0pzqm_r._.js +3 -3
- package/.next/server/chunks/_0s515yz._.js +57 -0
- package/.next/server/chunks/_0supk_r._.js +5 -0
- package/.next/server/chunks/_0sxwm3y._.js +3 -0
- package/.next/server/chunks/_0tkzlv1._.js +3 -3
- package/.next/server/chunks/{_02o3ay7._.js → _0tzxrjg._.js} +2 -2
- package/.next/server/chunks/_0u0pa-b._.js +72 -0
- package/.next/server/chunks/_0umx0sn._.js +3 -0
- package/.next/server/chunks/_0vojr2u._.js +3 -0
- package/.next/server/chunks/_0wyh244._.js +12 -12
- package/.next/server/chunks/_0xlv72v._.js +57 -0
- package/.next/server/chunks/{_0a9x0xp._.js → _0y-5vzm._.js} +2 -2
- package/.next/server/chunks/{_0xt812m._.js → _0z06xn0._.js} +16 -12
- package/.next/server/chunks/_0zwjr-g._.js +1 -1
- package/.next/server/chunks/_1002x_9._.js +72 -0
- package/.next/server/chunks/{_0cdeabn._.js → _1299dpz._.js} +2 -2
- package/.next/server/chunks/_12htlm_._.js +9 -0
- package/.next/server/chunks/_13tat6z._.js +1 -1
- package/.next/server/chunks/_143moy6._.js +5 -0
- package/.next/server/chunks/_186uku9._.js +1 -1
- package/.next/server/chunks/_190pdee._.js +3 -0
- package/.next/server/chunks/_1951_6o._.js +3 -0
- package/.next/server/chunks/_19h6ag7._.js +3 -0
- package/.next/server/chunks/_1_0gehg._.js +3 -3
- package/.next/server/chunks/_1be0yao._.js +12 -12
- package/.next/server/chunks/_1dtm9bs._.js +1 -1
- package/.next/server/chunks/_1e1t6tm._.js +57 -0
- package/.next/server/chunks/_1e1yip3._.js +3 -0
- package/.next/server/chunks/{_0uet1h6._.js → _1e48czp._.js} +6 -6
- package/.next/server/chunks/_1fqa4ax._.js +72 -0
- package/.next/server/chunks/_1gb0_wm._.js +3 -0
- package/.next/server/chunks/_1i6626u._.js +3 -0
- package/.next/server/chunks/_1jca8ws._.js +3 -0
- package/.next/server/chunks/_1k6bmez._.js +1 -1
- package/.next/server/chunks/{_10qam6o._.js → _1kg70wc._.js} +6 -6
- package/.next/server/chunks/_1ko5shz._.js +1 -1
- package/.next/server/chunks/{_12a_gfz._.js → _1kqgeww._.js} +16 -12
- package/.next/server/chunks/_1kwmzab._.js +1 -1
- package/.next/server/chunks/_1l5qbki._.js +6 -0
- package/.next/server/chunks/_1mlsbwy._.js +3 -0
- package/.next/server/chunks/_1nej_f5._.js +72 -0
- package/.next/server/chunks/_1o15f0b._.js +3 -0
- package/.next/server/chunks/_1omiszv._.js +57 -0
- package/.next/server/chunks/_1otx63k._.js +3 -0
- package/.next/server/chunks/_1pwai-w._.js +72 -0
- package/.next/server/chunks/_1qdqpgf._.js +3 -0
- package/.next/server/chunks/_1qo2kxe._.js +3 -0
- package/.next/server/chunks/_1qoa_n_._.js +3 -0
- package/.next/server/chunks/_1qwi06-._.js +5 -0
- package/.next/server/chunks/_1qxheoa._.js +1 -1
- package/.next/server/chunks/{_1skgy7b._.js → _1ry6afh._.js} +6 -6
- package/.next/server/chunks/_1u9tb9z._.js +57 -0
- package/.next/server/chunks/_1v7z66t._.js +5 -0
- package/.next/server/chunks/_1vdlc8g._.js +5 -0
- package/.next/server/chunks/_1x2xiyw._.js +1 -1
- package/.next/server/chunks/_1y-e2mk._.js +79 -0
- package/.next/server/chunks/_1yx285_._.js +1 -1
- package/.next/server/chunks/_1za6dtx._.js +72 -0
- package/.next/server/chunks/_1zsrejy._.js +3 -0
- package/.next/server/chunks/_1zvhk_m._.js +1 -1
- package/.next/server/chunks/{_0m3sdq8._.js → _20sfopz._.js} +16 -12
- package/.next/server/chunks/_next-internal_server_app_api_bot_thread_lessons_route_actions_0zt-nr6.js +3 -0
- package/.next/server/chunks/config_ts_1g4sz5o._.js +1 -1
- package/.next/server/chunks/features_0-728_-._.js +1 -1
- package/.next/server/chunks/features_0uy40ze._.js +1 -1
- package/.next/server/chunks/features_0vyrnq0._.js +3 -0
- package/.next/server/chunks/features_116bwtn._.js +1 -1
- package/.next/server/chunks/features_14kex_m._.js +3 -3
- package/.next/server/chunks/features_1cb9luv._.js +1 -1
- package/.next/server/chunks/features_1jd2zjm._.js +8 -8
- package/.next/server/chunks/features_1xn6un-._.js +3 -3
- package/.next/server/chunks/features_bot_1d6ghh5._.js +1 -1
- package/.next/server/chunks/features_bot_1dfrdsb._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0auk-ke._.js +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__07mxab7._.js → [root-of-the-server]__0k7utnr._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__18l3o37._.js → [root-of-the-server]__0q3gl-j._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__0vcuiyu._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0nfq6eh._.js → [root-of-the-server]__0w1mcuc._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__16jc196._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1867koj._.js +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__1njrrpi._.js → [root-of-the-server]__188x-0h._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__1vgf-i-._.js → [root-of-the-server]__1e4oxhz._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__1hqly37._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1j-bkt7._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1nb9kc9._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1t38-p_._.js +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__0bgf9r2._.js → [root-of-the-server]__20dnr0-._.js} +2 -2
- package/.next/server/chunks/ssr/{_06o_p34._.js → _058z7m3._.js} +2 -2
- package/.next/server/chunks/ssr/_0692i-a._.js +1 -1
- package/.next/server/chunks/ssr/{_0ps83ki._.js → _0a6m-4f._.js} +2 -2
- package/.next/server/chunks/ssr/_0akma_h._.js +1 -1
- package/.next/server/chunks/ssr/{_16qphtt._.js → _0bapnk-._.js} +2 -2
- package/.next/server/chunks/ssr/_0cu8_pz._.js +3 -0
- package/.next/server/chunks/ssr/_0e7c-z3._.js +3 -0
- package/.next/server/chunks/ssr/_0gk_72-._.js +3 -0
- package/.next/server/chunks/ssr/_0gx6qzr._.js +1 -1
- package/.next/server/chunks/ssr/_0jvrmoz._.js +9 -0
- package/.next/server/chunks/ssr/{_1rlfzdj._.js → _0mwfawz._.js} +3 -3
- package/.next/server/chunks/ssr/{_04f6fil._.js → _0pg2mgq._.js} +3 -3
- package/.next/server/chunks/ssr/_0r-q97k._.js +3 -0
- package/.next/server/chunks/ssr/_0xs4a-f._.js +3 -0
- package/.next/server/chunks/ssr/{_0x9aecq._.js → _0zajldg._.js} +2 -2
- package/.next/server/chunks/ssr/_128r03g._.js +10 -10
- package/.next/server/chunks/ssr/_14f64h2._.js +1 -1
- package/.next/server/chunks/ssr/_16_7zeo._.js +1 -1
- package/.next/server/chunks/ssr/_17fa2ns._.js +12 -12
- package/.next/server/chunks/ssr/{_1k5f6cg._.js → _18dem-7._.js} +2 -2
- package/.next/server/chunks/ssr/_1_px1o-._.js +1 -1
- package/.next/server/chunks/ssr/_1a_w_du._.js +1 -1
- package/.next/server/chunks/ssr/_1crszf7._.js +2 -2
- package/.next/server/chunks/ssr/_1e_9qjr._.js +1 -1
- package/.next/server/chunks/ssr/_1ehd80b._.js +3 -0
- package/.next/server/chunks/ssr/_1f59vze._.js +1 -1
- package/.next/server/chunks/ssr/_1m290ru._.js +3 -0
- package/.next/server/chunks/ssr/_1neoj22._.js +1 -1
- package/.next/server/chunks/ssr/{_0tfponz._.js → _1p5s8eb._.js} +2 -2
- package/.next/server/chunks/ssr/_1q9r6u6._.js +1 -1
- package/.next/server/chunks/ssr/_1soynbw._.js +2 -2
- package/.next/server/chunks/ssr/{_079xt7h._.js → _1v_5j9l._.js} +23 -19
- package/.next/server/chunks/ssr/{components_ui_markdown-body_tsx_1ac61z0._.js → components_ui_markdown-body_tsx_0qqkcnl._.js} +2 -2
- package/.next/server/chunks/ssr/features_0rrgq_t._.js +1 -1
- package/.next/server/chunks/ssr/features_ai_components_model-picker_tsx_0ucb1y9._.js +1 -1
- package/.next/server/chunks/ssr/features_bot_1stfytf._.js +1 -1
- package/.next/server/chunks/ssr/features_bot_components_01ye2wp._.js +1 -1
- package/.next/server/chunks/ssr/features_bot_components_bot-setting_tsx_01ajft6._.js +2 -2
- package/.next/server/chunks/ssr/features_bot_components_thread-setting_tsx_0yae7zy._.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/features_routine_components_routine-setting_tsx_055fknz._.js +1 -1
- package/.next/server/chunks/ssr/features_skills_components_skills-setting_tsx_1wtuuip._.js +1 -1
- package/.next/server/chunks/ssr/features_thursday_components_thursday-setting_tsx_1_6ydrc._.js +1 -1
- package/.next/server/chunks/ssr/{node_modules_0w-dsl0._.js → node_modules_0-1vgbg._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_1umqska._.js → node_modules_0-ckar9._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1g9_m7_._.js → node_modules_00k__rl._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1kv5-zo._.js → node_modules_00pm_md._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0tx0umb._.js → node_modules_01awxzc._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_1o_q011._.js → node_modules_02r5cr9._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_02fw1bp._.js → node_modules_02y56-t._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0x_r46g._.js → node_modules_03qy_-5._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_0zw6cf-._.js → node_modules_04-wxwz._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0pv4uha._.js → node_modules_062omwz._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_162v3_m._.js → node_modules_06bncpv._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_06oedzb._.js → node_modules_06c813r._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0i3xlf-._.js → node_modules_0bnvlu3._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_012orll._.js → node_modules_0bo8_3v._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0x_do0y._.js → node_modules_0cmpor-._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_1p_tdep._.js → node_modules_0dmey3c._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1rtx020._.js → node_modules_0e82d9d._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1j59ehc._.js → node_modules_0fv219v._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0o5tzyn._.js → node_modules_0i60h5u._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1838s3x._.js → node_modules_0p6fpim._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_1lwcjnq._.js → node_modules_0qfnopf._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_13rr6rm._.js → node_modules_0upd5np._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_1kqsyd_._.js → node_modules_0uqdbkl._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_152kfg-._.js → node_modules_0v_sl8f._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0k-r85l._.js → node_modules_0vz0i7n._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_1v065ct._.js → node_modules_0wuqamc._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_122hfb2._.js → node_modules_0ww0cj5._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1rxd-pq._.js → node_modules_0xyg93a._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_15f2sid._.js → node_modules_0yt7v4_._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_02t-i_c._.js → node_modules_10d_dh1._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_0t4ep0l._.js → node_modules_12mf6-b._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_03ntdqv._.js → node_modules_16gjro8._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ukjqyk._.js → node_modules_16n2qm5._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1hgqn53._.js → node_modules_17cgr9d._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_1jvg854._.js → node_modules_18-rz5f._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1rrbt-g._.js → node_modules_1_sver8._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0507yvc._.js → node_modules_1_w2wh5._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1mxdor4._.js → node_modules_1aa913r._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0kdzuew._.js → node_modules_1aptu5w._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_1p5__vf._.js → node_modules_1cu3h7h._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0b8revr._.js → node_modules_1d3101y._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0qrh5xo._.js → node_modules_1d3tnng._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1_rbg_o._.js → node_modules_1dd8593._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_16wbh_d._.js → node_modules_1evm05k._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_1ywecve._.js → node_modules_1fs4p56._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1sum8sx._.js → node_modules_1jsmkvt._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_04e__3n._.js → node_modules_1lj69na._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_0dfjba7._.js → node_modules_1p53mn1._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1u5xb0j._.js → node_modules_1tecvpz._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1k9u0x_._.js → node_modules_1voere2._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_0mbx677._.js → node_modules_1wa6ii9._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1w2-as3._.js → node_modules_1wvsdzr._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1awgatr._.js → node_modules_1x6dj-b._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1tqxzmp._.js → node_modules_1yr3qqm._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0-8ygub._.js → node_modules_1z14x_s._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1qyanf-._.js → node_modules_1zjjxof._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_katex_dist_katex_mjs_1y07ypr._.js → node_modules_katex_dist_katex_mjs_0lovye-._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_katex_dist_katex_mjs_1l3addz._.js → node_modules_katex_dist_katex_mjs_1zzajtz._.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 +102 -69
- package/.next/static/chunks/{0eepme181mw6f.js → 02p1qzv-y8ojn.js} +1 -1
- package/.next/static/chunks/{36hfkcfa5a6be.js → 0c8kcm5bf10hs.js} +9 -9
- package/.next/static/chunks/{2b08w7t0hc1fp.js → 0msqr7mircvg3.js} +1 -1
- package/.next/static/chunks/{2voeol7_1tit_.js → 0tal1quf58fcp.js} +1 -1
- package/.next/static/chunks/{2h5rvagz5wdhy.js → 0tbosthr28whk.js} +2 -2
- package/.next/static/chunks/{1s5t41jiomssd.css → 0tpwm72wdln0d.css} +1 -1
- package/.next/static/chunks/{2adz3q18q052w.js → 0yqy8h5u32vok.js} +1 -1
- package/.next/static/chunks/{1b-3utyj58fn1.js → 0zc0u62q44d6f.js} +1 -1
- package/.next/static/chunks/{1c3tarihhldvd.js → 17gy2mvd8ek83.js} +1 -1
- package/.next/static/chunks/{42xlx1decmn82.js → 1_8pwrnp1_qvs.js} +1 -1
- package/.next/static/chunks/1ck5wi_ba02gc.js +1 -0
- package/.next/static/chunks/1hqsq7opotb1d.js +1 -0
- package/.next/static/chunks/1ih5j-j1he9w6.js +1 -0
- package/.next/static/chunks/1jreuiyyp97su.js +1 -0
- package/.next/static/chunks/{3hl237797_a8e.js → 1nt0py_w8q-id.js} +2 -2
- package/.next/static/chunks/2-zfbypxf0agx.js +1 -0
- package/.next/static/chunks/2ay3fjagqli-o.js +1 -0
- package/.next/static/chunks/{14e3ie8pgxgdb.js → 2p7lpzd59ius6.js} +1 -1
- package/.next/static/chunks/{0yp1so_h9mfhf.js → 2rzym-27bm4t_.js} +1 -1
- package/.next/static/chunks/2sg43yk9jd5-z.js +4 -0
- package/.next/static/chunks/{29r_coa80ubpw.js → 2twk4sgtkwgxo.js} +1 -1
- package/.next/static/chunks/33_a4j5altfr5.js +1 -0
- package/.next/static/chunks/37pwubc1t0jyy.js +1 -0
- package/.next/static/chunks/{233p45nuh4m5b.css → 3d-1vk5hzu5rq.css} +2 -2
- package/.next/static/chunks/{0rx67d-x-1mmv.js → 3jpa6ycdis1fh.js} +2 -2
- package/.next/static/chunks/{1j2zjawu_2th7.js → 3mc-k-4e4apqr.js} +1 -1
- package/.next/static/chunks/{3a98r51s8rjtt.js → 3o8wxqca38o3_.js} +1 -1
- package/.next/static/chunks/3t1sluk82tekr.js +1 -0
- package/.next/static/chunks/42zzm744prmio.js +1 -0
- package/.next/static/chunks/43tcpam1sdo85.js +1 -0
- package/database/migrations/20261006014533_first_mercury/migration.sql +16 -0
- package/database/migrations/20261006014533_first_mercury/snapshot.json +2134 -0
- package/database/migrations/20261006022849_purple_young_avengers/migration.sql +1 -0
- package/database/migrations/20261006022849_purple_young_avengers/snapshot.json +2144 -0
- package/database/migrations/20261006040316_lazy_ogun/migration.sql +3 -0
- package/database/migrations/20261006040316_lazy_ogun/snapshot.json +2174 -0
- package/database/migrations/20261006043313_modern_goliath/migration.sql +1 -0
- package/database/migrations/20261006043313_modern_goliath/snapshot.json +2184 -0
- package/guide/bots.md +29 -0
- package/guide/phone.md +3 -1
- package/package.json +1 -1
- package/.next/server/chunks/[root-of-the-server]__00qilm2._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__01jpmcj._.js +0 -11
- package/.next/server/chunks/[root-of-the-server]__0_qe8iq._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0bzz4u5._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__0d-dfqm._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__0elyqrt._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0jqidnu._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__0lg1fok._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0mmynvy._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__0mzzwmt._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__0n4xgfd._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0qo3zap._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__0rqmdxt._.js +0 -6
- package/.next/server/chunks/[root-of-the-server]__0sea36s._.js +0 -10
- package/.next/server/chunks/[root-of-the-server]__0unmyur._.js +0 -6
- package/.next/server/chunks/[root-of-the-server]__0wimh1u._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__0zezbds._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__12hkdpz._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__13dy1f5._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__13hng6h._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__14inehv._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__17kdjf6._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__17yv6lg._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1ac25yp._.js +0 -12
- package/.next/server/chunks/[root-of-the-server]__1hjb8wf._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1jcu_e9._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1jmr2ed._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__1onvx8x._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1r2kimd._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1rjj4i4._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1s3umyw._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__212tz6e._.js +0 -8
- package/.next/server/chunks/_0-mqt2w._.js +0 -3
- package/.next/server/chunks/_0bcg3vg._.js +0 -6
- package/.next/server/chunks/_0cm67bo._.js +0 -6
- package/.next/server/chunks/_0gifi_2._.js +0 -7
- package/.next/server/chunks/_0li046e._.js +0 -3
- package/.next/server/chunks/_0mirg2-._.js +0 -3
- package/.next/server/chunks/_0oj2slk._.js +0 -5
- package/.next/server/chunks/_0oyz9x0._.js +0 -3
- package/.next/server/chunks/_0pljp-1._.js +0 -3
- package/.next/server/chunks/_0rdxqrk._.js +0 -5
- package/.next/server/chunks/_0sxih1y._.js +0 -3
- package/.next/server/chunks/_0u-96in._.js +0 -9
- package/.next/server/chunks/_0wjia9n._.js +0 -5
- package/.next/server/chunks/_0x2mdif._.js +0 -5
- package/.next/server/chunks/_0xa89lt._.js +0 -3
- package/.next/server/chunks/_0y2a-fg._.js +0 -3
- package/.next/server/chunks/_0ynjnhl._.js +0 -5
- package/.next/server/chunks/_1-sk_q4._.js +0 -3
- package/.next/server/chunks/_1355-km._.js +0 -3
- package/.next/server/chunks/_14-kmob._.js +0 -5
- package/.next/server/chunks/_1d7gbgb._.js +0 -3
- package/.next/server/chunks/_1d_enhu._.js +0 -3
- package/.next/server/chunks/_1evvnbp._.js +0 -18
- package/.next/server/chunks/_1g10pf5._.js +0 -3
- package/.next/server/chunks/_1icgbi8._.js +0 -18
- package/.next/server/chunks/_1ihge52._.js +0 -6
- package/.next/server/chunks/_1k92b3d._.js +0 -3
- package/.next/server/chunks/_1nfr-75._.js +0 -3
- package/.next/server/chunks/_1o2r4ja._.js +0 -5
- package/.next/server/chunks/_1pv6xbq._.js +0 -5
- package/.next/server/chunks/_1qgix-j._.js +0 -3
- package/.next/server/chunks/_1sd6nev._.js +0 -3
- package/.next/server/chunks/_1t8fv7b._.js +0 -18
- package/.next/server/chunks/_1ufbxe1._.js +0 -5
- package/.next/server/chunks/features_workspace_workspace_ts_13h82gv._.js +0 -3
- package/.next/server/chunks/features_workspace_workspace_ts_1iyjroj._.js +0 -8
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0omj5b1._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0s2o664._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0ufuc3s._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1cvpr1j._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1y49572._.js +0 -3
- package/.next/server/chunks/node_modules_zod_v4_03dw6sa._.js +0 -57
- package/.next/server/chunks/node_modules_zod_v4_0h0-drr._.js +0 -57
- package/.next/server/chunks/node_modules_zod_v4_0uctlhw._.js +0 -57
- package/.next/server/chunks/node_modules_zod_v4_13mu186._.js +0 -57
- package/.next/server/chunks/node_modules_zod_v4_17gxt3_._.js +0 -57
- package/.next/server/chunks/node_modules_zod_v4_1mygyfn._.js +0 -3
- package/.next/server/chunks/node_modules_zod_v4_1u-rl3b._.js +0 -57
- package/.next/server/chunks/ssr/[root-of-the-server]__0lv-wr_._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0utwbb5._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1fvh0zn._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1ynag_l._.js +0 -3
- package/.next/server/chunks/ssr/_01l1svp._.js +0 -3
- package/.next/server/chunks/ssr/_01m2s2p._.js +0 -3
- package/.next/server/chunks/ssr/_0f3t9pm._.js +0 -9
- package/.next/server/chunks/ssr/_183f3bo._.js +0 -3
- package/.next/server/chunks/ssr/_1kj3d2q._.js +0 -3
- package/.next/server/chunks/ssr/_1tu2bpk._.js +0 -3
- package/.next/server/chunks/ssr/lib_utils_ts_0_f1xvm._.js +0 -3
- package/.next/static/chunks/03m85vcsjg0qk.js +0 -1
- package/.next/static/chunks/051z85h3ofmif.js +0 -1
- package/.next/static/chunks/0xlr5fmtxb42l.js +0 -4
- package/.next/static/chunks/1l0_q-kf0cbaj.js +0 -1
- package/.next/static/chunks/1la1aeosxvwmz.js +0 -1
- package/.next/static/chunks/227tjgj_th6uf.js +0 -1
- package/.next/static/chunks/2jo02hrgs_zqm.js +0 -1
- package/.next/static/chunks/3k7fum0yljmyr.js +0 -1
- package/.next/static/chunks/3sawwm4vucnzn.js +0 -1
- package/.next/static/chunks/3sjv-rshh-98q.js +0 -1
- package/.next/static/chunks/3tejx8kiotsia.js +0 -1
- /package/.next/static/{mTdCVAiiVKCutbZcekyHn → UR_YhoU23yPaytwfmeAS2}/_buildManifest.js +0 -0
- /package/.next/static/{mTdCVAiiVKCutbZcekyHn → UR_YhoU23yPaytwfmeAS2}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{mTdCVAiiVKCutbZcekyHn → UR_YhoU23yPaytwfmeAS2}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,986530,e=>{"use strict";var t=e.i(843476),s=e.i(225913);e.i(271645);var i=e.i(647163);function n({className:e,...s}){return(0,t.jsx)("label",{"data-slot":"label",className:(0,i.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...s})}e.i(652225);let l=(0,s.cva)("group/field flex w-full gap-2 data-[invalid=true]:text-destructive",{variants:{orientation:{vertical:"flex-col *:w-full [&>.sr-only]:w-auto",horizontal:"flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",responsive:"flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"}},defaultVariants:{orientation:"vertical"}});e.s(["Field",0,function({className:e,orientation:s="vertical",...n}){return(0,t.jsx)("div",{role:"group","data-slot":"field","data-orientation":s,className:(0,i.cn)(l({orientation:s}),e),...n})},"FieldContent",0,function({className:e,...s}){return(0,t.jsx)("div",{"data-slot":"field-content",className:(0,i.cn)("group/field-content flex flex-1 flex-col gap-0.5 leading-snug",e),...s})},"FieldLabel",0,function({className:e,...s}){return(0,t.jsx)(n,{"data-slot":"field-label",className:(0,i.cn)("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",e),...s})}],986530)},833959,e=>{"use strict";var t=e.i(843476),s=e.i(437750),i=e.i(856539),n=e.i(24071),l=e.i(867927),r=e.i(829600),a=e.i(226091),o=e.i(726067),d=e.i(456420);let c={name:"frame",size:24,node:[["line",{x1:"22",x2:"2",y1:"6",y2:"6",key:"15w7dq"}],["line",{x1:"22",x2:"2",y1:"18",y2:"18",key:"1ip48p"}],["line",{x1:"6",x2:"6",y1:"2",y2:"22",key:"a2lnyx"}],["line",{x1:"18",x2:"18",y1:"2",y2:"22",key:"8vb6jd"}]]};c.node;let u=(0,d.default)(c);var m=e.i(91511),x=e.i(77071),f=e.i(566595);let h={name:"square-pen",size:24,node:[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],aliases:["pen-box","edit","pen-square"]};h.node;let p=(0,d.default)(h);var g=e.i(759659);let v={name:"upload",size:24,node:[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]};v.node;let b=(0,d.default)(v);var k=e.i(271645),j=e.i(798120),y=e.i(167881),w=e.i(986530),N=e.i(23750),S=e.i(683408),C=e.i(917162),L=e.i(671428),z=e.i(319036),F=e.i(127341),M=e.i(184762),R=e.i(41533),T=e.i(895836),$=e.i(95187);let D=(0,$.createServerReference)("7ff616b1cb86ddc2347988548d5d1fba005f215f37",$.callServer,void 0,$.findSourceMapURL,"createSkillAction"),A=(0,$.createServerReference)("7f351586977a33ca7735f7d3f8d7aaf31ac2264d21",$.callServer,void 0,$.findSourceMapURL,"deleteSkillAction"),B=(0,$.createServerReference)("7f0d6e28feb58fab9203e73d3486914d23d1f0fe45",$.callServer,void 0,$.findSourceMapURL,"setSkillDisabledAction"),q=(0,$.createServerReference)("7ffca4bd85271d75bb0ebc67154b6efde115da0038",$.callServer,void 0,$.findSourceMapURL,"uploadSkillAction"),I=(0,$.createServerReference)("7fddde55c409d36fe2c0f2b727c5f2df333b3a46ad",$.callServer,void 0,$.findSourceMapURL,"writeSkillFileAction");var K=e.i(362201);K.union([K.enum(["custom","default"]),K.templateLiteral(["kit:",K.string().regex(/^[\p{L}\p{N}_-]+$/u)]),K.templateLiteral(["own:",K.string().regex(/^[\p{L}\p{N}_-]+$/u)])]);let E=e=>"custom"===e||e.startsWith("own:"),U=K.string().trim().min(1,"Skill name is required").max(64,"Skill name is too long").regex(/^[a-z0-9][a-z0-9_-]*$/i,"Use letters, numbers, dashes and underscores only"),O=K.string().trim().min(1,"Skill name is required").max(64,"Skill name is too long");K.object({name:O,description:K.string().trim().min(1,"Description is required"),metadata:K.record(K.string(),K.unknown()).optional(),disabled:K.boolean().optional(),platforms:K.array(K.string()).optional()}).extend({name:U,content:K.string().trim().min(1,"Content is required")});var P=e.i(609856),W=e.i(283653),_=e.i(647163);let H={artifact:u,browser:m.Globe,computer:s.AppWindow,"find-skills":f.Search,"skill-creator":p};function V({skill:e}){let[s,n]=(0,P.useServerAction)(A,{onOk:()=>(0,W.revalidate)(j.queryKey.skills)}),[r]=(0,P.useServerAction)(B,{onOk:()=>(0,W.revalidate)(j.queryKey.skills)}),a=async()=>{await C.notify.confirm({title:`Delete ${e.name}?`,description:"Every file in this skill is deleted for good.",okText:"Delete",destructive:!0})&&s(e.source,e.dir)},o="default"===e.source&&H[e.dir]||i.BookMarked;return(0,t.jsxs)("div",{className:"group flex items-center transition-colors hover:bg-muted/50",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>{var s;return s=e,C.notify.component({className:"sm:max-w-4xl",renderer:({guard:e})=>(0,t.jsx)(G,{skill:s,guard:e})})},className:"flex min-w-0 flex-1 items-center gap-3 py-4 pl-4 text-left outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:[(0,t.jsx)("span",{className:(0,_.cn)("grid size-10 shrink-0 place-items-center rounded-lg bg-muted text-muted-foreground",e.disabled&&"opacity-45"),children:(0,t.jsx)(o,{className:"size-4"})}),(0,t.jsxs)("span",{className:(0,_.cn)("min-w-0 flex-1 space-y-0.5",e.disabled&&"opacity-45"),children:[(0,t.jsx)("span",{className:"block truncate text-sm font-medium",children:e.name}),(0,t.jsx)("span",{className:"line-clamp-2 text-xs leading-relaxed text-muted-foreground",children:e.description.trim().split(/(?<=[.。])\s|\n/)[0].trim()})]}),(0,t.jsx)(l.ChevronRight,{className:"size-4 shrink-0 text-muted-foreground/60 group-hover:text-foreground"})]}),(0,t.jsxs)("div",{className:"mr-4 ml-5 flex w-18 shrink-0 items-center justify-end gap-3",children:[(0,t.jsx)(z.Switch,{checked:!e.disabled,onCheckedChange:t=>r(e.source,e.dir,!t),"aria-label":`${e.name} on or off`,className:"shrink-0"}),E(e.source)?(0,t.jsx)(y.Button,{size:"icon-sm",variant:"ghost",loading:n,onClick:a,"aria-label":`Delete ${e.name}`,className:"shrink-0 text-muted-foreground",children:(0,t.jsx)(g.Trash2,{})}):(0,t.jsx)("span",{className:"size-7 shrink-0"})]})]})}function G({skill:e,guard:s}){let[i,l]=(0,k.useState)(""),[r,a]=(0,k.useState)("SKILL.md"),o=(0,k.useRef)(!1);(0,k.useEffect)(()=>s(()=>o.current),[s]);let d=async e=>{let t=i?`${i}/${e.name}`:e.name;"dir"===e.kind?l(t):t===r||(!o.current||await C.notify.confirm({title:"Discard your changes?",description:`What you wrote in ${r?.split("/").pop()} is not saved.`,okText:"Discard",destructive:!0}))&&(o.current=!1,a(t))};return(0,t.jsx)(T.SettingDialogContent,{title:e.name,description:(0,t.jsx)(Y,{skill:e,path:r??i}),children:(0,t.jsxs)("div",{className:"flex h-[36rem] divide-x divide-border/60 overflow-hidden rounded-xl border border-border/60 bg-background",children:[(0,t.jsxs)("div",{className:"flex w-44 shrink-0 flex-col overflow-y-auto bg-muted/20 py-1",children:[i&&(0,t.jsxs)("button",{type:"button",onClick:()=>l(i.split("/").slice(0,-1).join("/")),className:"mx-1 mb-1 flex items-center gap-1 rounded-md px-2 py-1 text-left font-mono text-[11px] text-muted-foreground outline-none hover:bg-muted/50 hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:[(0,t.jsx)(n.ChevronLeft,{className:"size-3 shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:i.split("/").pop()})]}),(0,t.jsx)(J,{source:e.source,dir:e.dir,path:i,current:r,onPick:d})]}),(0,t.jsx)("div",{className:"min-w-0 flex-1 overflow-y-auto",children:r?(0,t.jsx)(X,{source:e.source,dir:e.dir,path:r,editable:E(e.source),onUnsaved:e=>{o.current=e}},r):(0,t.jsx)("p",{className:"p-6 text-sm text-muted-foreground",children:"Pick a file"})})]})})}function Y({skill:e,path:s}){if(!e)return(0,t.jsx)("span",{className:"truncate font-mono text-[11px] text-muted-foreground",children:"Pick a skill"});let i=[e.name,...s.split("/").filter(Boolean)];return(0,t.jsx)("span",{className:"flex min-w-0 items-center gap-1 font-mono text-[11px] text-muted-foreground",children:i.map((e,s)=>(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1",children:[s>0&&(0,t.jsx)(l.ChevronRight,{className:"size-3 shrink-0 opacity-50"}),(0,t.jsx)("span",{className:(0,_.cn)("truncate",s===i.length-1&&"text-foreground"),children:e})]},`${s}-${e}`))})}function Z({icon:e,label:s,active:i,hasChildren:n,onClick:r}){return(0,t.jsxs)("button",{type:"button",onClick:r,className:(0,_.cn)("mx-1 flex items-center gap-1.5 rounded-md px-2 py-1 text-left text-xs outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",i?T.PICKED_ROW:"text-muted-foreground hover:bg-muted/50 hover:text-foreground"),children:[(0,t.jsx)("span",{className:"shrink-0 text-muted-foreground/70 [&>svg]:size-3",children:e}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:s}),n&&(0,t.jsx)(l.ChevronRight,{className:"size-3 shrink-0 text-muted-foreground/50"})]})}function J({source:e,dir:s,path:i,current:n,onPick:l}){let{data:d,isLoading:c,error:u}=(0,W.useServerRoute)(j.queryKey.skillNode(e,s,i));return u?(0,t.jsx)("p",{className:"p-3 font-mono text-xs text-destructive",children:u.message}):c||!d?(0,t.jsxs)("div",{className:"space-y-2 p-2",children:[(0,t.jsx)(L.Skeleton,{className:"h-5 w-full"}),(0,t.jsx)(L.Skeleton,{className:"h-5 w-4/5"})]}):"dir"!==d.kind?null:(0,t.jsxs)(t.Fragment,{children:[d.entries.map(e=>(0,t.jsx)(Z,{icon:"dir"===e.kind?(0,t.jsx)(o.Folder,{}):e.name.endsWith(".md")?(0,t.jsx)(a.FileText,{}):(0,t.jsx)(r.File,{}),label:e.name,hasChildren:"dir"===e.kind,active:(i?`${i}/${e.name}`:e.name)===n,onClick:()=>l(e)},e.name)),0===d.entries.length&&(0,t.jsx)("p",{className:"p-3 text-xs text-muted-foreground",children:"Empty folder"})]})}function Q({content:e,description:s}){let i=/^---\r?\n([\s\S]*?)\r?\n---[ \t]*\r?\n?/.exec(e),n=s?.trim(),l=i?e.slice(i[0].length):e;return(0,t.jsxs)("div",{className:"min-w-0",children:[n&&(0,t.jsx)("p",{className:"border-b border-border/60 px-5 py-3 text-[13px] leading-relaxed text-muted-foreground",children:n}),(0,t.jsx)("div",{className:"px-5 py-4 text-sm leading-relaxed",children:(0,t.jsx)(S.Markdown,{children:l})})]})}function X({source:e,dir:s,path:i,editable:n,onUnsaved:l}){let[r,a]=(0,k.useState)(null),{data:o,isLoading:d,error:c}=(0,W.useServerRoute)(j.queryKey.skillNode(e,s,i)),u=null!==r&&(o?.kind!=="file"||r!==o.content);(0,k.useEffect)(()=>l?.(u),[u,l]);let[m,x]=(0,P.useServerAction)(I,{okMessage:"Saved",onOk:()=>{a(null),(0,W.revalidate)(j.queryKey.skills)}});if(c)return(0,t.jsx)("p",{className:"p-4 font-mono text-xs text-destructive",children:c.message});if(d||!o)return(0,t.jsxs)("div",{className:"space-y-3 p-5",children:[(0,t.jsx)(L.Skeleton,{className:"h-5 w-2/3"}),(0,t.jsx)(L.Skeleton,{className:"h-4 w-full"}),(0,t.jsx)(L.Skeleton,{className:"h-4 w-5/6"})]});if("file"!==o.kind)return null;let f=i.split("/").pop()??"";return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"sticky top-0 z-20 flex items-center justify-between gap-2 border-b border-border/60 bg-background/90 px-5 py-2 font-mono text-[11px] text-muted-foreground backdrop-blur",children:[(0,t.jsx)("span",{className:"truncate",children:f}),(0,t.jsxs)("span",{className:"flex shrink-0 items-center gap-2",children:[(0,t.jsx)("span",{children:(0,_.formatBytes)(o.size)}),n&&null!==o.content&&null===r&&(0,t.jsxs)(y.Button,{size:"xs",variant:"ghost",className:"font-mono",onClick:()=>a(o.content??""),children:[(0,t.jsx)(p,{}),"Edit"]}),null!==r&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.Button,{size:"xs",variant:"ghost",className:"font-mono",onClick:()=>a(null),children:"Cancel"}),(0,t.jsx)(y.Button,{size:"xs",className:"font-mono",loading:x,disabled:r===o.content,onClick:()=>m(e,s,i,r),children:"Save"})]})]})]}),null!==r?(0,t.jsx)(M.Textarea,{value:r,onChange:e=>a(e.target.value),spellCheck:!1,"aria-label":`${f} contents`,className:"min-h-120 resize-none rounded-none border-0 font-mono text-[13px] leading-relaxed shadow-none focus-visible:ring-0"}):null===o.content?(0,t.jsx)("p",{className:"px-5 py-4 text-sm text-muted-foreground",children:o.size>R.SKILL_FILES.inlineBytes?"Too long to show here — a bot still reads it from disk.":"Not a text file — a bot can still read it from disk."}):f.toLowerCase().endsWith(".md")?(0,t.jsx)(Q,{content:o.content,description:o.description}):(0,t.jsx)("pre",{className:"overflow-x-auto px-5 py-4 font-mono text-[13px] leading-relaxed whitespace-pre text-foreground/90",children:o.content})]})}function ee(){return C.notify.component({className:"sm:max-w-lg",renderer:({close:e,guard:s})=>(0,t.jsx)(et,{onDone:e,guard:s})})}function et({onDone:e,guard:s}){let[i,n]=(0,k.useState)("write"),[l,r]=(0,k.useState)(""),[a,o]=(0,k.useState)(""),[d,c]=(0,k.useState)(""),[u,m]=(0,k.useState)(null),[f,h]=(0,k.useState)(!1),p=(0,k.useRef)(null),g=(0,k.useRef)(!1);g.current=!!(l.trim()||a.trim()||d.trim()||u),(0,k.useEffect)(()=>s(()=>g.current),[s]);let v={errorMessage:!1,onOk:()=>{(0,W.revalidate)(j.queryKey.skills),e()}},[S,C,,L]=(0,P.useServerAction)(D,v),[z,$,,A]=(0,P.useServerAction)(q,v),B=C||$,I="write"===i?L:A,K=null!==u&&u.size>R.SKILL_FILES.uploadBytes,E=Math.round(R.SKILL_FILES.uploadBytes/1024/1024),U=!B&&("write"===i?l.trim()&&a.trim()&&d.trim():null!==u&&!K),O=async()=>{if(!U)return;if("write"===i)return void S({name:l.trim(),description:a.trim(),content:d});if(!u)return;let e=new FormData;e.append("file",u),z(e)},H=e=>{let t=e?.[0]??null;t&&m(t)};return(0,t.jsxs)(T.SettingDialogContent,{title:"New skill",description:"Instructions a bot reads when a job calls for them.",footer:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.Button,{variant:"ghost",onClick:e,children:"Cancel"}),(0,t.jsxs)(y.Button,{disabled:!U,loading:B,onClick:O,children:[!B&&("write"===i?(0,t.jsx)(x.Plus,{}):(0,t.jsx)(b,{})),"write"===i?"Create":"Upload"]})]}),children:[(0,t.jsxs)(F.Tabs,{value:i,onValueChange:e=>n(e),children:[(0,t.jsxs)(F.TabsList,{className:"w-full",children:[(0,t.jsx)(F.TabsTrigger,{value:"write",children:"Write"}),(0,t.jsx)(F.TabsTrigger,{value:"upload",children:"Upload"})]}),(0,t.jsxs)(F.TabsContent,{value:"write",className:"space-y-5 pt-4",children:[(0,t.jsxs)(w.Field,{children:[(0,t.jsx)(w.FieldLabel,{htmlFor:"skill-name",children:"Name"}),(0,t.jsxs)(w.FieldContent,{children:[(0,t.jsx)(N.Input,{id:"skill-name",value:l,onChange:e=>r(e.target.value),placeholder:"deploy-checklist",spellCheck:!1,autoFocus:!0}),(0,t.jsxs)("p",{className:"font-mono text-[11px] text-muted-foreground",children:[R.PATHS.skills.custom,"/",l.trim()||"…","/SKILL.md"]})]})]}),(0,t.jsxs)(w.Field,{children:[(0,t.jsx)(w.FieldLabel,{htmlFor:"skill-description",children:"Description"}),(0,t.jsx)(w.FieldContent,{children:(0,t.jsx)(N.Input,{id:"skill-description",value:a,onChange:e=>o(e.target.value),placeholder:"What it does, then when to use it — a bot reads this to decide"})})]}),(0,t.jsxs)(w.Field,{children:[(0,t.jsx)(w.FieldLabel,{htmlFor:"skill-content",children:"Content"}),(0,t.jsx)(M.Textarea,{id:"skill-content",value:d,onChange:e=>c(e.target.value),placeholder:"Markdown. The steps, the rules, the examples.",className:"min-h-40 resize-none font-mono text-xs"})]})]}),(0,t.jsxs)(F.TabsContent,{value:"upload",className:"space-y-4 pt-4",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>p.current?.click(),onDragOver:e=>{e.preventDefault(),h(!0)},onDragLeave:()=>h(!1),onDrop:e=>{e.preventDefault(),h(!1),H(e.dataTransfer.files)},className:(0,_.cn)("flex w-full flex-col items-center gap-2 rounded-xl border border-dashed px-6 py-10 text-center outline-none transition-colors focus-visible:ring-3 focus-visible:ring-ring/50",f?"border-foreground/60 bg-muted/60":"border-border hover:bg-muted/40"),children:[(0,t.jsx)(b,{className:"size-5 text-muted-foreground"}),u?(0,t.jsxs)("span",{className:"text-sm",children:[u.name,(0,t.jsxs)("span",{className:(0,_.cn)("ml-2 font-mono text-[11px]",K?"text-destructive":"text-muted-foreground"),children:[(0,_.formatBytes)(u.size),K&&` \xb7 over ${E} MB`]})]}):(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:"Drop a file here, or click to choose"})]}),(0,t.jsx)("input",{ref:p,type:"file",accept:".md,.zip,.skill",className:"hidden",onChange:e=>H(e.target.files)}),(0,t.jsxs)("div",{className:"space-y-1 text-xs text-muted-foreground",children:[(0,t.jsx)("p",{className:"font-medium text-foreground/80",children:"File requirements"}),(0,t.jsxs)("p",{children:["A ",(0,t.jsx)("span",{className:"font-mono",children:".md"})," file needs a YAML block with the skill's name and description."]}),(0,t.jsxs)("p",{children:["A ",(0,t.jsx)("span",{className:"font-mono",children:".zip"})," or"," ",(0,t.jsx)("span",{className:"font-mono",children:".skill"})," archive needs a SKILL.md inside — the rest of its folder comes along."]}),(0,t.jsxs)("p",{children:["Up to ",E," MB."]})]})]})]}),I&&(0,t.jsx)("p",{className:"font-mono text-xs text-destructive",children:I})]})}e.s(["SkillsSetting",0,function(){let[e,s]=(0,k.useState)(""),{data:i,isLoading:n,error:l}=(0,W.useServerRoute)(j.queryKey.skills),r=i??[];if(n)return(0,t.jsx)(T.SettingSkeleton,{rows:4});if(l)return(0,t.jsx)(T.SettingError,{message:l.message});let a=e.trim().toLowerCase(),o=r.filter(e=>!a||`${e.name} ${e.description}`.toLowerCase().includes(a)),d=r.filter(e=>!e.disabled).length,c=r.filter(e=>!e.disabled&&("default"===e.source||"custom"===e.source)).length,u=new Map;for(let e of o)e.bot&&u.set(e.bot,[...u.get(e.bot)??[],e]);return(0,t.jsxs)(T.SettingScreen,{footer:(0,t.jsxs)(T.SettingRailNote,{children:[r.filter(e=>!E(e.source)).length," ","shipped ·"," ",r.filter(e=>E(e.source)).length," ","installed"]}),children:[(0,t.jsx)(T.SettingToolbar,{count:`${d} on \xb7 ${r.length-d} off`,children:(0,t.jsx)(T.SettingFilter,{value:e,onChange:s,placeholder:"Filter skills"})}),(0,t.jsx)(T.SettingGroup,{label:"Custom",hint:"yours — added here · a Default skill of the same name wins",children:(0,t.jsx)(T.SettingItems,{addRow:{label:"Add skill",onClick:ee},children:o.filter(e=>"custom"===e.source).map(e=>(0,t.jsx)(V,{skill:e},`custom/${e.dir}`))})}),[...u].map(([e,s])=>(0,t.jsx)(T.SettingGroup,{label:`${e}'s own`,hint:`only ${e} reads these \xb7 what it found or wrote can be edited or deleted`,children:(0,t.jsx)(T.SettingItems,{children:s.map(e=>(0,t.jsx)(V,{skill:e},`${e.source}/${e.dir}`))})},e)),(0,t.jsx)(T.SettingGroup,{label:"Default",hint:"ships with the app · switch off, can't edit or delete",children:(0,t.jsx)(T.SettingItems,{children:o.filter(e=>"default"===e.source).map(e=>(0,t.jsx)(V,{skill:e},`default/${e.dir}`))})}),c>R.PROMPT_CROWDED.skills&&(0,t.jsxs)(T.SettingNote,{children:[c," skills are on for every bot. Each is a line in every prompt a bot reads, and one more to look past when it picks."]})]})}],833959)},437750,e=>{"use strict";var t=e.i(456420);let s={name:"app-window",size:24,node:[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]};s.node;let i=(0,t.default)(s);e.s(["AppWindow",0,i],437750)},726067,e=>{"use strict";var t=e.i(456420);let s={name:"folder",size:24,node:[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]};s.node;let i=(0,t.default)(s);e.s(["Folder",0,i],726067)},759659,e=>{"use strict";var t=e.i(456420);let s={name:"trash",size:24,node:[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],aliases:["trash-2"]};s.node;let i=(0,t.default)(s);e.s(["Trash2",0,i],759659)}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,986530,e=>{"use strict";var t=e.i(843476),s=e.i(225913);e.i(271645);var i=e.i(647163);function n({className:e,...s}){return(0,t.jsx)("label",{"data-slot":"label",className:(0,i.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...s})}e.i(652225);let l=(0,s.cva)("group/field flex w-full gap-2 data-[invalid=true]:text-destructive",{variants:{orientation:{vertical:"flex-col *:w-full [&>.sr-only]:w-auto",horizontal:"flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",responsive:"flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"}},defaultVariants:{orientation:"vertical"}});e.s(["Field",0,function({className:e,orientation:s="vertical",...n}){return(0,t.jsx)("div",{role:"group","data-slot":"field","data-orientation":s,className:(0,i.cn)(l({orientation:s}),e),...n})},"FieldContent",0,function({className:e,...s}){return(0,t.jsx)("div",{"data-slot":"field-content",className:(0,i.cn)("group/field-content flex flex-1 flex-col gap-0.5 leading-snug",e),...s})},"FieldLabel",0,function({className:e,...s}){return(0,t.jsx)(n,{"data-slot":"field-label",className:(0,i.cn)("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",e),...s})}],986530)},833959,e=>{"use strict";var t=e.i(843476),s=e.i(437750),i=e.i(856539),n=e.i(24071),l=e.i(867927),r=e.i(829600),a=e.i(226091),o=e.i(726067),d=e.i(456420);let c={name:"frame",size:24,node:[["line",{x1:"22",x2:"2",y1:"6",y2:"6",key:"15w7dq"}],["line",{x1:"22",x2:"2",y1:"18",y2:"18",key:"1ip48p"}],["line",{x1:"6",x2:"6",y1:"2",y2:"22",key:"a2lnyx"}],["line",{x1:"18",x2:"18",y1:"2",y2:"22",key:"8vb6jd"}]]};c.node;let u=(0,d.default)(c);var m=e.i(91511),x=e.i(77071),f=e.i(566595);let h={name:"square-pen",size:24,node:[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],aliases:["pen-box","edit","pen-square"]};h.node;let p=(0,d.default)(h);var g=e.i(759659);let v={name:"upload",size:24,node:[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]};v.node;let b=(0,d.default)(v);var k=e.i(271645),j=e.i(798120),y=e.i(167881),w=e.i(986530),N=e.i(23750),S=e.i(683408),C=e.i(917162),L=e.i(671428),z=e.i(319036),F=e.i(127341),M=e.i(184762),R=e.i(41533),T=e.i(895836),$=e.i(95187);let D=(0,$.createServerReference)("7f2c30bdde62ab15058516be36f6ec4f355732f1db",$.callServer,void 0,$.findSourceMapURL,"createSkillAction"),A=(0,$.createServerReference)("7fac08a969de9a8c4e8b7da4901b2ca369beeb80c9",$.callServer,void 0,$.findSourceMapURL,"deleteSkillAction"),B=(0,$.createServerReference)("7fa0c6988ba09490e617f8b6d8019a3b87e1e72eca",$.callServer,void 0,$.findSourceMapURL,"setSkillDisabledAction"),q=(0,$.createServerReference)("7ff6d183c89391d89d6514f081b275b65bc3e022c8",$.callServer,void 0,$.findSourceMapURL,"uploadSkillAction"),I=(0,$.createServerReference)("7faf182809e6706a61732e5d3c4fe8dbdeca872d35",$.callServer,void 0,$.findSourceMapURL,"writeSkillFileAction");var K=e.i(362201);K.union([K.enum(["custom","default"]),K.templateLiteral(["kit:",K.string().regex(/^[\p{L}\p{N}_-]+$/u)]),K.templateLiteral(["own:",K.string().regex(/^[\p{L}\p{N}_-]+$/u)])]);let E=e=>"custom"===e||e.startsWith("own:"),U=K.string().trim().min(1,"Skill name is required").max(64,"Skill name is too long").regex(/^[a-z0-9][a-z0-9_-]*$/i,"Use letters, numbers, dashes and underscores only"),O=K.string().trim().min(1,"Skill name is required").max(64,"Skill name is too long");K.object({name:O,description:K.string().trim().min(1,"Description is required"),metadata:K.record(K.string(),K.unknown()).optional(),disabled:K.boolean().optional(),platforms:K.array(K.string()).optional()}).extend({name:U,content:K.string().trim().min(1,"Content is required")});var P=e.i(609856),W=e.i(283653),_=e.i(647163);let H={artifact:u,browser:m.Globe,computer:s.AppWindow,"find-skills":f.Search,"skill-creator":p};function V({skill:e}){let[s,n]=(0,P.useServerAction)(A,{onOk:()=>(0,W.revalidate)(j.queryKey.skills)}),[r]=(0,P.useServerAction)(B,{onOk:()=>(0,W.revalidate)(j.queryKey.skills)}),a=async()=>{await C.notify.confirm({title:`Delete ${e.name}?`,description:"Every file in this skill is deleted for good.",okText:"Delete",destructive:!0})&&s(e.source,e.dir)},o="default"===e.source&&H[e.dir]||i.BookMarked;return(0,t.jsxs)("div",{className:"group flex items-center transition-colors hover:bg-muted/50",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>{var s;return s=e,C.notify.component({className:"sm:max-w-4xl",renderer:({guard:e})=>(0,t.jsx)(G,{skill:s,guard:e})})},className:"flex min-w-0 flex-1 items-center gap-3 py-4 pl-4 text-left outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:[(0,t.jsx)("span",{className:(0,_.cn)("grid size-10 shrink-0 place-items-center rounded-lg bg-muted text-muted-foreground",e.disabled&&"opacity-45"),children:(0,t.jsx)(o,{className:"size-4"})}),(0,t.jsxs)("span",{className:(0,_.cn)("min-w-0 flex-1 space-y-0.5",e.disabled&&"opacity-45"),children:[(0,t.jsx)("span",{className:"block truncate text-sm font-medium",children:e.name}),(0,t.jsx)("span",{className:"line-clamp-2 text-xs leading-relaxed text-muted-foreground",children:e.description.trim().split(/(?<=[.。])\s|\n/)[0].trim()})]}),(0,t.jsx)(l.ChevronRight,{className:"size-4 shrink-0 text-muted-foreground/60 group-hover:text-foreground"})]}),(0,t.jsxs)("div",{className:"mr-4 ml-5 flex w-18 shrink-0 items-center justify-end gap-3",children:[(0,t.jsx)(z.Switch,{checked:!e.disabled,onCheckedChange:t=>r(e.source,e.dir,!t),"aria-label":`${e.name} on or off`,className:"shrink-0"}),E(e.source)?(0,t.jsx)(y.Button,{size:"icon-sm",variant:"ghost",loading:n,onClick:a,"aria-label":`Delete ${e.name}`,className:"shrink-0 text-muted-foreground",children:(0,t.jsx)(g.Trash2,{})}):(0,t.jsx)("span",{className:"size-7 shrink-0"})]})]})}function G({skill:e,guard:s}){let[i,l]=(0,k.useState)(""),[r,a]=(0,k.useState)("SKILL.md"),o=(0,k.useRef)(!1);(0,k.useEffect)(()=>s(()=>o.current),[s]);let d=async e=>{let t=i?`${i}/${e.name}`:e.name;"dir"===e.kind?l(t):t===r||(!o.current||await C.notify.confirm({title:"Discard your changes?",description:`What you wrote in ${r?.split("/").pop()} is not saved.`,okText:"Discard",destructive:!0}))&&(o.current=!1,a(t))};return(0,t.jsx)(T.SettingDialogContent,{title:e.name,description:(0,t.jsx)(Y,{skill:e,path:r??i}),children:(0,t.jsxs)("div",{className:"flex h-[36rem] divide-x divide-border/60 overflow-hidden rounded-xl border border-border/60 bg-background",children:[(0,t.jsxs)("div",{className:"flex w-44 shrink-0 flex-col overflow-y-auto bg-muted/20 py-1",children:[i&&(0,t.jsxs)("button",{type:"button",onClick:()=>l(i.split("/").slice(0,-1).join("/")),className:"mx-1 mb-1 flex items-center gap-1 rounded-md px-2 py-1 text-left font-mono text-[11px] text-muted-foreground outline-none hover:bg-muted/50 hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:[(0,t.jsx)(n.ChevronLeft,{className:"size-3 shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:i.split("/").pop()})]}),(0,t.jsx)(J,{source:e.source,dir:e.dir,path:i,current:r,onPick:d})]}),(0,t.jsx)("div",{className:"min-w-0 flex-1 overflow-y-auto",children:r?(0,t.jsx)(X,{source:e.source,dir:e.dir,path:r,editable:E(e.source),onUnsaved:e=>{o.current=e}},r):(0,t.jsx)("p",{className:"p-6 text-sm text-muted-foreground",children:"Pick a file"})})]})})}function Y({skill:e,path:s}){if(!e)return(0,t.jsx)("span",{className:"truncate font-mono text-[11px] text-muted-foreground",children:"Pick a skill"});let i=[e.name,...s.split("/").filter(Boolean)];return(0,t.jsx)("span",{className:"flex min-w-0 items-center gap-1 font-mono text-[11px] text-muted-foreground",children:i.map((e,s)=>(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1",children:[s>0&&(0,t.jsx)(l.ChevronRight,{className:"size-3 shrink-0 opacity-50"}),(0,t.jsx)("span",{className:(0,_.cn)("truncate",s===i.length-1&&"text-foreground"),children:e})]},`${s}-${e}`))})}function Z({icon:e,label:s,active:i,hasChildren:n,onClick:r}){return(0,t.jsxs)("button",{type:"button",onClick:r,className:(0,_.cn)("mx-1 flex items-center gap-1.5 rounded-md px-2 py-1 text-left text-xs outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",i?T.PICKED_ROW:"text-muted-foreground hover:bg-muted/50 hover:text-foreground"),children:[(0,t.jsx)("span",{className:"shrink-0 text-muted-foreground/70 [&>svg]:size-3",children:e}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:s}),n&&(0,t.jsx)(l.ChevronRight,{className:"size-3 shrink-0 text-muted-foreground/50"})]})}function J({source:e,dir:s,path:i,current:n,onPick:l}){let{data:d,isLoading:c,error:u}=(0,W.useServerRoute)(j.queryKey.skillNode(e,s,i));return u?(0,t.jsx)("p",{className:"p-3 font-mono text-xs text-destructive",children:u.message}):c||!d?(0,t.jsxs)("div",{className:"space-y-2 p-2",children:[(0,t.jsx)(L.Skeleton,{className:"h-5 w-full"}),(0,t.jsx)(L.Skeleton,{className:"h-5 w-4/5"})]}):"dir"!==d.kind?null:(0,t.jsxs)(t.Fragment,{children:[d.entries.map(e=>(0,t.jsx)(Z,{icon:"dir"===e.kind?(0,t.jsx)(o.Folder,{}):e.name.endsWith(".md")?(0,t.jsx)(a.FileText,{}):(0,t.jsx)(r.File,{}),label:e.name,hasChildren:"dir"===e.kind,active:(i?`${i}/${e.name}`:e.name)===n,onClick:()=>l(e)},e.name)),0===d.entries.length&&(0,t.jsx)("p",{className:"p-3 text-xs text-muted-foreground",children:"Empty folder"})]})}function Q({content:e,description:s}){let i=/^---\r?\n([\s\S]*?)\r?\n---[ \t]*\r?\n?/.exec(e),n=s?.trim(),l=i?e.slice(i[0].length):e;return(0,t.jsxs)("div",{className:"min-w-0",children:[n&&(0,t.jsx)("p",{className:"border-b border-border/60 px-5 py-3 text-[13px] leading-relaxed text-muted-foreground",children:n}),(0,t.jsx)("div",{className:"px-5 py-4 text-sm leading-relaxed",children:(0,t.jsx)(S.Markdown,{children:l})})]})}function X({source:e,dir:s,path:i,editable:n,onUnsaved:l}){let[r,a]=(0,k.useState)(null),{data:o,isLoading:d,error:c}=(0,W.useServerRoute)(j.queryKey.skillNode(e,s,i)),u=null!==r&&(o?.kind!=="file"||r!==o.content);(0,k.useEffect)(()=>l?.(u),[u,l]);let[m,x]=(0,P.useServerAction)(I,{okMessage:"Saved",onOk:()=>{a(null),(0,W.revalidate)(j.queryKey.skills)}});if(c)return(0,t.jsx)("p",{className:"p-4 font-mono text-xs text-destructive",children:c.message});if(d||!o)return(0,t.jsxs)("div",{className:"space-y-3 p-5",children:[(0,t.jsx)(L.Skeleton,{className:"h-5 w-2/3"}),(0,t.jsx)(L.Skeleton,{className:"h-4 w-full"}),(0,t.jsx)(L.Skeleton,{className:"h-4 w-5/6"})]});if("file"!==o.kind)return null;let f=i.split("/").pop()??"";return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"sticky top-0 z-20 flex items-center justify-between gap-2 border-b border-border/60 bg-background/90 px-5 py-2 font-mono text-[11px] text-muted-foreground backdrop-blur",children:[(0,t.jsx)("span",{className:"truncate",children:f}),(0,t.jsxs)("span",{className:"flex shrink-0 items-center gap-2",children:[(0,t.jsx)("span",{children:(0,_.formatBytes)(o.size)}),n&&null!==o.content&&null===r&&(0,t.jsxs)(y.Button,{size:"xs",variant:"ghost",className:"font-mono",onClick:()=>a(o.content??""),children:[(0,t.jsx)(p,{}),"Edit"]}),null!==r&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.Button,{size:"xs",variant:"ghost",className:"font-mono",onClick:()=>a(null),children:"Cancel"}),(0,t.jsx)(y.Button,{size:"xs",className:"font-mono",loading:x,disabled:r===o.content,onClick:()=>m(e,s,i,r),children:"Save"})]})]})]}),null!==r?(0,t.jsx)(M.Textarea,{value:r,onChange:e=>a(e.target.value),spellCheck:!1,"aria-label":`${f} contents`,className:"min-h-120 resize-none rounded-none border-0 font-mono text-[13px] leading-relaxed shadow-none focus-visible:ring-0"}):null===o.content?(0,t.jsx)("p",{className:"px-5 py-4 text-sm text-muted-foreground",children:o.size>R.SKILL_FILES.inlineBytes?"Too long to show here — a bot still reads it from disk.":"Not a text file — a bot can still read it from disk."}):f.toLowerCase().endsWith(".md")?(0,t.jsx)(Q,{content:o.content,description:o.description}):(0,t.jsx)("pre",{className:"overflow-x-auto px-5 py-4 font-mono text-[13px] leading-relaxed whitespace-pre text-foreground/90",children:o.content})]})}function ee(){return C.notify.component({className:"sm:max-w-lg",renderer:({close:e,guard:s})=>(0,t.jsx)(et,{onDone:e,guard:s})})}function et({onDone:e,guard:s}){let[i,n]=(0,k.useState)("write"),[l,r]=(0,k.useState)(""),[a,o]=(0,k.useState)(""),[d,c]=(0,k.useState)(""),[u,m]=(0,k.useState)(null),[f,h]=(0,k.useState)(!1),p=(0,k.useRef)(null),g=(0,k.useRef)(!1);g.current=!!(l.trim()||a.trim()||d.trim()||u),(0,k.useEffect)(()=>s(()=>g.current),[s]);let v={errorMessage:!1,onOk:()=>{(0,W.revalidate)(j.queryKey.skills),e()}},[S,C,,L]=(0,P.useServerAction)(D,v),[z,$,,A]=(0,P.useServerAction)(q,v),B=C||$,I="write"===i?L:A,K=null!==u&&u.size>R.SKILL_FILES.uploadBytes,E=Math.round(R.SKILL_FILES.uploadBytes/1024/1024),U=!B&&("write"===i?l.trim()&&a.trim()&&d.trim():null!==u&&!K),O=async()=>{if(!U)return;if("write"===i)return void S({name:l.trim(),description:a.trim(),content:d});if(!u)return;let e=new FormData;e.append("file",u),z(e)},H=e=>{let t=e?.[0]??null;t&&m(t)};return(0,t.jsxs)(T.SettingDialogContent,{title:"New skill",description:"Instructions a bot reads when a job calls for them.",footer:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.Button,{variant:"ghost",onClick:e,children:"Cancel"}),(0,t.jsxs)(y.Button,{disabled:!U,loading:B,onClick:O,children:[!B&&("write"===i?(0,t.jsx)(x.Plus,{}):(0,t.jsx)(b,{})),"write"===i?"Create":"Upload"]})]}),children:[(0,t.jsxs)(F.Tabs,{value:i,onValueChange:e=>n(e),children:[(0,t.jsxs)(F.TabsList,{className:"w-full",children:[(0,t.jsx)(F.TabsTrigger,{value:"write",children:"Write"}),(0,t.jsx)(F.TabsTrigger,{value:"upload",children:"Upload"})]}),(0,t.jsxs)(F.TabsContent,{value:"write",className:"space-y-5 pt-4",children:[(0,t.jsxs)(w.Field,{children:[(0,t.jsx)(w.FieldLabel,{htmlFor:"skill-name",children:"Name"}),(0,t.jsxs)(w.FieldContent,{children:[(0,t.jsx)(N.Input,{id:"skill-name",value:l,onChange:e=>r(e.target.value),placeholder:"deploy-checklist",spellCheck:!1,autoFocus:!0}),(0,t.jsxs)("p",{className:"font-mono text-[11px] text-muted-foreground",children:[R.PATHS.skills.custom,"/",l.trim()||"…","/SKILL.md"]})]})]}),(0,t.jsxs)(w.Field,{children:[(0,t.jsx)(w.FieldLabel,{htmlFor:"skill-description",children:"Description"}),(0,t.jsx)(w.FieldContent,{children:(0,t.jsx)(N.Input,{id:"skill-description",value:a,onChange:e=>o(e.target.value),placeholder:"What it does, then when to use it — a bot reads this to decide"})})]}),(0,t.jsxs)(w.Field,{children:[(0,t.jsx)(w.FieldLabel,{htmlFor:"skill-content",children:"Content"}),(0,t.jsx)(M.Textarea,{id:"skill-content",value:d,onChange:e=>c(e.target.value),placeholder:"Markdown. The steps, the rules, the examples.",className:"min-h-40 resize-none font-mono text-xs"})]})]}),(0,t.jsxs)(F.TabsContent,{value:"upload",className:"space-y-4 pt-4",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>p.current?.click(),onDragOver:e=>{e.preventDefault(),h(!0)},onDragLeave:()=>h(!1),onDrop:e=>{e.preventDefault(),h(!1),H(e.dataTransfer.files)},className:(0,_.cn)("flex w-full flex-col items-center gap-2 rounded-xl border border-dashed px-6 py-10 text-center outline-none transition-colors focus-visible:ring-3 focus-visible:ring-ring/50",f?"border-foreground/60 bg-muted/60":"border-border hover:bg-muted/40"),children:[(0,t.jsx)(b,{className:"size-5 text-muted-foreground"}),u?(0,t.jsxs)("span",{className:"text-sm",children:[u.name,(0,t.jsxs)("span",{className:(0,_.cn)("ml-2 font-mono text-[11px]",K?"text-destructive":"text-muted-foreground"),children:[(0,_.formatBytes)(u.size),K&&` \xb7 over ${E} MB`]})]}):(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:"Drop a file here, or click to choose"})]}),(0,t.jsx)("input",{ref:p,type:"file",accept:".md,.zip,.skill",className:"hidden",onChange:e=>H(e.target.files)}),(0,t.jsxs)("div",{className:"space-y-1 text-xs text-muted-foreground",children:[(0,t.jsx)("p",{className:"font-medium text-foreground/80",children:"File requirements"}),(0,t.jsxs)("p",{children:["A ",(0,t.jsx)("span",{className:"font-mono",children:".md"})," file needs a YAML block with the skill's name and description."]}),(0,t.jsxs)("p",{children:["A ",(0,t.jsx)("span",{className:"font-mono",children:".zip"})," or"," ",(0,t.jsx)("span",{className:"font-mono",children:".skill"})," archive needs a SKILL.md inside — the rest of its folder comes along."]}),(0,t.jsxs)("p",{children:["Up to ",E," MB."]})]})]})]}),I&&(0,t.jsx)("p",{className:"font-mono text-xs text-destructive",children:I})]})}e.s(["SkillsSetting",0,function(){let[e,s]=(0,k.useState)(""),{data:i,isLoading:n,error:l}=(0,W.useServerRoute)(j.queryKey.skills),r=i??[];if(n)return(0,t.jsx)(T.SettingSkeleton,{rows:4});if(l)return(0,t.jsx)(T.SettingError,{message:l.message});let a=e.trim().toLowerCase(),o=r.filter(e=>!a||`${e.name} ${e.description}`.toLowerCase().includes(a)),d=r.filter(e=>!e.disabled).length,c=r.filter(e=>!e.disabled&&("default"===e.source||"custom"===e.source)).length,u=new Map;for(let e of o)e.bot&&u.set(e.bot,[...u.get(e.bot)??[],e]);return(0,t.jsxs)(T.SettingScreen,{footer:(0,t.jsxs)(T.SettingRailNote,{children:[r.filter(e=>!E(e.source)).length," ","shipped ·"," ",r.filter(e=>E(e.source)).length," ","installed"]}),children:[(0,t.jsx)(T.SettingToolbar,{count:`${d} on \xb7 ${r.length-d} off`,children:(0,t.jsx)(T.SettingFilter,{value:e,onChange:s,placeholder:"Filter skills"})}),(0,t.jsx)(T.SettingGroup,{label:"Custom",hint:"yours — added here · a Default skill of the same name wins",children:(0,t.jsx)(T.SettingItems,{addRow:{label:"Add skill",onClick:ee},children:o.filter(e=>"custom"===e.source).map(e=>(0,t.jsx)(V,{skill:e},`custom/${e.dir}`))})}),[...u].map(([e,s])=>(0,t.jsx)(T.SettingGroup,{label:`${e}'s own`,hint:`only ${e} reads these \xb7 what it found or wrote can be edited or deleted`,children:(0,t.jsx)(T.SettingItems,{children:s.map(e=>(0,t.jsx)(V,{skill:e},`${e.source}/${e.dir}`))})},e)),(0,t.jsx)(T.SettingGroup,{label:"Default",hint:"ships with the app · switch off, can't edit or delete",children:(0,t.jsx)(T.SettingItems,{children:o.filter(e=>"default"===e.source).map(e=>(0,t.jsx)(V,{skill:e},`default/${e.dir}`))})}),c>R.PROMPT_CROWDED.skills&&(0,t.jsxs)(T.SettingNote,{children:[c," skills are on for every bot. Each is a line in every prompt a bot reads, and one more to look past when it picks."]})]})}],833959)},437750,e=>{"use strict";var t=e.i(456420);let s={name:"app-window",size:24,node:[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]};s.node;let i=(0,t.default)(s);e.s(["AppWindow",0,i],437750)},726067,e=>{"use strict";var t=e.i(456420);let s={name:"folder",size:24,node:[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]};s.node;let i=(0,t.default)(s);e.s(["Folder",0,i],726067)},759659,e=>{"use strict";var t=e.i(456420);let s={name:"trash",size:24,node:[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],aliases:["trash-2"]};s.node;let i=(0,t.default)(s);e.s(["Trash2",0,i],759659)}]);
|