@alook/app 0.1.46 → 0.1.47
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/bundled/email-worker/index.js +2 -2
- package/bundled/queue-worker/index.js +1 -1
- package/bundled/web/.open-next/.build/durable-objects/queue.js +5 -5
- package/bundled/web/.open-next/assets/BUILD_ID +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/{1thqqd8mgk392.js → 0_vlirz00r9q3.js} +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/0fhupcu7gw5-g.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/{00nwwh7t3-94u.js → 0t1fkk2aoe46s.js} +2 -2
- package/bundled/web/.open-next/assets/_next/static/chunks/{0bbbf3c--s4nt.js → 0xd95q8dh9nth.js} +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/{0177g_82selwt.js → 0yvh-4_s35xb-.js} +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/140rz0mf_gln5.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/17_1uj99552co.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/{2lzrcnv3h01ye.js → 188n8dv95gspf.js} +2 -2
- package/bundled/web/.open-next/assets/_next/static/chunks/1t1-4gr4g9-gk.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/1vv8sekkn7ca7.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/2009nt3x08t7f.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/{2h4tal5a8ozdj.css → 21hdf3-tpkomr.css} +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/2axyc5j5bmuu7.js +20 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/2cg05psk59acc.css +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/2l5ipmh5tt-zw.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/{3j04_qzqc8w_l.js → 2mmbu93s7a0m4.js} +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/2pi74q1djax_j.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/2pup1a3f06cvv.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/2rppouots3wnd.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/2umnqrh2lz20p.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/2wol9tomcwmy-.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/{1nztgrf53ss2o.js → 34ad0gln6p9mc.js} +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/3678fpz9w9yx7.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/38-2d78030m_h.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/{2uu-vuh4bhmn-.js → 392tyqmzowh4n.js} +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/{42xemtm1t_inw.js → 3dweor92bn1fg.js} +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/{0yrjoj6i80b13.js → 3fycjvwvjxxe7.js} +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/{0a7ly50c0irhh.js → 3kp4-3im11oyn.js} +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/{1e5hn5ft96mrw.js → 3qwk5pvuky-tc.js} +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/3ud6196bax4yc.js +2 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/{turbopack-3v2fy6lperb7_.js → turbopack-3t97qecmun8ck.js} +1 -1
- package/bundled/web/.open-next/assets/sw.js +1 -1
- package/bundled/web/.open-next/cache/{EYIUufIdDY9MZnN1L4UIr → l7JcQdOJYySajzS1KAORl}/_global-error.cache +1 -1
- package/bundled/web/.open-next/cache/{EYIUufIdDY9MZnN1L4UIr → l7JcQdOJYySajzS1KAORl}/_not-found.cache +1 -1
- package/bundled/web/.open-next/cache/l7JcQdOJYySajzS1KAORl/contact.cache +1 -0
- package/bundled/web/.open-next/cache/{EYIUufIdDY9MZnN1L4UIr → l7JcQdOJYySajzS1KAORl}/device.cache +1 -1
- package/bundled/web/.open-next/cache/{EYIUufIdDY9MZnN1L4UIr → l7JcQdOJYySajzS1KAORl}/onboarding-preview.cache +1 -1
- package/bundled/web/.open-next/cache/{EYIUufIdDY9MZnN1L4UIr → l7JcQdOJYySajzS1KAORl}/pricing-concept.cache +1 -1
- package/bundled/web/.open-next/cache/{EYIUufIdDY9MZnN1L4UIr → l7JcQdOJYySajzS1KAORl}/pricing.cache +1 -1
- package/bundled/web/.open-next/cache/{EYIUufIdDY9MZnN1L4UIr → l7JcQdOJYySajzS1KAORl}/privacy.cache +1 -1
- package/bundled/web/.open-next/cache/{EYIUufIdDY9MZnN1L4UIr → l7JcQdOJYySajzS1KAORl}/serwist/sw.js.cache +1 -1
- package/bundled/web/.open-next/cloudflare/cache-assets-manifest.sql +1 -1
- package/bundled/web/.open-next/cloudflare/init.js +1 -1
- package/bundled/web/.open-next/dynamodb-provider/dynamodb-cache.json +1 -1
- package/bundled/web/.open-next/middleware/handler.mjs +4 -4
- package/bundled/web/.open-next/server-functions/default/src/web/.next/BUILD_ID +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/build-manifest.json +6 -6
- package/bundled/web/.open-next/server-functions/default/src/web/.next/prerender-manifest.json +4 -4
- package/bundled/web/.open-next/server-functions/default/src/web/.next/required-server-files.json +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(auth)/sign-in/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(home)/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/@sidebar/channels/[serverId]/[channelId]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/@sidebar/channels/[serverId]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/@sidebar/channels/[serverId]/settings/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/@sidebar/invite/[token]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/@sidebar/me/[dmId]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/@sidebar/me/bots/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/@sidebar/me/friends/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/@sidebar/me/machines/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/@sidebar/me/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/@sidebar/onboarding-preview/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/@sidebar/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/channels/[serverId]/[channelId]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/channels/[serverId]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/channels/[serverId]/settings/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/invite/[token]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/me/[dmId]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/me/bots/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/me/friends/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/me/machines/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/me/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/onboarding-preview/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/c/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/contact/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/device/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/landing-legacy/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/onboarding-preview/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/pricing/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/pricing-concept/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/privacy/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/templates/[id]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/templates/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[turbopack]_runtime.js +65 -69
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_1ct1usd._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{0iuv_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1-7foy1._.js → 0iuv_@mermaid-js_parser_dist_chunks_mermaid-parser_core_03no4-2._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{0iuv_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1_ivo7r._.js → 0iuv_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0zd2m6u._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{0iuv_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1iexmau._.js → 0iuv_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1jq9i9s._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[root-of-the-server]__024hatd._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[root-of-the-server]__08bo8pg._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[root-of-the-server]__0er5w1y._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[root-of-the-server]__1n1hzgg._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[turbopack]_runtime.js +65 -69
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_00cx5e_._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_00d19_4._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{_0cogu8j._.js → _06jf8-3._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0819w4u._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_086-1v_._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_09v7ppp._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{_127opyy._.js → _0_d2_yz._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0djtnj_._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0fgqn7p._.js +22 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0gt3fqd._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{_1m_bb91._.js → _0kjmsuf._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0laj1vh._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{_0a1covk._.js → _0op1s0h._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0tr5tf8._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0uinku_._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0ulh9qf._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0xvya63._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0zk-6sq._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1-1q6bt._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1-x1xdl._.js +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{_0xp97b1._.js → _117-2e3._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_11h5qp9._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_13xipld._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_15gov5k._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1640_ni._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_17fctb6._.js +22 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1ewek2f._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{_0ljlxsv._.js → _1gakrqx._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1gj8gn1._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{_1b2ol5x._.js → _1gytpb_._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{_1fhm2rs._.js → _1jtz070._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1nm05cr._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1nytmku._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1us65pi._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1w0zw8i._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{_1cx9ua4._.js → _214ta2t._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0-f4fpm._.js → node_modules__pnpm_0097mmd._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0r6z90r._.js → node_modules__pnpm_00eiak_._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0s-z4zf._.js → node_modules__pnpm_01cia-g._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0m2qxgk._.js → node_modules__pnpm_01yk3fx._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1ayb864._.js → node_modules__pnpm_02smzd_._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_00c11_c._.js → node_modules__pnpm_03rxn2x._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0_nw64v._.js → node_modules__pnpm_03wj0t4._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0cvjw9i._.js → node_modules__pnpm_05c5bgp._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0blbev3._.js → node_modules__pnpm_064o-o_._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_11e-npx._.js → node_modules__pnpm_07l09-d._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_09bvy71._.js → node_modules__pnpm_0dori0l._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1mfsik-._.js → node_modules__pnpm_0fgssuc._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0m-2ca1._.js → node_modules__pnpm_0h31fyp._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_08sh6lq._.js → node_modules__pnpm_0iorffo._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1-c3rlj._.js → node_modules__pnpm_0tx0dz2._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1vs8g1m._.js → node_modules__pnpm_0u3tve4._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0-kb9vk._.js → node_modules__pnpm_0un9z0x._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_070fpt8._.js → node_modules__pnpm_0ux1312._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_157gdig._.js → node_modules__pnpm_0vbkpol._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1asgfic._.js → node_modules__pnpm_0wrv_s9._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0b1vf_7._.js → node_modules__pnpm_0yy67gq._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1nq5wvh._.js → node_modules__pnpm_167ic81._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1mib8iw._.js → node_modules__pnpm_16a71ys._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1_et9ao._.js → node_modules__pnpm_1bj-8tf._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1prm9wo._.js → node_modules__pnpm_1dav1ya._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0m7v0y2._.js → node_modules__pnpm_1edc4wg._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0gqxh94._.js → node_modules__pnpm_1g67_l_._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1orcadd._.js → node_modules__pnpm_1h_4uav._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1-dd625._.js → node_modules__pnpm_1kdkhmj._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1y8nnsd._.js → node_modules__pnpm_1kxm1bx._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0fdef--._.js → node_modules__pnpm_1mu5qb5._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1xhq2ni._.js → node_modules__pnpm_1n0a569._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1wj99ai._.js → node_modules__pnpm_1p-jj1h._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1diq3cq._.js → node_modules__pnpm_1rcn3pb._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_07mqf39._.js → node_modules__pnpm_1uaag00._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0-l2dm_._.js → node_modules__pnpm_1ukw6z6._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_08f9ywz._.js → node_modules__pnpm_1v0qc-p._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_03c-uqx._.js → node_modules__pnpm_1xy4aqy._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_1sh8pig._.js → node_modules__pnpm_1xzd_xq._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_09h-4yj._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_0yqt0fx._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_11g9nod._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_web_src_1-ostj6._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_web_src_app_pricing_127grdu._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/middleware-build-manifest.js +6 -6
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/middleware-manifest.json +5 -5
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/server-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/server-reference-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/handler.mjs +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/handler.mjs.meta.json +795 -867
- package/bundled/web/.open-next/server-functions/default/src/web/index.mjs +4 -4
- package/bundled/web/wrangler.toml +1 -1
- package/bundled/ws-do/index.js +2 -2
- package/dist/daemon/index.js +418 -303
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/0ib9uwa0z-dsz.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/0iwup-jnjrnec.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/0yvr7whfqda3q.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/1zpwi6czw7ai-.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/20loivmezlm5a.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/28pnob-12so6n.js +0 -20
- package/bundled/web/.open-next/assets/_next/static/chunks/2i53b9t712-8k.js +0 -2
- package/bundled/web/.open-next/assets/_next/static/chunks/2tqh9wwavuxwq.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/2uwi9gt28dg6t.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/3-m490wvnsr-n.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/30gpw8oi502mg.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/3861y4ak8gkfc.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/39-78ukwmmip3.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/3dbjh1gzez-8i.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/3ekglfdj1praq.css +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/3g8qj_h02jo0x.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/3jtsw1j65-agm.js +0 -1
- package/bundled/web/.open-next/cache/EYIUufIdDY9MZnN1L4UIr/contact.cache +0 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[root-of-the-server]__06dwsqz._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[root-of-the-server]__0a_lhi2._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[root-of-the-server]__0ag1oov._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[root-of-the-server]__1kqvewd._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0b6xa_y._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0fczp2o._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0lkpg4u._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0slfbkf._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0wm9g4g._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0z8ofkn._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1213-9m._.js +0 -22
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_19kvvyn._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1h0ocvt._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1m9xtpd._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1pgfzei._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1tciap9._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1zfcy06._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_web_src_08frtr7._.js +0 -22
- /package/bundled/web/.open-next/assets/_next/static/{EYIUufIdDY9MZnN1L4UIr → l7JcQdOJYySajzS1KAORl}/_buildManifest.js +0 -0
- /package/bundled/web/.open-next/assets/_next/static/{EYIUufIdDY9MZnN1L4UIr → l7JcQdOJYySajzS1KAORl}/_clientMiddlewareManifest.js +0 -0
- /package/bundled/web/.open-next/assets/_next/static/{EYIUufIdDY9MZnN1L4UIr → l7JcQdOJYySajzS1KAORl}/_ssgManifest.js +0 -0
- /package/bundled/web/.open-next/cache/{EYIUufIdDY9MZnN1L4UIr → l7JcQdOJYySajzS1KAORl}/favicon.ico.cache +0 -0
- /package/bundled/web/.open-next/cache/{EYIUufIdDY9MZnN1L4UIr → l7JcQdOJYySajzS1KAORl}/robots.txt.cache +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,174629,e=>{"use strict";var t=e.i(435355),a=e.i(939088);e.i(954194);var r=e.i(686988),n=e.i(908967),s=e.i(870431);let i={office:{id:"office",label:"Work",bots:[{key:"lead",name:"Nora",role:"Work Lead; receive requests, define the deliverable, assign work, track status, and return the final result.",publicBio:"Clarifies work requests, sets priorities, and follows assigned work through to a usable result.",collaboratorNotes:{doer:"carries out scoped work and checks the facts needed for it"},handoff:"Receive work in the public channel, create one post per confirmed task in the tasks forum, assign scoped work to the Doer, and return the final result in that post's thread.",completion:"Confirm the audience, deadline, owner, and next action before calling work complete.",style:"Calm, concise, and organized; ask only for information that changes the work.",boundary:"Do not duplicate the Doer's assigned work, judge coworkers, or send external messages without approval."},{key:"doer",name:"June",role:"Work Doer; carry out confirmed work tasks, check relevant facts, and return clear, usable results.",publicBio:"Does the assigned work and returns clear results that can be checked.",collaboratorNotes:{lead:"owns priority, acceptance criteria, and final delivery"},handoff:"Accept a scoped task from the Lead, do the work and relevant checks, return the result in the task post's thread, and revise concrete findings before handing it back.",completion:"Separate facts, assumptions, and missing information; make the point, decision, owner, and next action clear.",style:"Precise, compact, audience-aware, and comfortable saying when evidence is missing.",boundary:"Do not invent facts, change the agreed goal, set team priorities, or act externally without approval."}]},developer:{id:"developer",label:"Software development",bots:[{key:"lead",name:"Lin",role:"Tech Lead; understand requests, inspect the repo, define acceptance criteria, assign implementation and review, and summarize the result.",publicBio:"Turns requests into executable technical tasks and follows them through verification.",collaboratorNotes:{doer:"implements scoped changes",reviewer:"reproduces problems and independently verifies the result"},handoff:"Receive requests in the public channel, create one post per confirmed issue in the tasks forum, assign implementation to the Builder, then request verification from the Reviewer in that post's thread.",completion:"Mark work ready only after the stated acceptance criteria and relevant checks pass; leave merge and release decisions to the owner.",style:"Direct, technical, and evidence-led; inspect code or reproduce the issue before claiming a cause.",boundary:"Do not compete with the Builder for the same edit, bypass review, merge, deploy, or expand scope without approval."},{key:"doer",name:"Kit",role:"Builder; implement scoped code changes, add or update tests, and document material behavior changes.",publicBio:"Writes code and tests, then hands over a change that can be checked.",collaboratorNotes:{lead:"owns scope and acceptance criteria",reviewer:"reviews the diff and test evidence"},handoff:"Accept a scoped task from the Tech Lead, report changed files and behavior in the task post's thread, run relevant checks, then hand the result to the Reviewer there.",completion:"Provide a reviewable diff, test results, and any known limitation; say clearly when a check could not run.",style:"Prefer small diffs, existing project conventions, and working code over speculative redesigns.",boundary:"Do not rewrite unrelated code, hide failing tests, merge, deploy, or enlarge scope without Lead and owner approval."},{key:"reviewer",name:"Moss",role:"Reviewer; reproduce bugs, inspect diffs, run checks, test edge cases, and report release risk.",publicBio:"Reproduces problems, reviews changes, and checks that they really work.",collaboratorNotes:{lead:"owns the task and final summary",doer:"owns implementation and responds to concrete findings"},handoff:"Review the Builder's result in the task post's thread, return pass or fail with evidence, and send required changes back through the Tech Lead.",completion:"Map verification to the acceptance criteria and distinguish blockers from optional improvements.",style:"Skeptical, specific, and fair; criticize behavior and risk, not the person.",boundary:"Do not rewrite the implementation unless assigned, block over personal style, merge, deploy, or announce the whole task complete."}]},founder:{id:"founder",label:"Building a company",bots:[{key:"lead",name:"Maya",role:"Company Lead; understand company requests, define priorities and desired results, assign work, track progress, and return the final result.",publicBio:"Organizes company work, keeps priorities clear, and follows tasks through to a checked result.",collaboratorNotes:{doer:"carries out scoped company work and returns checkable results"},handoff:"Receive work in the public channel, create one post per confirmed company task in the tasks forum, assign scoped work to the Doer, and return the final result in that post's thread.",completion:"Check that the result meets the owner's request, and state any unresolved question and next action in the task post's thread.",style:"Practical, candid, and persistent about promises and dates; surface contradictions without drama.",boundary:"Do not call yourself a cofounder, make equity or personnel decisions, or present an untested assumption as company truth."},{key:"doer",name:"Sol",role:"Company Doer; carry out confirmed company tasks, check relevant facts, and return practical results that can be checked.",publicBio:"Does scoped company work and returns concrete results with the checks that matter.",collaboratorNotes:{lead:"owns the company brief, priorities, acceptance criteria, and final delivery"},handoff:"Accept scoped work from the Lead, do the work and relevant checks, distinguish facts from assumptions, and return the result in the task post's thread.",completion:"State what was done, what was checked, any limitation, and the next action or open question.",style:"Curious, concrete, economical, and resistant to confirmation bias and generic claims.",boundary:"Do not invent facts, change company priorities, make commitments, or act externally without approval."}]},home:{id:"home",label:"Home and family",bots:[{key:"lead",name:"Olive",role:"Home Coordinator; receive household requests, keep shared tasks organized, collect confirmations, and assign scoped work.",publicBio:"Keeps household plans, timing, and tasks together and reminds everyone what still needs confirmation.",collaboratorNotes:{doer:"does scoped household work and checks the details needed for each task"},handoff:"Receive requests in the public channel, create one post per confirmed household task in the tasks forum, assign scoped work to the Doer, then collect confirmations in that post's thread.",completion:"Record who is involved, the agreed time, decisions still open, and the next person who needs to respond.",style:"Warm, clear, neutral, and easy for nontechnical family members to read.",boundary:"Do not command family members, assign blame, mediate relationships, or reveal one person's private conversation to the household."},{key:"doer",name:"Poppy",role:"Home Doer; work on confirmed household requests, check relevant practical details, and return a useful result.",publicBio:"Helps with household tasks and checks the details needed to get them done.",collaboratorNotes:{lead:"confirms participants, constraints, and final decisions"},handoff:"Ask the Lead for constraints that affect the task, do the scoped work and relevant checks, and return the result in the task post's thread.",completion:"State what was done, what was checked, and what still needs the owner or family to confirm.",style:"Friendly, practical, cautious, and concise; narrow choices instead of flooding the family with options.",boundary:"Do not choose how the family spends money, ignore dietary or accessibility constraints, diagnose medical issues, or make purchases without approval."}]}};function o(e){return e.discriminator?`@${e.name}#${e.discriminator}`:`@${e.name}`}let l={office:"work-room",developer:"dev-room",founder:"founder-room",home:"home-room",operations:"operations-room",custom:"team-room"};async function d({machineId:e,runtime:c,identity:u,userName:h,userDiscriminator:m,checkpoint:p={},onCheckpoint:f,onProgress:g,services:b}){var x;let v;b.assert();let y=p,k=e=>{b.assert(),y={...y,...e},f?.(y)},w=Object.hasOwn(i,x=u)?i[x]:{id:"custom",label:v=x.trim().replace(/[<>`]/g,"").replace(/\s+/g," ").slice(0,80)||"the owner's work",bots:[{key:"lead",role:`Lead for ${v}; receive requests, define the result, assign execution, and return the final answer.`,publicBio:"Leads requests from a clear brief to a finished result.",collaboratorNotes:{doer:"does the scoped work and returns concrete results"},handoff:"Receive requests in the public channel, create one post per confirmed task in the tasks forum, give the Doer a clear scope, and return the final result in that post's thread.",completion:"State the goal, owner, next action, and any unresolved question.",style:"Clear, concise, and practical.",boundary:"Do not expand scope, send externally, spend money, or make irreversible decisions without approval."},{key:"doer",role:`Doer for ${v}; complete scoped work and return concrete, checkable results.`,publicBio:"Does focused work and reports concrete, checkable results.",collaboratorNotes:{lead:"owns the brief, priorities, and final delivery"},handoff:"Accept a scoped task from the Lead, report the work and evidence in the task post's thread, and hand the result back for final delivery.",completion:"Return the requested result, what was checked, and any limitation.",style:"Direct, careful, and action-oriented.",boundary:"Do not change the goal, claim unverified facts, send externally, or announce the whole task complete."}]};g?.("creating-bots");let N=new Map((y.bots??[]).map(e=>[e.key,e]));for(let r of w.bots){if(N.has(r.key))continue;let n=r.name??(0,a.randomBotName)(),s=(0,t.randomBeamAvatar)(),i=await b.request("/api/community/bots",{method:"POST",body:JSON.stringify({name:n,description:r.publicBio,machineId:e,runtime:c,image:s})});if(b.assert(),!i.bot.id)throw Error("Setup progress could not be restored");b.publishBot(i.bot,{name:n,image:s});let o={key:r.key,id:i.bot.id};N.set(r.key,o),k({bots:[...N.values()]})}let j=w.bots.map(e=>N.get(e.key));if(j.some(e=>!e?.id))throw Error("Setup progress could not be restored");if(g?.("creating-room"),!y.serverId){let e=function(e,t){let a=l[t]??l.custom,r=(0,s.slugify)(e);if(!r)return a;let i=n.MAX_SERVER_NAME_LENGTH-a.length-1,o=r.slice(0,i).replace(/-+$/g,"");return o?`${o}-${a}`:a}(h,u);k({serverId:(await b.request("/api/community/servers",{method:"POST",body:JSON.stringify({name:e})})).server.id,requestedServerName:e})}let{serverId:C}=y;if(!C)throw Error("Setup progress could not be restored");if(g?.("inviting-bots"),!y.publicChannelId||!y.privateChannelId||!y.tasksChannelId){let e=await b.readChannels(C);b.assert();let t=e.find(e=>"all"===e.name),a=e.find(e=>"room"===e.name);if(!t||!a)throw Error("The new room is missing its default channels");if(k({publicChannelId:t.id,privateChannelId:a.id}),!t.id||!a.id)throw Error("Default channels could not be restored");if(!y.tasksChannelId){let a=e.find(e=>"tasks"===e.name.toLowerCase());if(a&&("forum"!==a.type||a.categoryId!==t.categoryId))throw Error("The tasks channel must be a public forum beside all");if(!a){let e=await b.request("/api/community/channels",{method:"POST",body:JSON.stringify({serverId:C,name:"tasks",type:"forum",categoryId:t.categoryId})});b.assert(),a=e.channel}if(!a?.id)throw Error("The tasks forum could not be restored");await b.request(`/api/community/servers/${C}/channels/reorder`,{method:"PATCH",body:JSON.stringify({channelIds:[t.id,a.id,...e.filter(e=>e.id!==t.id&&e.id!==a.id).map(e=>e.id)]})}),k({tasksChannelId:a.id})}}let{publicChannelId:I,privateChannelId:S}=y;if(!I||!S)throw Error("Default channels could not be restored");let O=j.map(e=>{let t=w.bots.find(t=>t.key===e.key),a=b.resolveBot(e.id);if(!a?.name)throw Error("Bot identity could not be restored");return{...t,...e,...a}}),D=O.find(e=>"lead"===e.key),A=O.map(e=>({id:e.id,wakePrompt:function({pack:e,bot:t,team:a,ownerHandle:r}){let n=function({pack:e,bot:t,team:a,ownerHandle:r}){let n=a.filter(e=>e.key!==t.key).map(e=>{let a=t.collaboratorNotes[e.key]??"collaborates on shared tasks";return`${o(e)} ${a}`}).join("; ");return[`Owner: ${r}; serve the owner and protect their private context.`,`Starter pack: ${e.label}.`,`Role: ${t.role}`,`Collaborators: ${n}.`,`Handoff: ${t.handoff}`,`Completion: ${t.completion}${"lead"===t.key?` After completing the work, return the final result in the task post's thread, mention ${r}, and ask them to check it.`:""}`,`Style: ${t.style}`,`Boundary: ${t.boundary}`]}({pack:e,bot:t,team:a,ownerHandle:r}),s=["# Welcome to your Alook household","",`You are ${o(t)}. ${t.role}`,"","## Remember who you are","","Update `memory.md` with the durable facts below, one entry per line. Keep unrelated existing entries and skip any line that is already there.","",...n.map(e=>`- ${e.replace(/\s+/g," ").trim()}`),"","## How this team works","","Read the exact public channel listed in the Alook space section below before doing anything else. Create a post in the exact tasks forum listed there only after the owner chooses or assigns concrete work. Keep execution, handoffs, review, and final delivery in that post's thread."];if("lead"===t.key)return s.push("","## Your first move","",`You are the Lead. After saving your memory, read the public channel and review only the recent-context index appended below. Choose only directions that fit your Role. If the recent work has no direct match, use it to develop a direction that still fits your Role. Suggest directions only, without a project summary or extra commentary. Before opening or reading any specific session or project, send one brief message in the public channel that mentions ${r}, explains what you propose to explore and why, and invites the owner to guide or redirect you. Once that message is sent, begin exploring without waiting for a reply. Exploration is read-only: inspect only the relevant sessions or projects, following the selective-reading instructions below. After you finish exploring, send one brief message in the public channel that mentions ${r} and offers up to three concrete directions grounded in what the owner has actually been working on. Then wait for the owner to choose, redirect, or confirm an action. Do not create a task post, assign work, or begin executing any suggestion until the owner confirms concrete work. Do not paste private paths or unrelated content into Alook. If no useful recent context exists, ask the owner what they want to start with and wait instead of inventing generic suggestions. If a Lead already posted the pre-exploration message, do not repeat it. If the Lead already posted action suggestions, do not repeat or begin them; follow the owner's latest guidance.`),s.join("\n");let i="reviewer"===t.key?"Reviewer":"Doer";return s.push("","## Your first move","",`You are the ${i}. Send exactly one short sentence in the public channel that welcomes the owner and introduces you as ${o(t)} with your role. Keep the entire welcome to that single sentence. If you already sent this one-sentence welcome, do not send it again. Speak again only when the Lead assigns work, asks for a handoff or review, or you find a concrete risk that changes the plan. Never announce that the whole task is complete.`),s.join("\n")}({pack:w,bot:e,team:O,ownerHandle:m?`@${(0,r.formatHandle)(h,m)}`:h})}));g?.("preparing-welcome");let R=new Set(y.onboardedBotIds??(y.botsOnboarded?O.map(e=>e.id):[]));for(let e of O)R.has(e.id)||(await b.request(`/api/community/servers/${C}/onboard`,{method:"POST",body:JSON.stringify({bots:A,leadBotId:D.id,action:{type:"wake",botId:e.id}})}),R.add(e.id),k({onboardedBotIds:[...R]}));return y.botsOnboarded||(await b.request(`/api/community/servers/${C}/onboard`,{method:"POST",body:JSON.stringify({bots:A,leadBotId:D.id,action:{type:"finalize"}})}),k({botsOnboarded:!0})),y.leadAddedToPrivate||(await b.request(`/api/community/channels/${S}/members`,{method:"POST",body:JSON.stringify({userId:D.id})}),k({leadAddedToPrivate:!0})),b.assert(),{serverId:C,publicChannelId:I,privateChannelId:S,leadBotId:D.id,bots:j}}e.s(["ONBOARDING_INITIALIZATION_LABEL",0,{"creating-bots":"Creating your bots","creating-room":"Creating your server","inviting-bots":"Inviting your bots","preparing-welcome":"Preparing your first conversation"},"ONBOARDING_INITIALIZATION_STEPS",0,["creating-bots","creating-room","inviting-bots","preparing-welcome"],"initializeCommunityOnboarding",0,d],174629)},597574,e=>{"use strict";var t=e.i(237649),a=e.i(561261),r=e.i(382416),n=e.i(362790),s=e.i(159514),i=e.i(193497),o=e.i(51201);e.i(954194);var l=e.i(846367),d=e.i(303706),c=e.i(857693),u=e.i(506607),h=e.i(110696),m=e.i(855372),p=e.i(186339),f=e.i(779646),g=e.i(462553),b=e.i(617527),x=e.i(381153);e.s(["OnboardingMachineDialog",0,function({open:e,harness:v,harnessLabel:y,onConnected:k,onChooseAnotherHarness:w,onManageMachines:N,previewConnectedMachine:j,previewCommand:C}){let I=(0,i.useCommunityMutationOrigin)(),S=(0,s.useQueryClient)(),O=(0,g.useJoinServer)(),D=(0,o.useCommunityViewSource)(`onboarding-machine:${v}`,e),{machines:A,isSuccess:R,refetch:T}=(0,b.useMachines)({enabled:e,subscribed:e,refetchInterval:t=>!(!e||j||C||t.state.data?.machines.some(e=>(0,l.isPresenceOnline)(e.status)&&e.availableRuntimes.some(e=>e.id===v&&"unhealthy"!==e.status)))&&2e3}),B=(0,r.useMemo)(()=>A.find(e=>(0,l.isPresenceOnline)(e.status)),[A]),E=(0,r.useMemo)(()=>A.find(e=>(0,l.isPresenceOnline)(e.status)&&e.availableRuntimes.some(e=>e.id===v&&"unhealthy"!==e.status)),[v,A]),P=j||E?null:B,L=P?.availableRuntimes.find(e=>e.id===v)?.lastError,$=(0,a.useCreateAtom)(null),M=(0,a.useCreateAtom)(null),q=j?.id??E?.id;(0,r.useEffect)(()=>{e?q&&M.get()!==D.signal&&(D.capture()(),M.set(D.signal),k(q)):M.set(null)},[e,q,D,k,M]);let z=(0,n.useMutation)({meta:{observabilityAction:"machine.pair.generate"},mutationKey:["community","onboarding-machine-pair",v],gcTime:0,mutationFn:async({token:e,assert:t})=>{t();let a=await I.request(e,"/api/community/machines/pair",{method:"POST",signal:t.signal,assertActive:t});return t(),a}}),F=z.variables?.assert.signal===D.signal,_=F&&z.isPending,H=F?z.data?.tokenId:void 0,V=F?z.error:null,J=V instanceof Error&&"MACHINE_LIMIT_REACHED"===V.message,K=!V||J||V instanceof DOMException&&"AbortError"===V.name?null:"Couldn’t prepare the command. Try again.",Y=z.mutateAsync,W=(0,r.useCallback)(async()=>{if(_||S.getMutationCache().find({mutationKey:["community","onboarding-machine-pair",v],status:"pending",predicate:e=>e.state.variables?.assert?.signal===D.signal}))return;let e=I.begin().token,t=D.capture();t();try{await Y({token:e,assert:t})}catch(e){try{t()}catch{return}e instanceof Error&&"MACHINE_LIMIT_REACHED"===e.message&&T({cancelRefetch:!1})}},[_,S,v,I,D,Y,T]);(0,r.useEffect)(()=>{e?$.get()===D.signal||!R||B||j||C||H||_||J||K||($.set(D.signal),W()):$.set(null)},[W,K,_,R,J,B,e,j,C,H,D.signal,$]);let G=async()=>{if(O.isPending)return;let e=D.capture();e();try{await O.mutateAsync({inviteCode:"nC7ax53lwm"}),e(),u.toast.success("Joined Alook Support")}catch{try{e()}catch{return}}},Z=H?(0,h.buildPairCommand)(H):"",U=j?"npx --yes @alook/daemon@latest daemon start --machine-key preview-machine-key":C??Z,Q=async()=>{if(!U)return;let e=D.capture();e();try{await navigator.clipboard.writeText(U),e(),u.toast.success("Command copied")}catch{try{e()}catch{return}u.toast.error("Copy failed")}};return(0,t.jsx)(f.Dialog,{open:e,children:(0,t.jsxs)(f.DialogContent,{"data-testid":x.tid.onboardingMachineDialog,showCloseButton:!1,overlayClassName:"bg-black/20 supports-backdrop-filter:backdrop-blur-sm",className:"max-h-[calc(100dvh-2rem)] gap-0 overflow-y-auto border-0 p-0 shadow-(--e2) ring-0 thin-scrollbar sm:max-w-lg",children:[(0,t.jsxs)(f.DialogHeader,{className:"gap-4 px-4 pt-4 pb-4 sm:px-6 sm:pt-6 sm:pb-6",children:[(0,t.jsx)("div",{className:"grid grid-cols-3 gap-1","aria-label":"Step 2 of 3",children:[1,2,3].map(e=>(0,t.jsx)("span",{className:e<=2?"h-1 rounded-full bg-primary":"h-1 rounded-full bg-muted"},e))}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)(f.DialogTitle,{className:"flex flex-wrap items-center gap-x-2 text-2xl leading-tight font-semibold tracking-tight",children:P?(0,t.jsxs)(t.Fragment,{children:[y," isn’t ready"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:"Connect your"}),(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 whitespace-nowrap",children:[(0,t.jsx)(m.ProviderLogo,{provider:v,className:"size-5"}),y]}),(0,t.jsx)("span",{children:"machine"})]})}),(0,t.jsx)(f.DialogDescription,{className:P?"flex items-center gap-2 text-sm leading-relaxed":"max-w-[52ch] leading-relaxed",children:P?(0,t.jsxs)(t.Fragment,{children:["Computer is connected",(0,t.jsx)(d.Check,{"aria-hidden":!0,className:"size-4 shrink-0"})]}):"Run one command. We’ll continue when it’s online."})]})]}),(0,t.jsx)("div",{className:"flex flex-col gap-4 px-4 pb-4 sm:px-6 sm:pb-6",children:P?(0,t.jsxs)("section",{"data-testid":x.tid.onboardingRuntimeUnavailable,className:"flex flex-col gap-4",role:"status",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg bg-muted/40 p-4",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-foreground",children:"Agent detection failed"}),L?(0,t.jsx)("code",{className:"font-mono text-sm leading-relaxed wrap-anywhere text-destructive",children:L}):(0,t.jsx)("p",{className:"text-sm leading-relaxed text-muted-foreground",children:"The selected agent wasn’t detected as available."})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)("p",{className:"text-base leading-relaxed text-foreground",children:["Install or fix ",y,", then restart the Alook daemon from a terminal where ",y," works."]}),(0,t.jsx)("p",{className:"text-sm leading-relaxed text-muted-foreground",children:"Setup continues automatically when it’s ready."})]}),O.isError?(0,t.jsx)("p",{role:"alert",className:"text-sm leading-relaxed text-destructive",children:"Couldn’t join Alook Support. Try again."}):O.data?(0,t.jsx)("p",{className:"text-sm leading-relaxed text-muted-foreground",children:"You’ve joined Alook Support. Open it in a new tab to report the detection error."}):null]}):J&&!E?(0,t.jsxs)("section",{role:"alert",className:"flex flex-col gap-3 rounded-xl border border-warning/30 bg-warning/5 p-4",children:[(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)(c.CircleAlert,{"aria-hidden":!0,className:"mt-0.5 size-5 shrink-0 text-warning"}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-1",children:[(0,t.jsx)("h3",{className:"text-sm font-medium text-foreground",children:"Machine limit reached"}),(0,t.jsx)("p",{className:"text-sm leading-relaxed text-muted-foreground",children:"Your plan can’t connect another machine. Choose a harness already available on an online machine, or manage your machines and restart setup."})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:justify-end",children:[(0,t.jsx)(p.Button,{type:"button",variant:"outline",onClick:w,children:"Choose another harness"}),(0,t.jsx)(p.Button,{type:"button",onClick:N,children:"Manage machines"})]})]}):(0,t.jsx)(h.PairMachineSteps,{command:U,generating:!j&&!C&&(!R||_||!Z&&!K),generationError:K,onRetry:()=>void W(),onCopy:()=>void Q(),connectedHostname:j?.hostname??(E?E.hostname||"Your machine":null),headingAs:"div",concise:!0})}),(0,t.jsx)(f.DialogFooter,{className:"m-0 rounded-b-xl border-0 bg-transparent px-4 py-4 sm:px-6",children:P?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.Button,{type:"button",variant:"outline",className:"h-11 w-full sm:h-9 sm:w-auto","data-testid":x.tid.onboardingChooseHarness,onClick:w,children:"Choose another agent"}),O.data?(0,t.jsx)("a",{href:`/c/channels/${O.data.serverId}`,target:"_blank",rel:"noopener noreferrer","data-testid":x.tid.onboardingOpenSupport,className:(0,p.buttonVariants)({className:"h-11 w-full sm:h-9 sm:w-auto"}),children:"Open Alook Support"}):(0,t.jsx)(p.Button,{type:"button",className:"h-11 w-full sm:h-9 sm:w-auto","data-testid":x.tid.onboardingJoinSupport,disabled:O.isPending,onClick:()=>void G(),children:O.isPending?"Joining…":"Need Help"})]}):(0,t.jsx)(p.Button,{type:"button",className:"h-11 w-full sm:h-9 sm:w-auto",disabled:!j&&!E,onClick:()=>{D.capture()();let e=j?.id??E?.id;e&&k(e)},children:"Continue"})})]})})}])},60115,415941,16820,639206,e=>{"use strict";var t=e.i(237649),a=e.i(382416),r=e.i(233553),n=e.i(836135);e.s(["LoaderCircleIcon",()=>n.default],415941);var n=n,s=e.i(642283),s=s,i=e.i(441448);e.s(["RefreshCwIcon",()=>i.default],16820);var i=i,o=e.i(186339),l=e.i(855372),d=e.i(779646),c=e.i(410763),u=e.i(903477);e.s([],973760),e.i(973760);var h=e.i(512042),m=e.i(473444),p=e.i(239786),f=e.i(251412),g=e.i(28972),b=e.i(685350),x=e.i(557490),v=e.i(353644);let y={checked:e=>e?{"data-checked":""}:{"data-unchecked":""},...x.transitionStatusMapping,...v.fieldValidityMapping};var k=e.i(27947),w=e.i(891508),N=e.i(11897),j=e.i(501301),C=e.i(487529),I=e.i(892265),S=e.i(618910),O=e.i(161515),D=e.i(90164),A=e.i(834985),R=e.i(850835);let T=a.createContext(void 0);var B=e.i(592781),E=e.i(758737);let P=a.createContext(void 0),L=a.forwardRef(function(e,r){let{render:n,className:s,disabled:i=!1,readOnly:o=!1,required:l=!1,"aria-labelledby":d,value:c,inputRef:u,nativeButton:x=!1,id:v,style:E,...L}=e,$=a.useContext(T),{disabled:M,readOnly:q,required:z,form:F,checkedValue:_,touched:H=!1,validation:V,name:J,setCheckedValue:K=f.NOOP,setTouched:Y=f.NOOP,registerInputRef:W=f.NOOP}=$??{},{setTouched:G,setFilled:Z,state:U,disabled:Q}=(0,S.useFieldRootContext)(),X=(0,O.useFieldItemContext)(),{labelId:ee,getDescriptionProps:et}=(0,D.useLabelableContext)(),ea=Q||X.disabled||M||i,er=q||o,en=z||l,es=$?_===c:""===c,ei=a.useRef(null),eo=a.useRef(null),el=V?.registerInput,ed=a.useCallback(e=>el?.(e,{controlRef:ei,value:void 0}),[el]),ec=(0,h.useMergedRefs)(u,eo,W,ed);(0,m.useIsoLayoutEffect)(()=>{eo.current?.checked&&Z(!0)},[Z]),(0,m.useIsoLayoutEffect)(()=>{if(eo.current){if(ea&&es)return void W(null);W(eo.current)}},[es,ea,W]);let eu=(0,w.useBaseUiId)(),eh=(0,R.useLabelableId)({id:v}),em=x?void 0:eh,ep={role:"radio","aria-checked":es,"aria-labelledby":(0,A.useAriaLabelledBy)(d,ee,eo,!x,em),[C.ACTIVE_COMPOSITE_ITEM]:es?"":void 0,id:x?eh:eu,onKeyDown(e){"Enter"===e.key&&e.preventDefault()},onClick(e){if(e.defaultPrevented||ea||er)return;e.preventDefault();let t=eo.current;t&&(0,k.dispatchClickWithModifiers)(t,e)},onFocus(e){e.defaultPrevented||ea||er||!H||(eo.current?.click(),Y(!1))}},{getButtonProps:ef,buttonRef:eg}=(0,j.useButton)({disabled:ea,native:x,composite:!1}),eb={type:"radio",ref:ec,form:F,id:em,name:J,tabIndex:-1,style:J?p.visuallyHiddenInput:p.visuallyHidden,"aria-hidden":!0,...void 0!==c?{value:(0,B.serializeValue)(c)}:f.EMPTY_OBJECT,disabled:ea,checked:es,required:en,readOnly:er,onChange(e){if(e.nativeEvent.defaultPrevented||ea||er||void 0===c)return;let t=(0,g.createChangeEventDetails)(b.REASONS.none,e.nativeEvent);K(c,t),t.isCanceled||G(!0)},onClick(e){e.stopPropagation()},onFocus(){ei.current?.focus()}},ex=a.useMemo(()=>({...U,required:en,disabled:ea,readOnly:er,checked:es}),[U,ea,er,es,en]),ev=void 0!==$,ey=[r,ei,eg],ek=[ep,L,ef,et,V?e=>V.getValidationProps(ea,e):f.EMPTY_OBJECT],ew=(0,N.useRenderElement)("span",e,{enabled:!ev,state:ex,ref:ey,props:ek,stateAttributesMapping:y});return(0,t.jsxs)(P.Provider,{value:ex,children:[ev?(0,t.jsx)(I.CompositeItem,{tag:"span",render:n,className:s,style:E,state:ex,refs:ey,props:ek,stateAttributesMapping:y}):ew,(0,t.jsx)("input",{...eb,suppressHydrationWarning:!0})]})});var $=e.i(236329),M=e.i(206822);let q=a.forwardRef(function(e,t){let{render:r,className:n,style:s,keepMounted:i=!1,...o}=e,l=function(){let e=a.useContext(P);if(void 0===e)throw Error((0,E.default)(52));return e}(),d=l.checked,{mounted:c,transitionStatus:u,setMounted:h}=(0,M.useTransitionStatus)(d),m={...l,transitionStatus:u},p=a.useRef(null),f=(0,N.useRenderElement)("span",e,{ref:[t,p],state:m,props:o,stateAttributesMapping:y});return((0,$.useOpenChangeComplete)({batch:!0,enabled:!d,open:d,ref:p,onComplete(){d||h(!1)}}),i||c)?f:null});e.s(["Indicator",0,q,"Root",0,L],364224);var z=e.i(364224),z=z,F=e.i(665308),_=e.i(747054),H=e.i(553796),V=e.i(157020),J=e.i(29476),K=e.i(796739),Y=e.i(458742),W=e.i(496747),G=e.i(647978),Z=e.i(769971);let U=[V.SHIFT],Q=a.forwardRef(function(e,r){let{render:n,className:s,disabled:i,readOnly:o,required:l,onValueChange:d,value:c,defaultValue:u,form:h,name:m,inputRef:p,id:f,style:g,...b}=e,{setTouched:x,setFocused:y,validationMode:k,name:N,disabled:j,state:C,validation:I,setDirty:O,setFilled:A,validityData:R}=(0,S.useFieldRootContext)(),{labelId:B}=(0,D.useLabelableContext)(),{clearErrors:E,elementRef:P}=(0,G.useFormContext)(),L=(0,W.useFieldsetRootContext)(!0),$=j||i,M=N??m,q=(0,w.useBaseUiId)(f),[z,V]=(0,F.useControlled)({controlled:c,default:u,name:"RadioGroup",state:"value"}),[Q,X]=a.useState(!1),ee=(0,_.useStableCallback)((e,t)=>{d?.(e,t),t.isCanceled||V(e)}),et=I.getInputControl,ea=a.useMemo(()=>({get current(){return et()}}),[et]),er=a.useRef(null),en=a.useRef(null);function es(e){let t;return p&&("function"==typeof p?t=p(e):p.current=e),er.current=e,t}let ei=(0,_.useStableCallback)(e=>{if(!e||e.disabled)return;en.current||(en.current=e);let t=er.current,a=e.checked||null==t||t.disabled?es(e):void 0;return()=>{en.current===e&&(en.current=null),er.current===e?a?(a(),er.current=null):es(null):a?.()}}),eo=(0,_.useStableCallback)(()=>{let e=P.current;if(!e)return z??null;for(let t of I.registeredInputs.keys())if(t.checked&&(0,Y.isEligibleInput)(t,e))return z??null;return null});(0,K.useRegisterFieldControl)(ea,q,z??null,eo,!$,m),(0,Z.useValueChanged)(z,()=>{E(M),O(z!==R.initialValue),A(null!=z),I.change(z);let e=en.current;null==z&&e&&!e.disabled&&es(e)});let el=B??L?.legendId,ed={...C,disabled:$??!1,required:l??!1,readOnly:o??!1},ec=a.useMemo(()=>({checkedValue:z,disabled:$,form:h,validation:I,name:M,readOnly:o,registerInputRef:ei,required:l,setCheckedValue:ee,setTouched:X,touched:Q}),[z,$,h,I,M,o,ei,l,ee,X,Q]);return(0,t.jsx)(T.Provider,{value:ec,children:(0,t.jsx)(J.CompositeRoot,{render:n,className:s,style:g,state:ed,props:[{id:f,role:"radiogroup","aria-required":l||void 0,"aria-disabled":$||void 0,"aria-readonly":o||void 0,"aria-labelledby":el,onFocus(){y(!0)},onBlur(e){(0,H.contains)(e.currentTarget,e.relatedTarget)||(x(!0),y(!1),"onBlur"===k&&I.commit(z))},onKeyDownCapture(e){e.key.startsWith("Arrow")&&(X(!0),y(!0))}},b,e=>I.getValidationProps($??!1,e)],refs:[r],stateAttributesMapping:v.fieldValidityMapping,enableHomeAndEndKeys:!1,modifierKeys:U})})});var X=e.i(613349);function ee({className:e,...a}){return(0,t.jsx)(Q,{"data-slot":"radio-group",className:(0,X.cn)("grid w-full gap-2",e),...a})}function et({className:e,...a}){return(0,t.jsx)(z.Root,{"data-slot":"radio-group-item",className:(0,X.cn)("group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-input outline-none group-has-focus-visible/field-label:ring-0 group-has-focus-visible/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-focus-visible/field-label:data-checked:border-primary dark:data-checked:bg-primary",e),...a,children:(0,t.jsx)(z.Indicator,{"data-slot":"radio-group-indicator",className:"flex size-4 items-center justify-center",children:(0,t.jsx)("span",{className:"absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-current"})})})}function ea(e,t){return`${e}-${t.replace(/[^a-zA-Z0-9_-]/g,"-")}`}let er=["bg-(--te)","bg-(--ti)","bg-(--tc)"];e.s(["OnboardingSelectDialog",0,function({open:e,onOpenChange:h,step:m,title:p,description:f,options:g,value:b,onValueChange:x,customOption:v,customValue:y="",onCustomValueChange:k,submitLabel:w,loadingLabel:N="Saving…",onSubmit:j,secondaryLabel:C,onSecondaryAction:I,refreshLabel:S="Refresh options",onRefresh:O,refreshing:D=!1,status:A="idle",feedback:R,disabled:T=!1,dismissible:B=!1,testId:E,optionTestId:P}){let L=(0,a.useId)(),$="loading"===A||D,M=T||$||"success"===A,q=b===v?.value,z=q?y.trim():b,F=!!z,_="error"===A;return(0,t.jsx)(d.Dialog,{open:e,onOpenChange:e=>{(e||B)&&h(e)},children:(0,t.jsx)(d.DialogContent,{"data-testid":E,showCloseButton:B,overlayClassName:"bg-black/20 supports-backdrop-filter:backdrop-blur-sm",className:"max-h-[calc(100dvh-2rem)] gap-0 overflow-y-auto border-0 p-0 shadow-(--e2) ring-0 thin-scrollbar sm:max-w-xl",initialFocus:!1,"aria-busy":$,children:(0,t.jsxs)("form",{onSubmit:e=>{e.preventDefault(),F&&!M&&j(z)},children:[(0,t.jsxs)(d.DialogHeader,{className:"gap-4 px-4 pt-4 pb-4 sm:px-6 sm:pt-6 sm:pb-6",children:[m?(0,t.jsx)("div",{className:"flex gap-1.5","aria-label":`Step ${m.current} of ${m.total}`,children:Array.from({length:m.total},(e,a)=>(0,t.jsx)("span",{className:(0,X.cn)("h-1.5 flex-1 rounded-full transition-colors",a<m.current?er[a%er.length]:"bg-muted")},a))}):null,O?(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsxs)(o.Button,{type:"button",variant:"ghost",size:"sm",className:"h-11 px-2 text-muted-foreground sm:h-8",onClick:O,disabled:M,children:[(0,t.jsx)(i.default,{className:(0,X.cn)(D&&"animate-spin motion-reduce:animate-none")}),S]})}):null,(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)(d.DialogTitle,{className:"text-2xl leading-tight font-semibold tracking-tight",children:p}),f?(0,t.jsx)(d.DialogDescription,{className:"max-w-[56ch] leading-relaxed",children:f}):null]})]}),(0,t.jsxs)("div",{className:"px-4 pb-4 sm:px-6 sm:pb-6",children:[(0,t.jsxs)(c.FieldSet,{disabled:M,children:[(0,t.jsx)(ee,{value:b,onValueChange:e=>{var t;let a=(t={value:b,customValue:y},{value:e,customValue:e===v?.value?t.customValue:""});x(a.value),a.customValue!==y&&k?.(a.customValue)},disabled:M,"aria-invalid":_||void 0,"aria-label":p,className:"gap-3",children:(0,t.jsx)("div",{className:"grid grid-cols-1 gap-2 sm:grid-cols-2",children:g.map(e=>{let a=ea(L,e.value),r=b===e.value,n=e.icon;return(0,t.jsx)(c.FieldLabel,{"data-testid":P?.(e.value),htmlFor:a,"data-disabled":e.disabled||M||void 0,"data-selected":r||void 0,className:(0,X.cn)("min-h-14 cursor-pointer justify-center rounded-lg border-0 bg-transparent px-2 py-3 text-left shadow-none transition-colors duration-150 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border-0 *:data-[slot=field]:p-0 hover:bg-accent/50 active:bg-accent has-focus-visible:ring-3 has-focus-visible:ring-ring/40 data-[disabled=true]:cursor-not-allowed data-[disabled=true]:bg-muted/40 data-[disabled=true]:text-muted-foreground",r&&"bg-accent"),children:(0,t.jsxs)(c.Field,{orientation:"horizontal",className:"items-center gap-3 has-[>[data-slot=field-content]]:items-center",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"grid size-5 shrink-0 place-items-center text-foreground",children:e.provider?(0,t.jsx)(l.ProviderLogo,{provider:e.provider,className:"size-5"}):n?(0,t.jsx)(n,{className:"size-5"}):(0,t.jsx)("span",{className:"text-xs font-semibold uppercase",children:e.label.slice(0,1)})}),(0,t.jsxs)(c.FieldContent,{children:[(0,t.jsx)(c.FieldTitle,{children:e.label}),e.description?(0,t.jsx)(c.FieldDescription,{children:e.description}):null]}),(0,t.jsx)(et,{id:a,value:e.value,disabled:e.disabled||M,"aria-invalid":_||void 0,className:"shrink-0"})]})},e.value)})})}),v?(0,t.jsx)(c.Field,{className:"pt-1",children:(0,t.jsxs)(c.FieldLabel,{htmlFor:ea(L,`${v.value}-input`),className:"flex min-h-14 w-full items-center gap-3 px-2 text-sm font-medium",children:[(0,t.jsx)(s.default,{"aria-hidden":!0,className:"size-5 shrink-0"}),(0,t.jsx)("span",{className:"shrink-0",children:v.label}),(0,t.jsx)(u.Input,{"data-testid":P?.(v.value),id:ea(L,`${v.value}-input`),value:y,onChange:e=>{var t;let a=(t=e.target.value,{value:v.value,customValue:t});x(a.value),k?.(a.customValue)},placeholder:v.placeholder,autoComplete:"organization-title",disabled:M,"aria-invalid":q&&_||void 0,className:(0,X.cn)("h-9 min-w-0 max-w-xs flex-1 rounded-none border-0 border-b bg-transparent px-0 shadow-none focus-visible:border-foreground focus-visible:ring-0 disabled:bg-transparent dark:bg-transparent dark:disabled:bg-transparent",q?"border-foreground":"border-input")})]})}):null]}),R?(0,t.jsxs)("div",{"aria-live":"polite",className:"mt-4 flex items-start gap-2 text-sm",children:["error"===A?(0,t.jsx)(c.FieldError,{children:R}):null,"success"===A?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-foreground",children:[(0,t.jsx)(r.CheckIcon,{className:"mt-0.5 size-4 shrink-0"}),R]}):null]}):null]}),(0,t.jsxs)(d.DialogFooter,{className:"m-0 rounded-none border-0 bg-transparent px-4 py-4 sm:px-6",children:[C&&I?(0,t.jsx)(o.Button,{type:"button",variant:"ghost",className:"h-11 sm:h-9",onClick:I,disabled:$,children:C}):null,(0,t.jsxs)(o.Button,{type:"submit",className:"h-11 w-full sm:h-9 sm:w-auto",disabled:!F||M,children:["loading"===A?(0,t.jsx)(n.default,{className:"animate-spin motion-reduce:animate-none"}):"success"===A?(0,t.jsx)(r.CheckIcon,{}):null,"loading"===A?N:w]})]})]})})})}],60115);var en=e.i(494609);e.s(["CheckCircle2Icon",()=>en.default],639206)},490367,e=>{"use strict";var t=e.i(237649),a=e.i(972115),r=e.i(639206),n=e.i(415941),s=e.i(16820);e.i(400175);var i=e.i(209274),o=e.i(934270),l=e.i(186339),d=e.i(779646),c=e.i(381153),u=e.i(280958),h=e.i(86694),m=e.i(351777),p=e.i(174629);function f({id:e}){let a=(0,m.readCommunityProfile)((0,h.useCanonicalCommunityProfile)(e),e);return(0,t.jsx)(i.ProfileAvatar,{label:a.name,seed:e,src:a.avatar,size:20,className:"ring-2 ring-popover"})}e.s(["OnboardingStatusDialog",0,function({status:e,currentStep:i,checkpoint:m={},detail:g,onRetry:b,onContinue:x}){let v=p.ONBOARDING_INITIALIZATION_STEPS.indexOf(i),y=(0,h.useCanonicalCommunityServer)(m.serverId),k=y?.name??m.requestedServerName??"Your server",w=p.ONBOARDING_INITIALIZATION_STEPS.slice(0,"success"===e?p.ONBOARDING_INITIALIZATION_STEPS.length:v+1);return(0,t.jsx)(d.Dialog,{open:!0,children:(0,t.jsxs)(d.DialogContent,{"data-testid":c.tid.onboardingInitializeStatus,showCloseButton:!1,overlayClassName:"bg-black/20 supports-backdrop-filter:backdrop-blur-sm",className:"gap-0 overflow-hidden border-0 p-0 shadow-(--e2) ring-0 sm:max-w-md","aria-busy":"loading"===e,children:[(0,t.jsxs)(d.DialogHeader,{className:"gap-4 px-4 pt-4 pb-4 sm:px-6 sm:pt-6 sm:pb-6",children:[(0,t.jsxs)("div",{className:"grid grid-cols-3 gap-1","aria-label":"Step 3 of 3",children:[(0,t.jsx)("span",{className:"h-1 rounded-full bg-(--te)"}),(0,t.jsx)("span",{className:"h-1 rounded-full bg-(--ti)"}),(0,t.jsx)("span",{className:"h-1 rounded-full bg-(--tc)"})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)(d.DialogTitle,{className:"flex flex-wrap items-center gap-x-2 text-2xl leading-tight font-semibold tracking-tight",children:["success"===e?(0,t.jsx)("span",{children:"Your"}):(0,t.jsx)("span",{children:"Building your"}),(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 whitespace-nowrap",children:[(0,t.jsx)(a.default,{src:"/icon-192.png",alt:"","aria-hidden":!0,width:20,height:20,className:"size-5 object-contain"}),"success"===e?"room":"bot room"]}),"success"===e?(0,t.jsx)("span",{children:"is ready"}):null]}),(0,t.jsx)(d.DialogDescription,{className:"leading-relaxed",children:"loading"===e?"Follow along as your room comes together.":g})]})]}),(0,t.jsx)("div",{className:"px-4 pb-4 sm:px-6 sm:pb-6",children:(0,t.jsx)("ol",{role:"error"===e?"alert":"status","aria-live":"polite","aria-label":"Setup progress",className:"space-y-0 px-1",children:w.map((a,i)=>{let l="success"===e||i<v,d="error"===e&&i===v;return(0,t.jsxs)("li",{className:"relative grid min-h-9 grid-cols-[1.25rem_minmax(0,1fr)] items-center gap-3 pb-3 last:min-h-5 last:pb-0 motion-safe:animate-in motion-safe:fade-in-0 motion-safe:slide-in-from-top-1 motion-safe:duration-200 motion-reduce:animate-none",children:[i<w.length-1?(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute top-5 -bottom-3 left-[0.59375rem] w-px bg-border"}):null,(0,t.jsx)("span",{className:"relative z-10 flex size-5 items-center justify-center bg-popover",children:l?(0,t.jsx)(r.CheckCircle2Icon,{className:"size-5 text-foreground","aria-hidden":!0}):d?(0,t.jsx)(s.RefreshCwIcon,{className:"size-5 text-destructive","aria-hidden":!0}):(0,t.jsx)(n.LoaderCircleIcon,{className:"size-5 animate-spin text-muted-foreground motion-reduce:animate-none","aria-hidden":!0})}),(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,t.jsx)("p",{className:d?"min-w-0 font-medium leading-5 text-destructive":"min-w-0 font-medium leading-5",children:p.ONBOARDING_INITIALIZATION_LABEL[a]}),l&&"creating-bots"===a&&m.bots?.length?(0,t.jsx)("span",{className:"flex shrink-0 -space-x-1","aria-label":"Bots created",children:m.bots.map(e=>(0,t.jsx)(f,{id:e.id},e.id))}):null,l&&"creating-room"===a&&m.serverId?(0,t.jsx)("span",{className:"shrink-0","aria-label":"Server created",children:(0,t.jsx)(o.ServerIcon,{id:m.serverId,name:k,initial:(0,u.avatarInitial)(k),size:20,className:"rounded-md"})}):null]})]},a)})})}),"loading"!==e?(0,t.jsx)(d.DialogFooter,{className:"m-0 rounded-b-xl border-0 bg-transparent px-4 py-4 sm:px-6",children:"error"===e?(0,t.jsxs)(l.Button,{type:"button",className:"h-11 sm:h-9",onClick:b,"data-testid":c.tid.onboardingInitializeRetry,children:[(0,t.jsx)(s.RefreshCwIcon,{}),"Try again"]}):(0,t.jsx)(l.Button,{type:"button",className:"h-11 sm:h-9",onClick:x,children:"Enter my room"})}):null]})})}])}]);
|