@alook/app 0.0.117 → 0.0.119
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 +219 -207
- 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/{0quc_lvg3c4wu.js → 0-xdwhncj5-wf.js} +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/018pin4~.wsr7.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/028fjo.mmn73u.js +7 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/{0tw05tsn2c~1m.js → 02j9o2uuj_oc8.js} +15 -15
- package/bundled/web/.open-next/assets/_next/static/chunks/06-zhqf9ypqns.css +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/0d3l0nm-qcu53.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/0fw7efx7cy195.js +62 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/0kk1judky0sd5.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/{12bd-kqbplx9m.js → 0nj24~vvlulgh.js} +3 -3
- package/bundled/web/.open-next/assets/_next/static/chunks/0r8zw56k96o0q.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/{042a4jeudcp22.js → 0u64son5-k77n.js} +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/{110sy1mmp9v~7.js → 0x14heey9lt7d.js} +3 -3
- package/bundled/web/.open-next/assets/_next/static/chunks/0xaxg3kh619o8.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/0z4n3xpn4dp13.js +63 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/0~r1l8ej-9p~h.js +3 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/110epmmtnkv9w.js +3 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/{118ani.qejoy9.js → 12tz.n~x91ghm.js} +1 -1
- package/bundled/web/.open-next/cache/{FjNKGEvkF0L0MRIiOb2vT → bwwUBlSnuSEyz1RNfFbW9}/_global-error.cache +1 -1
- package/bundled/web/.open-next/cache/{FjNKGEvkF0L0MRIiOb2vT → bwwUBlSnuSEyz1RNfFbW9}/_not-found.cache +1 -1
- package/bundled/web/.open-next/cache/{FjNKGEvkF0L0MRIiOb2vT → bwwUBlSnuSEyz1RNfFbW9}/device.cache +1 -1
- package/bundled/web/.open-next/cache/{FjNKGEvkF0L0MRIiOb2vT → bwwUBlSnuSEyz1RNfFbW9}/privacy.cache +1 -1
- package/bundled/web/.open-next/cache/{FjNKGEvkF0L0MRIiOb2vT → bwwUBlSnuSEyz1RNfFbW9}/sitemap.xml.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 +8 -8
- 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/app-path-routes-manifest.json +1 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/build-manifest.json +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/prerender-manifest.json +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/routes-manifest.json +8 -17
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/invite/[token]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/studio/new/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/activity/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/activity/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/chat/[convId]/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/chat/[convId]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/chat/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/chat/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/email/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/email/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/files/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/files/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/meetings/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/meetings/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/new/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/new/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/calendar/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/calendar/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/flags/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/flags/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/help/email-setup/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/help/email-setup/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/home/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/home/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/issues/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/issues/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/runtimes/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/runtimes/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/settings/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/settings/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/threads/[traceId]/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/threads/[traceId]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/threads/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/threads/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/unread/page/react-loadable-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/unread/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/workspaces/page_client-reference-manifest.js +1 -1
- 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/_not-found/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/agents/[id]/chat-init/route.js +6 -7
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/agents/[id]/whitelist/route.js +7 -8
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/agents/route.js +4 -5
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/conversations/[id]/active-task/route.js +7 -8
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/conversations/[id]/init/route.js +6 -7
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/conversations/[id]/messages/route.js +8 -9
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/{conversations/[id]/buffered-messages/[messageId] → daemon/conversations/[id]/messages}/route.js +8 -8
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/conversations/[id]/messages/route_client-reference-manifest.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/register/route.js +3 -4
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/sweep/route.js +5 -7
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/tasks/[taskId]/complete/route.js +6 -8
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/tasks/[taskId]/fail/route.js +6 -8
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/tasks/[taskId]/messages/route.js +3 -4
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/tasks/[taskId]/start/route.js +6 -8
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/tasks/[taskId]/supersede/route.js +6 -8
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/tasks/poll/route.js +5 -7
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/email/notify/route.js +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/issues/[id]/comments/route.js +7 -8
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/issues/[id]/route.js +7 -8
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/issues/route.js +7 -8
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/studios/route.js +7 -8
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/tasks/[id]/retry/route.js +7 -8
- 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/page/react-loadable-manifest.json +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/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/app-paths-manifest.json +1 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/05hd_server_app_api_daemon_conversations_[id]_messages_route_actions_0.iz1u1.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[root-of-the-server]__0-63.yt._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[root-of-the-server]__010~hln._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[root-of-the-server]__01pm5bg._.js +58 -70
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[root-of-the-server]__08oq0ro._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[root-of-the-server]__0arm85_._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[root-of-the-server]__0gp~w40._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/{[root-of-the-server]__088o0os._.js → [root-of-the-server]__0hz_j32._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[root-of-the-server]__0i0ukpl._.js +58 -70
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[root-of-the-server]__0j5fdu2._.js +58 -70
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[root-of-the-server]__0syz.lm._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/{[root-of-the-server]__0sf_9ve._.js → [root-of-the-server]__0vi97bn._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[root-of-the-server]__0x8e1~2._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[turbopack]_runtime.js +39 -44
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0.gkbx8._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_00-p7_0._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_03gwxos._.js +5 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_03t_17c._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_06mrt6t._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_08xh_f8._.js +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_09ivzvb._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0_21cs4._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0huk3rm._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0jj44iu._.js +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0l1m9wf._.js +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0m4uqwa._.js +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0mibx4k._.js +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0ow_nxn._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0r.02hx._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0thudj4._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0wbaduy._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0yzq1gx._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0zyolvu._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_12-_-5g._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_12-v7sn._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/src_0wkbw.-._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[root-of-the-server]__04mf.th._.js +54 -66
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{[root-of-the-server]__10nperb._.js → [root-of-the-server]__0_3cckh._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[root-of-the-server]__0e65njz._.js +54 -66
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[root-of-the-server]__0i8fzgr._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[turbopack]_runtime.js +39 -44
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{_0bt_5pi._.js → _055~~zq._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{_0bti.y.._.js → _05kh57s._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{_0iiagkx._.js → _09rh54w._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0_.06ux._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0asq_j3._.js +65 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0im0q-g._.js +9 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0owr40y._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0r_ppn9._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0vtcof8._.js +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_04xzk.p._.js → node_modules__pnpm_0-7t060._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0y6wy4c._.js → node_modules__pnpm_0emry~3._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_02vp72~._.js → node_modules__pnpm_0lqu_u4._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0k_ahqs._.js → node_modules__pnpm_0ml9n-.._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0t783t_._.js → node_modules__pnpm_0qmml4f._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0j~49hk._.js → node_modules__pnpm_0vztztj._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0.jtjpe._.js → node_modules__pnpm_0wu1nx-._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{node_modules__pnpm_0i183cf._.js → node_modules__pnpm_11id~ub._.js} +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_0liq_10._.js +54 -66
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_web_src_0~23g-y._.js +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_web_src_app_(app)_w_[slug]_agents_[id]_meetings_page_tsx_073~u~-._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_web_src_components_home_home-page_tsx_0to84tv._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_web_src_lib_api_ts_0uf2r1p._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/middleware-build-manifest.js +3 -3
- 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 +492 -534
- package/bundled/web/.open-next/server-functions/default/src/web/handler.mjs.meta.json +1025 -841
- package/bundled/web/.open-next/server-functions/default/src/web/index.mjs +5 -5
- package/bundled/web/migrations/0037_inbox_unread_table.sql +43 -0
- package/bundled/web/wrangler.toml +1 -1
- package/bundled/ws-do/index.js +174 -174
- package/dist/cli/index.js +368 -68
- package/dist/cli/session-runner.js +68 -9
- package/dist/index.js +23 -2
- package/package.json +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/0_7t-ouonb08v.js +0 -3
- package/bundled/web/.open-next/assets/_next/static/chunks/0fme52sqdtk.p.js +0 -3
- package/bundled/web/.open-next/assets/_next/static/chunks/0h5tl-yh9wijv.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/0j5gd-ljh6ao_.js +0 -62
- package/bundled/web/.open-next/assets/_next/static/chunks/0lus0pm79r-7o.js +0 -7
- package/bundled/web/.open-next/assets/_next/static/chunks/0m-e05qz5c6a..js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/0s-pai_2464mg.css +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/0u8cu1dfn9~01.js +0 -63
- package/bundled/web/.open-next/assets/_next/static/chunks/0xg02n4bo4.1m.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/18b_fy7re_rp..js +0 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/conversations/[id]/buffered-messages/[messageId]/route_client-reference-manifest.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/conversations/[id]/buffered-messages/route.js +0 -17
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/conversations/[id]/buffered-messages/route_client-reference-manifest.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/00~o_app_api_conversations_[id]_buffered-messages_[messageId]_route_actions_0e338dt.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/05hd_server_app_api_conversations_[id]_buffered-messages_route_actions_0mf5n8a.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[root-of-the-server]__0d0_qit._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_00_9pus._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_02.f31i._.js +0 -5
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_025fm6r._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_03ju0js._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_06imn.m._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_07hpwgw._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_08y2ta9._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0_kfe3c._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0ahwrti._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0b4pq8.._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0d6rwbr._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0gqpz7w._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0h-fa04._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0il0z_b._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0l1rr.g._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0p_10om._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0r04wj_._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0ri6_n4._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0zk1_mu._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0zt3sdk._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_102qunz._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_12i.jt7._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_13lep.0._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/src_web_src_lib_services_0yvxfxt._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_004q5tu._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0g~0u9h._.js +0 -65
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0kv_hld._.js +0 -9
- /package/bundled/web/.open-next/assets/_next/static/{FjNKGEvkF0L0MRIiOb2vT → bwwUBlSnuSEyz1RNfFbW9}/_buildManifest.js +0 -0
- /package/bundled/web/.open-next/assets/_next/static/{FjNKGEvkF0L0MRIiOb2vT → bwwUBlSnuSEyz1RNfFbW9}/_clientMiddlewareManifest.js +0 -0
- /package/bundled/web/.open-next/assets/_next/static/{FjNKGEvkF0L0MRIiOb2vT → bwwUBlSnuSEyz1RNfFbW9}/_ssgManifest.js +0 -0
- /package/bundled/web/.open-next/cache/{FjNKGEvkF0L0MRIiOb2vT → bwwUBlSnuSEyz1RNfFbW9}/robots.txt.cache +0 -0
|
@@ -8,4 +8,4 @@ module.exports=[194457,a=>{"use strict";function b(a,b){a.accDescr&&b.setAccDesc
|
|
|
8
8
|
}
|
|
9
9
|
`},"styles");a.s(["diagram",0,{db:o,renderer:{draw:u},parser:q,styles:w}])},933173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__13~lqeh._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(281762)))},148052,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__114p1p_._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(155357)))},676173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__01zpt.4._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(435142)))},689988,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0w~l_m~._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(644920)))},81520,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__03g0ynf._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(289303)))},701011,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__129~gj-._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(140315)))},637991,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0kgi5nq._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(245845)))},816161,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0rfuy8c._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(113408)))},976981,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__11-hqzr._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(443722)))}];
|
|
10
10
|
|
|
11
|
-
//# sourceMappingURL=
|
|
11
|
+
//# sourceMappingURL=node_modules__pnpm_0-7t060._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module.exports=[194457,a=>{"use strict";function b(a,b){a.accDescr&&b.setAccDescription?.(a.accDescr),a.accTitle&&b.setAccTitle?.(a.accTitle),a.title&&b.setDiagramTitle?.(a.title)}(0,a.i(30531).__name)(b,"populateCommonDb"),a.s(["populateCommonDb",0,b])},604937,a=>{"use strict";var b=a.i(30531),c=class{constructor(a){this.init=a,this.records=this.init()}static{(0,b.__name)(this,"ImperativeState")}reset(){this.records=this.init()}};a.s(["ImperativeState",0,c])},933173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__13~lqeh._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(281762)))},148052,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__114p1p_._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(155357)))},676173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__01zpt.4._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(435142)))},689988,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0w~l_m~._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(644920)))},81520,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__03g0ynf._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(289303)))},701011,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__129~gj-._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(140315)))},637991,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0kgi5nq._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(245845)))},816161,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0rfuy8c._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(113408)))},976981,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__11-hqzr._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(443722)))}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=node_modules__pnpm_0emry~3._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module.exports=[409966,a=>{"use strict";var b=a.i(630737),c=a.i(115499),d=a.i(30531),e=a.i(283684),f={parse:(0,d.__name)(async a=>{let b=await (0,e.parse)("info",a);d.log.debug(b)},"parse")},g=(0,d.__name)(()=>"11.14.0","getVersion"),h=(0,d.__name)((a,e,f)=>{d.log.debug("rendering info diagram\n"+a);let g=(0,b.selectSvgElement)(e);(0,c.configureSvgSize)(g,100,400,!0),g.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${f}`)},"draw");a.s(["diagram",0,{parser:f,db:{getVersion:g},renderer:{draw:h}}])},933173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__13~lqeh._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(281762)))},148052,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__114p1p_._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(155357)))},676173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__01zpt.4._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(435142)))},689988,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0w~l_m~._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(644920)))},81520,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__03g0ynf._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(289303)))},701011,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__129~gj-._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(140315)))},637991,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0kgi5nq._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(245845)))},816161,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0rfuy8c._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(113408)))},976981,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__11-hqzr._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(443722)))}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=node_modules__pnpm_0lqu_u4._.js.map
|
|
@@ -23,4 +23,4 @@ module.exports=[194457,a=>{"use strict";function b(a,b){a.accDescr&&b.setAccDesc
|
|
|
23
23
|
}
|
|
24
24
|
`},"styles");a.s(["diagram",0,{parser:l,get db(){return new i},renderer:{draw:m},styles:p}])},933173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__13~lqeh._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(281762)))},148052,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__114p1p_._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(155357)))},676173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__01zpt.4._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(435142)))},689988,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0w~l_m~._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(644920)))},81520,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__03g0ynf._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(289303)))},701011,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__129~gj-._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(140315)))},637991,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0kgi5nq._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(245845)))},816161,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0rfuy8c._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(113408)))},976981,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__11-hqzr._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(443722)))}];
|
|
25
25
|
|
|
26
|
-
//# sourceMappingURL=
|
|
26
|
+
//# sourceMappingURL=node_modules__pnpm_0ml9n-.._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module.exports=[473475,a=>{"use strict";var b=a.i(115499),c=a.i(30531),d=(0,c.__name)((a,d,g,h)=>{a.attr("class",g);let{width:i,height:j,x:k,y:l}=e(a,d);(0,b.configureSvgSize)(a,j,i,h);let m=f(k,l,i,j,d);a.attr("viewBox",m),c.log.debug(`viewBox configured: ${m} with padding: ${d}`)},"setupViewPortForSVG"),e=(0,c.__name)((a,b)=>{let c=a.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:c.width+2*b,height:c.height+2*b,x:c.x,y:c.y}},"calculateDimensionsWithPadding"),f=(0,c.__name)((a,b,c,d,e)=>`${a-e} ${b-e} ${c} ${d}`,"createViewBox");a.s(["setupViewPortForSVG",0,d])},194457,a=>{"use strict";function b(a,b){a.accDescr&&b.setAccDescription?.(a.accDescr),a.accTitle&&b.setAccTitle?.(a.accTitle),a.title&&b.setDiagramTitle?.(a.title)}(0,a.i(30531).__name)(b,"populateCommonDb"),a.s(["populateCommonDb",0,b])},568509,371355,604200,a=>{"use strict";function b(a,b){if(!isFinite(a)||0===a)return null;var c=(a=b?a.toExponential(b-1):a.toExponential()).indexOf("e"),d=a.slice(0,c);return[d.length>1?d[0]+d.slice(2):d,+a.slice(c+1)]}function c(a){return(a=b(Math.abs(a)))?a[1]:NaN}a.s(["default",0,c],371355);var d,e,f,g,h=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(a){var b;if(!(b=h.exec(a)))throw Error("invalid format: "+a);return new j({fill:b[1],align:b[2],sign:b[3],symbol:b[4],zero:b[5],width:b[6],comma:b[7],precision:b[8]&&b[8].slice(1),trim:b[9],type:b[10]})}function j(a){this.fill=void 0===a.fill?" ":a.fill+"",this.align=void 0===a.align?">":a.align+"",this.sign=void 0===a.sign?"-":a.sign+"",this.symbol=void 0===a.symbol?"":a.symbol+"",this.zero=!!a.zero,this.width=void 0===a.width?void 0:+a.width,this.comma=!!a.comma,this.precision=void 0===a.precision?void 0:+a.precision,this.trim=!!a.trim,this.type=void 0===a.type?"":a.type+""}function k(a,c){var d=b(a,c);if(!d)return a+"";var e=d[0],f=d[1];return f<0?"0."+Array(-f).join("0")+e:e.length>f+1?e.slice(0,f+1)+"."+e.slice(f+1):e+Array(f-e.length+2).join("0")}i.prototype=j.prototype,j.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type},a.s(["default",0,i],604200);let l={"%":(a,b)=>(100*a).toFixed(b),b:a=>Math.round(a).toString(2),c:a=>a+"",d:function(a){return Math.abs(a=Math.round(a))>=1e21?a.toLocaleString("en").replace(/,/g,""):a.toString(10)},e:(a,b)=>a.toExponential(b),f:(a,b)=>a.toFixed(b),g:(a,b)=>a.toPrecision(b),o:a=>Math.round(a).toString(8),p:(a,b)=>k(100*a,b),r:k,s:function(a,c){var e=b(a,c);if(!e)return d=void 0,a.toPrecision(c);var f=e[0],g=e[1],h=g-(d=3*Math.max(-8,Math.min(8,Math.floor(g/3))))+1,i=f.length;return h===i?f:h>i?f+Array(h-i+1).join("0"):h>0?f.slice(0,h)+"."+f.slice(h):"0."+Array(1-h).join("0")+b(a,Math.max(0,c+h-1))[0]},X:a=>Math.round(a).toString(16).toUpperCase(),x:a=>Math.round(a).toString(16)};function m(a){return a}var n=Array.prototype.map,o=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];f=(e=function(a){var b,e,f,g=void 0===a.grouping||void 0===a.thousands?m:(b=n.call(a.grouping,Number),e=a.thousands+"",function(a,c){for(var d=a.length,f=[],g=0,h=b[0],i=0;d>0&&h>0&&(i+h+1>c&&(h=Math.max(1,c-i)),f.push(a.substring(d-=h,d+h)),!((i+=h+1)>c));)h=b[g=(g+1)%b.length];return f.reverse().join(e)}),h=void 0===a.currency?"":a.currency[0]+"",j=void 0===a.currency?"":a.currency[1]+"",k=void 0===a.decimal?".":a.decimal+"",p=void 0===a.numerals?m:(f=n.call(a.numerals,String),function(a){return a.replace(/[0-9]/g,function(a){return f[+a]})}),q=void 0===a.percent?"%":a.percent+"",r=void 0===a.minus?"−":a.minus+"",s=void 0===a.nan?"NaN":a.nan+"";function t(a,b){var c=(a=i(a)).fill,e=a.align,f=a.sign,m=a.symbol,n=a.zero,t=a.width,u=a.comma,v=a.precision,w=a.trim,x=a.type;"n"===x?(u=!0,x="g"):l[x]||(void 0===v&&(v=12),w=!0,x="g"),(n||"0"===c&&"="===e)&&(n=!0,c="0",e="=");var y=(b&&void 0!==b.prefix?b.prefix:"")+("$"===m?h:"#"===m&&/[boxX]/.test(x)?"0"+x.toLowerCase():""),z=("$"===m?j:/[%p]/.test(x)?q:"")+(b&&void 0!==b.suffix?b.suffix:""),A=l[x],B=/[defgprs%]/.test(x);function C(a){var b,h,i,j=y,l=z;if("c"===x)l=A(a)+l,a="";else{var m=(a*=1)<0||1/a<0;if(a=isNaN(a)?s:A(Math.abs(a),v),w&&(a=function(a){a:for(var b,c=a.length,d=1,e=-1;d<c;++d)switch(a[d]){case".":e=b=d;break;case"0":0===e&&(e=d),b=d;break;default:if(!+a[d])break a;e>0&&(e=0)}return e>0?a.slice(0,e)+a.slice(b+1):a}(a)),m&&0==+a&&"+"!==f&&(m=!1),j=(m?"("===f?f:r:"-"===f||"("===f?"":f)+j,l=("s"!==x||isNaN(a)||void 0===d?"":o[8+d/3])+l+(m&&"("===f?")":""),B){for(b=-1,h=a.length;++b<h;)if(48>(i=a.charCodeAt(b))||i>57){l=(46===i?k+a.slice(b+1):a.slice(b))+l,a=a.slice(0,b);break}}}u&&!n&&(a=g(a,1/0));var q=j.length+a.length+l.length,C=q<t?Array(t-q+1).join(c):"";switch(u&&n&&(a=g(C+a,C.length?t-l.length:1/0),C=""),e){case"<":a=j+a+l+C;break;case"=":a=j+C+a+l;break;case"^":a=C.slice(0,q=C.length>>1)+j+a+l+C.slice(q);break;default:a=C+j+a+l}return p(a)}return v=void 0===v?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),C.toString=function(){return a+""},C}return{format:t,formatPrefix:function(a,b){var d=3*Math.max(-8,Math.min(8,Math.floor(c(b)/3))),e=Math.pow(10,-d),f=t(((a=i(a)).type="f",a),{suffix:o[8+d/3]});return function(a){return f(e*a)}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,g=e.formatPrefix,a.s(["format",()=>f,"formatPrefix",()=>g],568509)},98071,a=>{"use strict";a.s(["initRange",0,function(a,b){switch(arguments.length){case 0:break;case 1:this.range(a);break;default:this.range(b).domain(a)}return this}])},443104,a=>{"use strict";class b extends Map{constructor(a,b=d){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:b}}),null!=a)for(const[b,c]of a)this.set(b,c)}get(a){return super.get(c(this,a))}has(a){return super.has(c(this,a))}set(a,b){return super.set(function({_intern:a,_key:b},c){let d=b(c);return a.has(d)?a.get(d):(a.set(d,c),c)}(this,a),b)}delete(a){return super.delete(function({_intern:a,_key:b},c){let d=b(c);return a.has(d)&&(c=a.get(d),a.delete(d)),c}(this,a))}}function c({_intern:a,_key:b},d){let e=b(d);return a.has(e)?a.get(e):d}function d(a){return null!==a&&"object"==typeof a?a.valueOf():a}var e=a.i(98071);let f=Symbol("implicit");a.s(["default",0,function a(){var c=new b,d=[],g=[],h=f;function i(a){let b=c.get(a);if(void 0===b){if(h!==f)return h;c.set(a,b=d.push(a)-1)}return g[b%g.length]}return i.domain=function(a){if(!arguments.length)return d.slice();for(let e of(d=[],c=new b,a))c.has(e)||c.set(e,d.push(e)-1);return i},i.range=function(a){return arguments.length?(g=Array.from(a),i):g.slice()},i.unknown=function(a){return arguments.length?(h=a,i):h},i.copy=function(){return a(d,g).unknown(h)},e.initRange.apply(i,arguments),i}],443104)},349876,a=>{"use strict";var b=a.i(443104);a.s(["scaleOrdinal",()=>b.default])},933173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__13~lqeh._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(281762)))},148052,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__114p1p_._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(155357)))},676173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__01zpt.4._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(435142)))},689988,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0w~l_m~._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(644920)))},81520,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__03g0ynf._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(289303)))},701011,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__129~gj-._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(140315)))},637991,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0kgi5nq._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(245845)))},816161,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0rfuy8c._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(113408)))},976981,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__11-hqzr._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(443722)))}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=node_modules__pnpm_0qmml4f._.js.map
|
|
@@ -42,4 +42,4 @@ module.exports=[194457,a=>{"use strict";function b(a,b){a.accDescr&&b.setAccDesc
|
|
|
42
42
|
${D(b,c)}
|
|
43
43
|
`},"styles");a.s(["diagram",0,{parser:u,db:s,renderer:{draw:v},styles:F}])},933173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__13~lqeh._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(281762)))},148052,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__114p1p_._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(155357)))},676173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__01zpt.4._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(435142)))},689988,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0w~l_m~._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(644920)))},81520,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__03g0ynf._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(289303)))},701011,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__129~gj-._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(140315)))},637991,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0kgi5nq._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(245845)))},816161,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0rfuy8c._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(113408)))},976981,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__11-hqzr._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(443722)))}];
|
|
44
44
|
|
|
45
|
-
//# sourceMappingURL=
|
|
45
|
+
//# sourceMappingURL=node_modules__pnpm_0vztztj._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module.exports=[194457,a=>{"use strict";function b(a,b){a.accDescr&&b.setAccDescription?.(a.accDescr),a.accTitle&&b.setAccTitle?.(a.accTitle),a.title&&b.setDiagramTitle?.(a.title)}(0,a.i(30531).__name)(b,"populateCommonDb"),a.s(["populateCommonDb",0,b])},933173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__13~lqeh._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(281762)))},148052,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__114p1p_._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(155357)))},676173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__01zpt.4._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(435142)))},689988,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0w~l_m~._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(644920)))},81520,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__03g0ynf._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(289303)))},701011,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__129~gj-._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(140315)))},637991,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0kgi5nq._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(245845)))},816161,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0rfuy8c._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(113408)))},976981,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__11-hqzr._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(443722)))}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=node_modules__pnpm_0wu1nx-._.js.map
|
|
@@ -28,4 +28,4 @@ module.exports=[194457,a=>{"use strict";function b(a,b){a.accDescr&&b.setAccDesc
|
|
|
28
28
|
}
|
|
29
29
|
`,"getStyles"),D=(0,f.__name)(a=>{let b=[...a.values()].reduce((a,b)=>a+b,0),c=[...a.entries()].map(([a,b])=>({label:a,value:b})).filter(a=>a.value/b*100>=1);return(function(){var a=l,b=k,c=null,d=(0,j.default)(0),e=(0,j.default)(m.tau),f=(0,j.default)(0);function g(g){var h,j,k,l,n,o=(g=(0,i.default)(g)).length,p=0,q=Array(o),r=Array(o),s=+d.apply(this,arguments),t=Math.min(m.tau,Math.max(-m.tau,e.apply(this,arguments)-s)),u=Math.min(Math.abs(t)/o,f.apply(this,arguments)),v=u*(t<0?-1:1);for(h=0;h<o;++h)(n=r[q[h]=h]=+a(g[h],h,g))>0&&(p+=n);for(null!=b?q.sort(function(a,c){return b(r[a],r[c])}):null!=c&&q.sort(function(a,b){return c(g[a],g[b])}),h=0,k=p?(t-o*v)/p:0;h<o;++h,s=l)l=s+((n=r[j=q[h]])>0?n*k:0)+v,r[j]={data:g[j],index:h,value:n,startAngle:s,endAngle:l,padAngle:u};return r}return g.value=function(b){return arguments.length?(a="function"==typeof b?b:(0,j.default)(+b),g):a},g.sortValues=function(a){return arguments.length?(b=a,c=null,g):b},g.sort=function(a){return arguments.length?(c=a,b=null,g):c},g.startAngle=function(a){return arguments.length?(d="function"==typeof a?a:(0,j.default)(+a),g):d},g.endAngle=function(a){return arguments.length?(e="function"==typeof a?a:(0,j.default)(+a),g):e},g.padAngle=function(a){return arguments.length?(f="function"==typeof a?a:(0,j.default)(+a),g):f},g})().value(a=>a.value).sort(null)(c)},"createPieArcs"),E=(0,f.__name)((a,c,g,i)=>{f.log.debug("rendering pie chart\n"+a);let j=i.db,k=(0,e.getConfig2)(),l=(0,d.cleanAndMerge)(j.getConfig(),k.pie),m=(0,b.selectSvgElement)(c),o=m.append("g");o.attr("transform","translate(225,225)");let{themeVariables:p}=k,[q]=(0,d.parseFontSize)(p.pieOuterStrokeWidth);q??=2;let r=l.textPosition,s=(0,h.arc)().innerRadius(0).outerRadius(185),t=(0,h.arc)().innerRadius(185*r).outerRadius(185*r);o.append("circle").attr("cx",0).attr("cy",0).attr("r",185+q/2).attr("class","pieOuterCircle");let u=j.getSections(),v=D(u),w=[p.pie1,p.pie2,p.pie3,p.pie4,p.pie5,p.pie6,p.pie7,p.pie8,p.pie9,p.pie10,p.pie11,p.pie12],x=0;u.forEach(a=>{x+=a});let y=v.filter(a=>"0"!==(a.data.value/x*100).toFixed(0)),z=(0,n.scaleOrdinal)(w).domain([...u.keys()]);o.selectAll("mySlices").data(y).enter().append("path").attr("d",s).attr("fill",a=>z(a.data.label)).attr("class","pieCircle"),o.selectAll("mySlices").data(y).enter().append("text").text(a=>(a.data.value/x*100).toFixed(0)+"%").attr("transform",a=>"translate("+t.centroid(a)+")").style("text-anchor","middle").attr("class","slice");let A=o.append("text").text(j.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText"),B=[...u.entries()].map(([a,b])=>({label:a,value:b})),C=o.selectAll(".legend").data(B).enter().append("g").attr("class","legend").attr("transform",(a,b)=>"translate(216,"+(22*b-22*B.length/2)+")");C.append("rect").attr("width",18).attr("height",18).style("fill",a=>z(a.label)).style("stroke",a=>z(a.label)),C.append("text").attr("x",22).attr("y",14).text(a=>j.getShowData()?`${a.label} [${a.value}]`:a.label);let E=Math.max(...C.selectAll("text").nodes().map(a=>a?.getBoundingClientRect().width??0)),F=A.node()?.getBoundingClientRect().width??0,G=Math.min(0,225-F/2),H=Math.max(512+E,225+F/2)-G;m.attr("viewBox",`${G} 0 ${H} 450`),(0,e.configureSvgSize)(m,450,H,l.useMaxWidth)},"draw");a.s(["diagram",0,{parser:B,db:z,renderer:{draw:E},styles:C}],657326)},933173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__13~lqeh._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(281762)))},148052,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__114p1p_._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(155357)))},676173,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__01zpt.4._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(435142)))},689988,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0w~l_m~._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(644920)))},81520,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__03g0ynf._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(289303)))},701011,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__129~gj-._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(140315)))},637991,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0kgi5nq._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(245845)))},816161,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0rfuy8c._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(113408)))},976981,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__11-hqzr._.js","server/chunks/ssr/[root-of-the-server]__06~b52a._.js","server/chunks/ssr/0~hi_lodash-es_0k_yc_~._.js"].map(b=>a.l(b))).then(()=>b(443722)))}];
|
|
30
30
|
|
|
31
|
-
//# sourceMappingURL=
|
|
31
|
+
//# sourceMappingURL=node_modules__pnpm_11id~ub._.js.map
|
|
@@ -1,78 +1,66 @@
|
|
|
1
|
-
module.exports=[542168,a=>{"use strict";a.i(846208);var b=a.i(892409),c=a.i(346125),d=a.i(963481),e=a.i(274960),f=a.i(397016),g=a.i(679289),h=a.i(549196),i=a.i(88948),j=a.i(17177),k=a.i(6018),l=a.i(700555),m=a.i(178957),n=a.i(364625),o=a.i(147861),p=a.i(61337),q=a.i(732231),r=a.i(309425),s=a.i(379351),t=a.i(307659),u=a.i(527029),v=a.i(935186),w=a.i(27502),x=a.i(781590),y=a.i(120717),z=a.i(924946),A=a.i(986306),B=a.i(130496),C=a.i(922382),D=a.i(13393),E=a.i(876055);async function
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
module.exports=[542168,a=>{"use strict";a.i(846208);var b=a.i(892409),c=a.i(346125),d=a.i(963481),e=a.i(274960),f=a.i(397016),g=a.i(679289),h=a.i(549196),i=a.i(88948),j=a.i(17177),k=a.i(6018),l=a.i(700555),m=a.i(178957),n=a.i(364625),o=a.i(147861),p=a.i(61337),q=a.i(732231),r=a.i(309425),s=a.i(379351),t=a.i(307659),u=a.i(527029),v=a.i(935186),w=a.i(27502),x=a.i(781590),y=a.i(120717),z=a.i(924946),A=a.i(986306),B=a.i(130496),C=a.i(922382),D=a.i(13393),E=a.i(876055);let F=["user_dm_message","email_notification","calendar_event"];async function G(a,b){let c=(0,E.nanoid)();await a.run(D.sql`
|
|
2
|
+
INSERT INTO inbox_unread (id, conversation_id, user_id, workspace_id, agent_id, task_id, task_type, task_status, task_prompt, completed_at, latest_message_id)
|
|
3
|
+
VALUES (${c}, ${b.conversationId}, ${b.userId}, ${b.workspaceId}, ${b.agentId}, ${b.taskId}, ${b.taskType}, ${b.taskStatus}, ${b.taskPrompt}, ${b.completedAt}, ${b.latestMessageId})
|
|
4
|
+
ON CONFLICT (conversation_id, user_id) DO UPDATE SET
|
|
5
|
+
agent_id = excluded.agent_id,
|
|
6
|
+
task_id = excluded.task_id,
|
|
7
|
+
task_type = excluded.task_type,
|
|
8
|
+
task_status = excluded.task_status,
|
|
9
|
+
task_prompt = excluded.task_prompt,
|
|
10
|
+
completed_at = excluded.completed_at,
|
|
11
|
+
latest_message_id = excluded.latest_message_id
|
|
12
|
+
WHERE excluded.completed_at >= inbox_unread.completed_at
|
|
13
|
+
`)}async function H(a,b,c,d){await a.run(D.sql`
|
|
14
|
+
UPDATE inbox_unread
|
|
15
|
+
SET latest_message_id = ${d}
|
|
16
|
+
WHERE conversation_id = ${b} AND user_id = ${c}
|
|
17
|
+
`)}async function I(a,b,c){await a.run(D.sql`
|
|
18
|
+
DELETE FROM inbox_unread
|
|
19
|
+
WHERE conversation_id = ${b} AND user_id = ${c}
|
|
20
|
+
`)}async function J(a,b,c){await a.run(D.sql`
|
|
21
|
+
DELETE FROM inbox_unread
|
|
22
|
+
WHERE user_id = ${b} AND workspace_id = ${c}
|
|
23
|
+
`)}async function K(a,b){let c=await a.all(D.sql`
|
|
24
|
+
SELECT id FROM message
|
|
25
|
+
WHERE conversation_id = ${b}
|
|
26
|
+
AND role = 'assistant'
|
|
27
|
+
AND status = 'active'
|
|
28
|
+
ORDER BY created_at DESC
|
|
29
|
+
LIMIT 1
|
|
30
|
+
`);return c[0]?.id??null}async function L(a,b,c,d){let e=d?.limit??30,f=d?.before?D.sql`AND u.completed_at < ${d.before}`:D.sql``,g=d?.types?.length?d.types:["user_dm_message"],h=D.sql.join(g.map(a=>D.sql`${a}`),D.sql`, `),i=await a.all(D.sql`
|
|
31
|
+
SELECT u.conversation_id AS id,
|
|
32
|
+
u.agent_id,
|
|
4
33
|
c.title,
|
|
5
34
|
c.channel,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
35
|
+
m.content AS latest_response,
|
|
36
|
+
u.completed_at AS latest_response_at,
|
|
37
|
+
u.task_prompt AS root_prompt,
|
|
9
38
|
a.name AS agent_name,
|
|
10
39
|
a.avatar_url AS agent_avatar_url,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
FROM
|
|
14
|
-
INNER JOIN conversation c
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
INNER JOIN message m_latest
|
|
21
|
-
ON m_latest.conversation_id = c.id
|
|
22
|
-
AND m_latest.role = 'assistant'
|
|
23
|
-
AND m_latest.status = 'active'
|
|
24
|
-
AND m_latest.id = (
|
|
25
|
-
SELECT id FROM message
|
|
26
|
-
WHERE conversation_id = c.id
|
|
27
|
-
AND role = 'assistant'
|
|
28
|
-
AND status = 'active'
|
|
29
|
-
ORDER BY created_at DESC LIMIT 1
|
|
30
|
-
)
|
|
31
|
-
LEFT JOIN agent a
|
|
32
|
-
ON a.id = c.agent_id AND a.workspace_id = c.workspace_id
|
|
33
|
-
WHERE t.workspace_id = ${c}
|
|
34
|
-
AND t.parent_task_id IS NULL
|
|
35
|
-
AND t.trace_id IS NOT NULL
|
|
36
|
-
AND t.type IN (${h})
|
|
37
|
-
AND t.status IN ('completed', 'failed')
|
|
38
|
-
AND t.completed_at > COALESCE(crs.last_read_at, '1970-01-01T00:00:00.000Z')
|
|
39
|
-
AND NOT (t.type = 'email_notification' AND COALESCE(json_extract(t.context, '$.isInternal'), 0) = 1)
|
|
40
|
-
AND t.id = (
|
|
41
|
-
SELECT id FROM agent_task_queue
|
|
42
|
-
WHERE workspace_id = ${c}
|
|
43
|
-
AND conversation_id = c.id
|
|
44
|
-
AND parent_task_id IS NULL
|
|
45
|
-
AND trace_id IS NOT NULL
|
|
46
|
-
AND type IN (${h})
|
|
47
|
-
AND status IN ('completed', 'failed')
|
|
48
|
-
AND NOT (type = 'email_notification' AND COALESCE(json_extract(context, '$.isInternal'), 0) = 1)
|
|
49
|
-
ORDER BY completed_at DESC LIMIT 1
|
|
50
|
-
)
|
|
40
|
+
u.task_status AS root_task_status,
|
|
41
|
+
u.task_type AS root_task_type
|
|
42
|
+
FROM inbox_unread u
|
|
43
|
+
INNER JOIN conversation c ON c.id = u.conversation_id
|
|
44
|
+
LEFT JOIN message m ON m.id = u.latest_message_id
|
|
45
|
+
LEFT JOIN agent a ON a.id = u.agent_id AND a.workspace_id = u.workspace_id
|
|
46
|
+
WHERE u.user_id = ${b}
|
|
47
|
+
AND u.workspace_id = ${c}
|
|
48
|
+
AND u.task_type IN (${h})
|
|
51
49
|
${f}
|
|
52
|
-
ORDER BY
|
|
50
|
+
ORDER BY u.completed_at DESC
|
|
53
51
|
LIMIT ${e+1}
|
|
54
|
-
`),j=i.length>e;return{items:i.slice(0,e),hasMore:j}}async function
|
|
55
|
-
SELECT COUNT(
|
|
56
|
-
FROM
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
AND
|
|
60
|
-
|
|
61
|
-
LEFT JOIN conversation_read_state crs
|
|
62
|
-
ON crs.conversation_id = t.conversation_id AND crs.user_id = ${b}
|
|
63
|
-
WHERE t.workspace_id = ${c}
|
|
64
|
-
AND t.parent_task_id IS NULL
|
|
65
|
-
AND t.trace_id IS NOT NULL
|
|
66
|
-
AND t.type IN (${f})
|
|
67
|
-
AND t.status IN ('completed', 'failed')
|
|
68
|
-
AND t.completed_at > COALESCE(crs.last_read_at, '1970-01-01T00:00:00.000Z')
|
|
69
|
-
AND NOT (t.type = 'email_notification' AND COALESCE(json_extract(t.context, '$.isInternal'), 0) = 1)
|
|
70
|
-
`);return g[0]?.count??0}async function H(a,b,c){let d=new Date().toISOString();await a.run(D.sql`
|
|
52
|
+
`),j=i.length>e;return{items:i.slice(0,e),hasMore:j}}async function M(a,b,c,d){let e=d?.length?d:["user_dm_message"],f=D.sql.join(e.map(a=>D.sql`${a}`),D.sql`, `),g=await a.all(D.sql`
|
|
53
|
+
SELECT COUNT(*) AS count
|
|
54
|
+
FROM inbox_unread
|
|
55
|
+
WHERE user_id = ${b}
|
|
56
|
+
AND workspace_id = ${c}
|
|
57
|
+
AND task_type IN (${f})
|
|
58
|
+
`);return g[0]?.count??0}async function N(a,b,c){let d=new Date().toISOString();await a.run(D.sql`
|
|
71
59
|
INSERT INTO conversation_read_state (id, conversation_id, user_id, last_read_at, created_at)
|
|
72
60
|
VALUES (${(0,E.nanoid)()}, ${c}, ${b}, ${d}, ${d})
|
|
73
61
|
ON CONFLICT (conversation_id, user_id)
|
|
74
62
|
DO UPDATE SET last_read_at = ${d}
|
|
75
|
-
`)}async function
|
|
63
|
+
`),await I(a,c,b)}async function O(a,b,c){let d=new Date().toISOString();await a.run(D.sql`
|
|
76
64
|
INSERT INTO conversation_read_state (id, conversation_id, user_id, last_read_at, created_at)
|
|
77
65
|
SELECT lower(hex(randomblob(11))), c.id, ${b}, ${d}, ${d}
|
|
78
66
|
FROM conversation c
|
|
@@ -80,6 +68,6 @@ module.exports=[542168,a=>{"use strict";a.i(846208);var b=a.i(892409),c=a.i(3461
|
|
|
80
68
|
AND c.workspace_id = ${c}
|
|
81
69
|
ON CONFLICT (conversation_id, user_id)
|
|
82
70
|
DO UPDATE SET last_read_at = ${d}
|
|
83
|
-
`)}a.s(["getUnreadCount",0,G,"listUnreadConversations",0,F,"markAllConversationsRead",0,I,"markConversationRead",0,H],975036);var J=a.i(975036),K=a.i(328039),L=a.i(855312),M=a.i(79908);a.s(["agent",0,e,"agentAccess",0,t,"agentLink",0,C,"agentPin",0,u,"agentSidebarOrder",0,v,"agentSkill",0,A,"artifact",0,q,"calendarEvent",0,p,"channel",0,y,"conversation",0,g,"conversationMap",0,B,"email",0,n,"emailAccount",0,r,"inbox",0,J,"issue",0,K,"issueComment",0,L,"machine",0,k,"machineToken",0,l,"meetingSession",0,x,"member",0,d,"message",0,h,"messageFlag",0,M,"overview",0,w,"runtime",0,f,"session",0,o,"task",0,i,"taskMessage",0,j,"user",0,b,"whitelist",0,m,"workspace",0,c,"workspaceFileRequest",0,z,"workspaceInvite",0,s],395780);var N=a.i(395780);a.s(["queries",0,N],542168)},696826,a=>{"use strict";a.i(250195);var b=a.i(544979);a.s(["getDb",0,function(a){let c=a.withSession("first-unconstrained");return(0,b.createDb)(c)}])},885135,a=>{"use strict";a.s(["WorkspaceProvider",()=>c,"useWorkspace",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call WorkspaceProvider() from the server but WorkspaceProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/workspace-context.tsx <module evaluation>","WorkspaceProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useWorkspace() from the server but useWorkspace is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/workspace-context.tsx <module evaluation>","useWorkspace")},27504,a=>{"use strict";a.s(["WorkspaceProvider",()=>c,"useWorkspace",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call WorkspaceProvider() from the server but WorkspaceProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/workspace-context.tsx","WorkspaceProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useWorkspace() from the server but useWorkspace is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/workspace-context.tsx","useWorkspace")},452149,a=>{"use strict";a.i(885135);var b=a.i(27504);a.n(b)},584236,a=>{"use strict";a.s(["AgentProvider",()=>c,"useAgentContext",()=>d,"useAgentContextSafe",()=>e]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call AgentProvider() from the server but AgentProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/agent-context.tsx <module evaluation>","AgentProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useAgentContext() from the server but useAgentContext is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/agent-context.tsx <module evaluation>","useAgentContext"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call useAgentContextSafe() from the server but useAgentContextSafe is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/agent-context.tsx <module evaluation>","useAgentContextSafe")},861849,a=>{"use strict";a.s(["AgentProvider",()=>c,"useAgentContext",()=>d,"useAgentContextSafe",()=>e]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call AgentProvider() from the server but AgentProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/agent-context.tsx","AgentProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useAgentContext() from the server but useAgentContext is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/agent-context.tsx","useAgentContext"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call useAgentContextSafe() from the server but useAgentContextSafe is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/agent-context.tsx","useAgentContextSafe")},498915,a=>{"use strict";a.i(584236);var b=a.i(861849);a.n(b)},991013,a=>{"use strict";a.s(["ChannelProvider",()=>c,"useChannel",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ChannelProvider() from the server but ChannelProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/channel-context.tsx <module evaluation>","ChannelProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useChannel() from the server but useChannel is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/channel-context.tsx <module evaluation>","useChannel")},906430,a=>{"use strict";a.s(["ChannelProvider",()=>c,"useChannel",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ChannelProvider() from the server but ChannelProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/channel-context.tsx","ChannelProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useChannel() from the server but useChannel is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/channel-context.tsx","useChannel")},150409,a=>{"use strict";a.i(991013);var b=a.i(906430);a.n(b)},632146,a=>{"use strict";a.s(["InboxCountProvider",()=>c,"useInboxCount",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call InboxCountProvider() from the server but InboxCountProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/inbox-count-context.tsx <module evaluation>","InboxCountProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useInboxCount() from the server but useInboxCount is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/inbox-count-context.tsx <module evaluation>","useInboxCount")},269150,a=>{"use strict";a.s(["InboxCountProvider",()=>c,"useInboxCount",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call InboxCountProvider() from the server but InboxCountProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/inbox-count-context.tsx","InboxCountProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useInboxCount() from the server but useInboxCount is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/inbox-count-context.tsx","useInboxCount")},143131,a=>{"use strict";a.i(632146);var b=a.i(269150);a.n(b)},778759,a=>{"use strict";a.s(["FlagCountProvider",()=>c,"useFlagCount",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call FlagCountProvider() from the server but FlagCountProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/flag-count-context.tsx <module evaluation>","FlagCountProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useFlagCount() from the server but useFlagCount is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/flag-count-context.tsx <module evaluation>","useFlagCount")},292542,a=>{"use strict";a.s(["FlagCountProvider",()=>c,"useFlagCount",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call FlagCountProvider() from the server but FlagCountProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/flag-count-context.tsx","FlagCountProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useFlagCount() from the server but useFlagCount is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/flag-count-context.tsx","useFlagCount")},97859,a=>{"use strict";a.i(778759);var b=a.i(292542);a.n(b)},578647,a=>{"use strict";a.s(["WorkspaceShell",()=>c,"useSidebarTrigger",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call WorkspaceShell() from the server but WorkspaceShell is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/components/workspace-shell.tsx <module evaluation>","WorkspaceShell"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useSidebarTrigger() from the server but useSidebarTrigger is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/components/workspace-shell.tsx <module evaluation>","useSidebarTrigger")},383843,a=>{"use strict";a.s(["WorkspaceShell",()=>c,"useSidebarTrigger",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call WorkspaceShell() from the server but WorkspaceShell is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/components/workspace-shell.tsx","WorkspaceShell"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useSidebarTrigger() from the server but useSidebarTrigger is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/components/workspace-shell.tsx","useSidebarTrigger")},877617,a=>{"use strict";a.i(578647);var b=a.i(383843);a.n(b)},678399,a=>a.a(async(b,c)=>{try{var d=a.i(144637),e=a.i(446912);a.i(900104);var f=a.i(672234),g=a.i(689190);a.i(250195);var h=a.i(542168),i=a.i(696826),j=a.i(678327),k=a.i(452149),l=a.i(498915),m=a.i(150409),n=a.i(143131),o=a.i(97859),p=a.i(877617),q=b([j]);async function r({children:a,params:b}){let c=await (0,j.getSession)();c||(0,f.redirect)("/sign-in");let{slug:q}=await b,{env:s}=await (0,g.getCloudflareContext)({async:!0}),t=(0,i.getDb)(s.DB),u=await h.queries.workspace.getWorkspaceBySlug(t,q);u||(0,f.redirect)("/workspaces"),await h.queries.member.getMemberByUserAndWorkspace(t,c.user.id,u.id)||(0,f.redirect)("/workspaces");let v=await h.queries.agent.listAgents(t,u.id,c.user.id);if(0===v.length){let a=(await (0,e.headers)()).get("cookie")||"",b=Object.fromEntries(a.split(";").map(a=>{let[b,...c]=a.trim().split("=");return[b,c.join("=")]}));b.skip_init&&b.skip_init===u.id||(0,f.redirect)(`/studio/new?workspace_id=${u.id}`)}return(0,d.jsx)(k.WorkspaceProvider,{workspaceId:u.id,slug:q,children:(0,d.jsx)(l.AgentProvider,{workspaceId:u.id,children:(0,d.jsx)(n.InboxCountProvider,{children:(0,d.jsx)(o.FlagCountProvider,{children:(0,d.jsx)(m.ChannelProvider,{workspaceId:u.id,children:(0,d.jsx)(p.WorkspaceShell,{children:a})})})})})})}[j]=q.then?(await q)():q,a.s(["default",0,r]),c()}catch(a){c(a)}},!1),234278,a=>{a.n(a.i(678399))}];
|
|
71
|
+
`),await J(a,b,c)}a.s(["deleteAllUnreadEntries",0,J,"deleteUnreadEntry",0,I,"findLatestAssistantMessageId",0,K,"getUnreadCount",0,M,"isUnreadEligible",0,function(a){return null==a.parentTaskId&&null!=a.traceId&&!!F.includes(a.type)&&("email_notification"!==a.type||a.context?.isInternal!==!0)},"listUnreadConversations",0,L,"markAllConversationsRead",0,O,"markConversationRead",0,N,"updateUnreadLatestMessage",0,H,"upsertUnreadEntry",0,G],975036);var P=a.i(975036),Q=a.i(328039),R=a.i(855312),S=a.i(79908);a.s(["agent",0,e,"agentAccess",0,t,"agentLink",0,C,"agentPin",0,u,"agentSidebarOrder",0,v,"agentSkill",0,A,"artifact",0,q,"calendarEvent",0,p,"channel",0,y,"conversation",0,g,"conversationMap",0,B,"email",0,n,"emailAccount",0,r,"inbox",0,P,"issue",0,Q,"issueComment",0,R,"machine",0,k,"machineToken",0,l,"meetingSession",0,x,"member",0,d,"message",0,h,"messageFlag",0,S,"overview",0,w,"runtime",0,f,"session",0,o,"task",0,i,"taskMessage",0,j,"user",0,b,"whitelist",0,m,"workspace",0,c,"workspaceFileRequest",0,z,"workspaceInvite",0,s],395780);var T=a.i(395780);a.s(["queries",0,T],542168)},696826,a=>{"use strict";a.i(250195);var b=a.i(544979);a.s(["getDb",0,function(a){let c=a.withSession("first-unconstrained");return(0,b.createDb)(c)}])},885135,a=>{"use strict";a.s(["WorkspaceProvider",()=>c,"useWorkspace",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call WorkspaceProvider() from the server but WorkspaceProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/workspace-context.tsx <module evaluation>","WorkspaceProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useWorkspace() from the server but useWorkspace is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/workspace-context.tsx <module evaluation>","useWorkspace")},27504,a=>{"use strict";a.s(["WorkspaceProvider",()=>c,"useWorkspace",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call WorkspaceProvider() from the server but WorkspaceProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/workspace-context.tsx","WorkspaceProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useWorkspace() from the server but useWorkspace is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/workspace-context.tsx","useWorkspace")},452149,a=>{"use strict";a.i(885135);var b=a.i(27504);a.n(b)},584236,a=>{"use strict";a.s(["AgentProvider",()=>c,"useAgentContext",()=>d,"useAgentContextSafe",()=>e]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call AgentProvider() from the server but AgentProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/agent-context.tsx <module evaluation>","AgentProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useAgentContext() from the server but useAgentContext is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/agent-context.tsx <module evaluation>","useAgentContext"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call useAgentContextSafe() from the server but useAgentContextSafe is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/agent-context.tsx <module evaluation>","useAgentContextSafe")},861849,a=>{"use strict";a.s(["AgentProvider",()=>c,"useAgentContext",()=>d,"useAgentContextSafe",()=>e]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call AgentProvider() from the server but AgentProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/agent-context.tsx","AgentProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useAgentContext() from the server but useAgentContext is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/agent-context.tsx","useAgentContext"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call useAgentContextSafe() from the server but useAgentContextSafe is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/agent-context.tsx","useAgentContextSafe")},498915,a=>{"use strict";a.i(584236);var b=a.i(861849);a.n(b)},991013,a=>{"use strict";a.s(["ChannelProvider",()=>c,"useChannel",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ChannelProvider() from the server but ChannelProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/channel-context.tsx <module evaluation>","ChannelProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useChannel() from the server but useChannel is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/channel-context.tsx <module evaluation>","useChannel")},906430,a=>{"use strict";a.s(["ChannelProvider",()=>c,"useChannel",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ChannelProvider() from the server but ChannelProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/channel-context.tsx","ChannelProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useChannel() from the server but useChannel is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/channel-context.tsx","useChannel")},150409,a=>{"use strict";a.i(991013);var b=a.i(906430);a.n(b)},632146,a=>{"use strict";a.s(["InboxCountProvider",()=>c,"useInboxCount",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call InboxCountProvider() from the server but InboxCountProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/inbox-count-context.tsx <module evaluation>","InboxCountProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useInboxCount() from the server but useInboxCount is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/inbox-count-context.tsx <module evaluation>","useInboxCount")},269150,a=>{"use strict";a.s(["InboxCountProvider",()=>c,"useInboxCount",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call InboxCountProvider() from the server but InboxCountProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/inbox-count-context.tsx","InboxCountProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useInboxCount() from the server but useInboxCount is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/inbox-count-context.tsx","useInboxCount")},143131,a=>{"use strict";a.i(632146);var b=a.i(269150);a.n(b)},778759,a=>{"use strict";a.s(["FlagCountProvider",()=>c,"useFlagCount",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call FlagCountProvider() from the server but FlagCountProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/flag-count-context.tsx <module evaluation>","FlagCountProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useFlagCount() from the server but useFlagCount is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/flag-count-context.tsx <module evaluation>","useFlagCount")},292542,a=>{"use strict";a.s(["FlagCountProvider",()=>c,"useFlagCount",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call FlagCountProvider() from the server but FlagCountProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/flag-count-context.tsx","FlagCountProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useFlagCount() from the server but useFlagCount is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/contexts/flag-count-context.tsx","useFlagCount")},97859,a=>{"use strict";a.i(778759);var b=a.i(292542);a.n(b)},578647,a=>{"use strict";a.s(["WorkspaceShell",()=>c,"useSidebarTrigger",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call WorkspaceShell() from the server but WorkspaceShell is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/components/workspace-shell.tsx <module evaluation>","WorkspaceShell"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useSidebarTrigger() from the server but useSidebarTrigger is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/components/workspace-shell.tsx <module evaluation>","useSidebarTrigger")},383843,a=>{"use strict";a.s(["WorkspaceShell",()=>c,"useSidebarTrigger",()=>d]);var b=a.i(265047);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call WorkspaceShell() from the server but WorkspaceShell is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/components/workspace-shell.tsx","WorkspaceShell"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useSidebarTrigger() from the server but useSidebarTrigger is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/web/src/components/workspace-shell.tsx","useSidebarTrigger")},877617,a=>{"use strict";a.i(578647);var b=a.i(383843);a.n(b)},678399,a=>a.a(async(b,c)=>{try{var d=a.i(144637),e=a.i(446912);a.i(900104);var f=a.i(672234),g=a.i(689190);a.i(250195);var h=a.i(542168),i=a.i(696826),j=a.i(678327),k=a.i(452149),l=a.i(498915),m=a.i(150409),n=a.i(143131),o=a.i(97859),p=a.i(877617),q=b([j]);async function r({children:a,params:b}){let c=await (0,j.getSession)();c||(0,f.redirect)("/sign-in");let{slug:q}=await b,{env:s}=await (0,g.getCloudflareContext)({async:!0}),t=(0,i.getDb)(s.DB),u=await h.queries.workspace.getWorkspaceBySlug(t,q);u||(0,f.redirect)("/workspaces"),await h.queries.member.getMemberByUserAndWorkspace(t,c.user.id,u.id)||(0,f.redirect)("/workspaces");let v=await h.queries.agent.listAgents(t,u.id,c.user.id);if(0===v.length){let a=(await (0,e.headers)()).get("cookie")||"",b=Object.fromEntries(a.split(";").map(a=>{let[b,...c]=a.trim().split("=");return[b,c.join("=")]}));b.skip_init&&b.skip_init===u.id||(0,f.redirect)(`/studio/new?workspace_id=${u.id}`)}return(0,d.jsx)(k.WorkspaceProvider,{workspaceId:u.id,slug:q,children:(0,d.jsx)(l.AgentProvider,{workspaceId:u.id,children:(0,d.jsx)(n.InboxCountProvider,{children:(0,d.jsx)(o.FlagCountProvider,{children:(0,d.jsx)(m.ChannelProvider,{workspaceId:u.id,children:(0,d.jsx)(p.WorkspaceShell,{children:a})})})})})})}[j]=q.then?(await q)():q,a.s(["default",0,r]),c()}catch(a){c(a)}},!1),234278,a=>{a.n(a.i(678399))}];
|
|
84
72
|
|
|
85
73
|
//# sourceMappingURL=src_0liq_10._.js.map
|