@shepai/cli 1.106.4-pr326.f9b6ed2 → 1.106.4-pr327.f3fea88
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/apis/json-schema/FeatureFlags.yaml +5 -0
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +1 -0
- package/dist/packages/core/src/domain/generated/output.d.ts +4 -0
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +3 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.js +11 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.js +3 -2
- package/dist/src/presentation/web/app/(dashboard)/@drawer/feature/[featureId]/page.d.ts.map +1 -1
- package/dist/src/presentation/web/app/(dashboard)/@drawer/feature/[featureId]/page.js +48 -5
- package/dist/src/presentation/web/app/actions/get-graph-data.d.ts +10 -0
- package/dist/src/presentation/web/app/actions/get-graph-data.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/get-graph-data.js +10 -0
- package/dist/src/presentation/web/app/api/chat/stream/route.d.ts +14 -0
- package/dist/src/presentation/web/app/api/chat/stream/route.d.ts.map +1 -0
- package/dist/src/presentation/web/app/api/chat/stream/route.js +153 -0
- package/dist/src/presentation/web/app/chat/page.d.ts +4 -0
- package/dist/src/presentation/web/app/chat/page.d.ts.map +1 -0
- package/dist/src/presentation/web/app/chat/page.js +11 -0
- package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.js +25 -9
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.js +1 -3
- package/dist/src/presentation/web/components/features/chat/chat-empty-state.d.ts +6 -0
- package/dist/src/presentation/web/components/features/chat/chat-empty-state.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/chat-empty-state.js +14 -0
- package/dist/src/presentation/web/components/features/chat/chat-empty-state.stories.d.ts +7 -0
- package/dist/src/presentation/web/components/features/chat/chat-empty-state.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/chat-empty-state.stories.js +15 -0
- package/dist/src/presentation/web/components/features/chat/chat-header.d.ts +7 -0
- package/dist/src/presentation/web/components/features/chat/chat-header.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/chat-header.js +10 -0
- package/dist/src/presentation/web/components/features/chat/chat-header.stories.d.ts +8 -0
- package/dist/src/presentation/web/components/features/chat/chat-header.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/chat-header.stories.js +20 -0
- package/dist/src/presentation/web/components/features/chat/chat-page-client.d.ts +2 -0
- package/dist/src/presentation/web/components/features/chat/chat-page-client.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/chat-page-client.js +50 -0
- package/dist/src/presentation/web/components/features/chat/chat-page-client.stories.d.ts +7 -0
- package/dist/src/presentation/web/components/features/chat/chat-page-client.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/chat-page-client.stories.js +15 -0
- package/dist/src/presentation/web/components/features/chat/chat-view.d.ts +24 -0
- package/dist/src/presentation/web/components/features/chat/chat-view.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/chat-view.js +17 -0
- package/dist/src/presentation/web/components/features/chat/chat-view.stories.d.ts +14 -0
- package/dist/src/presentation/web/components/features/chat/chat-view.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/chat-view.stories.js +149 -0
- package/dist/src/presentation/web/components/features/chat/index.d.ts +5 -0
- package/dist/src/presentation/web/components/features/chat/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/index.js +4 -0
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.js +2 -6
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.js +3 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.js +3 -0
- package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.js +6 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.js +1 -0
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.js +2 -2
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.js +1 -1
- package/dist/src/presentation/web/components/ui/avatar.d.ts +12 -0
- package/dist/src/presentation/web/components/ui/avatar.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/avatar.js +23 -0
- package/dist/src/presentation/web/components/ui/chat-container.d.ts +17 -0
- package/dist/src/presentation/web/components/ui/chat-container.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/chat-container.js +14 -0
- package/dist/src/presentation/web/components/ui/code-block.d.ts +17 -0
- package/dist/src/presentation/web/components/ui/code-block.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/code-block.js +29 -0
- package/dist/src/presentation/web/components/ui/loader.d.ts +60 -0
- package/dist/src/presentation/web/components/ui/loader.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/loader.js +190 -0
- package/dist/src/presentation/web/components/ui/markdown.d.ts +12 -0
- package/dist/src/presentation/web/components/ui/markdown.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/markdown.js +50 -0
- package/dist/src/presentation/web/components/ui/message.d.ts +35 -0
- package/dist/src/presentation/web/components/ui/message.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/message.js +18 -0
- package/dist/src/presentation/web/components/ui/prompt-input.d.ts +30 -0
- package/dist/src/presentation/web/components/ui/prompt-input.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/prompt-input.js +98 -0
- package/dist/src/presentation/web/hooks/feature-flags-context.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/feature-flags-context.js +6 -1
- package/dist/src/presentation/web/hooks/use-chat.d.ts +57 -0
- package/dist/src/presentation/web/hooks/use-chat.d.ts.map +1 -0
- package/dist/src/presentation/web/hooks/use-chat.js +217 -0
- package/dist/src/presentation/web/hooks/use-graph-state.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/use-graph-state.js +0 -26
- package/dist/src/presentation/web/hooks/use-sound.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/use-sound.js +3 -13
- package/dist/src/presentation/web/lib/feature-flags.d.ts +2 -0
- package/dist/src/presentation/web/lib/feature-flags.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/feature-flags.js +7 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/app-path-routes-manifest.json +2 -1
- package/web/.next/build-manifest.json +7 -7
- package/web/.next/fallback-build-manifest.json +2 -2
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/required-server-files.js +1 -1
- package/web/.next/required-server-files.json +1 -1
- package/web/.next/routes-manifest.json +12 -6
- package/web/.next/server/app/(dashboard)/@drawer/create/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +53 -38
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +63 -63
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +4 -4
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +63 -63
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +4 -4
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +49 -34
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/create/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +53 -38
- package/web/.next/server/app/(dashboard)/create/page.js +3 -3
- package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +63 -63
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +4 -4
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +63 -63
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +4 -4
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +49 -34
- package/web/.next/server/app/(dashboard)/page.js +3 -3
- package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +49 -34
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +3 -3
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error/page/build-manifest.json +5 -5
- package/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/server/app/_global-error.rsc +7 -7
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
- package/web/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
- package/web/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found/page/build-manifest.json +5 -5
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
- package/web/.next/server/app/api/chat/stream/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/api/chat/stream/route.js +6 -0
- package/web/.next/server/app/api/chat/stream/route.js.nft.json +1 -0
- package/web/.next/server/app/api/chat/stream/route_client-reference-manifest.js +2 -0
- package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
- package/web/.next/server/app/api/feature-logs/route.js +1 -1
- package/web/.next/server/app/api/feature-logs/route.js.nft.json +1 -1
- package/web/.next/server/app/chat/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/chat/page/build-manifest.json +18 -0
- package/web/.next/server/app/chat/page/next-font-manifest.json +6 -0
- package/web/.next/server/app/chat/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/chat/page/server-reference-manifest.json +20 -0
- package/web/.next/server/app/chat/page.js +17 -0
- package/web/.next/server/app/chat/page.js.map +5 -0
- package/web/.next/server/app/chat/page.js.nft.json +1 -0
- package/web/.next/server/app/chat/page_client-reference-manifest.js +2 -0
- package/web/.next/server/app/settings/page/build-manifest.json +5 -5
- package/web/.next/server/app/settings/page/server-reference-manifest.json +5 -5
- package/web/.next/server/app/settings/page.js.nft.json +1 -1
- package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/skills/page/build-manifest.json +5 -5
- package/web/.next/server/app/skills/page/server-reference-manifest.json +6 -6
- package/web/.next/server/app/skills/page.js +4 -4
- package/web/.next/server/app/skills/page.js.nft.json +1 -1
- package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/tools/page/build-manifest.json +5 -5
- package/web/.next/server/app/tools/page/server-reference-manifest.json +6 -6
- package/web/.next/server/app/tools/page.js.nft.json +1 -1
- package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/version/page/build-manifest.json +5 -5
- package/web/.next/server/app/version/page/server-reference-manifest.json +2 -2
- package/web/.next/server/app/version/page.js.nft.json +1 -1
- package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app-paths-manifest.json +2 -1
- package/web/.next/server/chunks/403f9_next_567de315._.js +1 -1
- package/web/.next/server/chunks/744ca_web__next-internal_server_app_api_chat_stream_route_actions_ea265361.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__0866d2b5._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__332c8d91._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__3b72e8b0._.js +1 -1
- package/web/.next/server/chunks/{[root-of-the-server]__d8037e14._.js → [root-of-the-server]__52c318d1._.js} +2 -2
- package/web/.next/server/chunks/[root-of-the-server]__57104a4c._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__7d63f9a4._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__9191749c._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__99c20fe5._.js +5 -0
- package/web/.next/server/chunks/[root-of-the-server]__99c20fe5._.js.map +1 -0
- package/web/.next/server/chunks/[root-of-the-server]__9a136c79._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__a1c7c02a._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__a5879003._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__aae14de3._.js +2 -2
- package/web/.next/server/chunks/[root-of-the-server]__aae14de3._.js.map +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__b2f9a412._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__b4102cc7._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__d2c18946._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__d9d410a8._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__e247a485._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__f47bb8a5._.js +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_31ea46d3._.js +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_c9d9b4d7._.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +4 -0
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_0a7546ed.js +3 -0
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_0a7546ed.js.map +1 -0
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_978cbb4c.js +3 -0
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_978cbb4c.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__11033878._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__11033878._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__13482941._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__13482941._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1f1931f8._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1f1931f8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__248ee887._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__24dd0927._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__24dd0927._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__26d31159._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__26d31159._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2a6f3e3f._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2a6f3e3f._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__51fc98b0._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__51fc98b0._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__57f37786._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__57f37786._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5d87af2e._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6803b571._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6803b571._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__708dcad1._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__708dcad1._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__845a9d2a._.js → [root-of-the-server]__753f42eb._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__753f42eb._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__89e8a5cc._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__89e8a5cc._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8e002910._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8e002910._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__94128fa9._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__94128fa9._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__99857356._.js +61 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__99857356._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9b8f6941._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9b8f6941._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9bfb8e7c._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9bfb8e7c._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b062b383._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fdc75809._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fdc75809._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_135edb9c._.js +1 -1
- package/web/.next/server/chunks/ssr/_135edb9c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_f479e2e8._.js → _15dc3761._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_f479e2e8._.js.map → _15dc3761._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_25eb2abf._.js +4 -0
- package/web/.next/server/chunks/ssr/_25eb2abf._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_273d4632._.js +1 -1
- package/web/.next/server/chunks/ssr/_34ba40e0._.js +3 -0
- package/web/.next/server/chunks/ssr/_34ba40e0._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_4093a637._.js +5 -0
- package/web/.next/server/chunks/ssr/_4093a637._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_6a2e8373._.js +3 -0
- package/web/.next/server/chunks/ssr/_6a2e8373._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_250a63ae._.js → _6e08ce21._.js} +2 -2
- package/web/.next/server/chunks/ssr/_6e08ce21._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_7ba5f9bd._.js +9 -0
- package/web/.next/server/chunks/ssr/_7ba5f9bd._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_8dacd1e7._.js +2 -2
- package/web/.next/server/chunks/ssr/_8dacd1e7._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_906e9cde._.js +3 -0
- package/web/.next/server/chunks/ssr/_906e9cde._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_a37f5f18._.js +1 -1
- package/web/.next/server/chunks/ssr/_a37f5f18._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_b407679c._.js +3 -0
- package/web/.next/server/chunks/ssr/_b407679c._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_cc77a143._.js +1 -1
- package/web/.next/server/chunks/ssr/_cc77a143._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_d7c4fb01._.js +7 -0
- package/web/.next/server/chunks/ssr/_d7c4fb01._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_eb8add9f._.js +4 -0
- package/web/.next/server/chunks/ssr/_eb8add9f._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_f5316e67._.js +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js +3 -0
- package/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{src_presentation_web_d7392251._.js → src_presentation_web_7275ce5d._.js} +3 -3
- package/web/.next/server/chunks/ssr/{src_presentation_web_9f444130._.js.map → src_presentation_web_7275ce5d._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/{src_presentation_web_9f444130._.js → src_presentation_web_758dfa10._.js} +3 -3
- package/web/.next/server/chunks/ssr/{src_presentation_web_d7392251._.js.map → src_presentation_web_758dfa10._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_84803221.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_84803221.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_app_(dashboard)_get-graph-data_ts_b018483e._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_(dashboard)_get-graph-data_ts_b018483e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_components_bf50c527._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_bf50c527._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_de814675._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_de814675._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_e599bb8c._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_e599bb8c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_tools_tools-page-client_tsx_3d0aa70c._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js.map +1 -0
- package/web/.next/server/middleware-build-manifest.js +5 -5
- package/web/.next/server/pages/500.html +2 -2
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +293 -251
- package/web/.next/static/chunks/0000a3bd9d33363e.js +1 -0
- package/web/.next/static/chunks/{1bcb9cea556264be.js → 0146cc63e09aa1fc.js} +1 -1
- package/web/.next/static/chunks/01c44c0f52e94d13.js +1 -0
- package/web/.next/static/chunks/025972c91961cb4f.js +1 -0
- package/web/.next/static/chunks/04077bc8814ebb95.js +1 -0
- package/web/.next/static/chunks/040f765faf202f21.js +1 -0
- package/web/.next/static/chunks/0452bf6331941e3f.js +1 -0
- package/web/.next/static/chunks/04abfd0d3656c990.js +1 -0
- package/web/.next/static/chunks/04ba2061ab93d4b4.js +1 -0
- package/web/.next/static/chunks/053a7b986353ec4b.js +1 -0
- package/web/.next/static/chunks/06f273bdc5828685.js +1 -0
- package/web/.next/static/chunks/0749a5b512d6df6b.js +1 -0
- package/web/.next/static/chunks/07720f62d0494cff.js +1 -0
- package/web/.next/static/chunks/07b3a3fe5ed6806c.js +1 -0
- package/web/.next/static/chunks/07ed2655f92b082d.js +1 -0
- package/web/.next/static/chunks/0820c893f5292ab6.js +1 -0
- package/web/.next/static/chunks/08fb03f101641646.js +1 -0
- package/web/.next/static/chunks/0992e1494eb73f73.js +1 -0
- package/web/.next/static/chunks/{d001c315a91fa0d6.js → 0b0f65124c9e6e98.js} +1 -1
- package/web/.next/static/chunks/0b64f70d18b592a9.js +1 -0
- package/web/.next/static/chunks/0b925ca1a402d3cd.js +1 -0
- package/web/.next/static/chunks/0c4d93176dc739f0.js +1 -0
- package/web/.next/static/chunks/0c65283281ae11be.js +1 -0
- package/web/.next/static/chunks/0c82301271695b04.js +1 -0
- package/web/.next/static/chunks/0d6db841c33ab4f1.js +1 -0
- package/web/.next/static/chunks/0d813d73dacd9b43.js +1 -0
- package/web/.next/static/chunks/0dcf159fb9a610e4.js +1 -0
- package/web/.next/static/chunks/0e7dfad45e402b87.js +1 -0
- package/web/.next/static/chunks/0e827c7f60ca4551.js +1 -0
- package/web/.next/static/chunks/0f619c5c402fb9f4.js +1 -0
- package/web/.next/static/chunks/0f83f16fa24fd5d7.js +1 -0
- package/web/.next/static/chunks/0feedea346fd5fbe.js +1 -0
- package/web/.next/static/chunks/12dbfd5ed203fd8c.js +1 -0
- package/web/.next/static/chunks/13ab63bcbd1b9d73.js +1 -0
- package/web/.next/static/chunks/14e6e069b833483c.js +1 -0
- package/web/.next/static/chunks/15049e8c70931a5c.js +1 -0
- package/web/.next/static/chunks/15e9e6d3526dba19.js +1 -0
- package/web/.next/static/chunks/1675a99c138a8dff.js +1 -0
- package/web/.next/static/chunks/18257a988399c500.js +1 -0
- package/web/.next/static/chunks/18b8b7c0f43653ed.js +1 -0
- package/web/.next/static/chunks/1903ea0fc4a1c66a.js +1 -0
- package/web/.next/static/chunks/1a9763ce5ba22b57.js +1 -0
- package/web/.next/static/chunks/1c5a18c436c08be5.js +1 -0
- package/web/.next/static/chunks/1d95a3b4ad425e84.js +1 -0
- package/web/.next/static/chunks/1e88753738d86281.js +1 -0
- package/web/.next/static/chunks/1f5b06b26b55f61e.js +1 -0
- package/web/.next/static/chunks/20e893034947cff0.js +1 -0
- package/web/.next/static/chunks/2199bd4a3f61c371.js +1 -0
- package/web/.next/static/chunks/21f6010e9d824e2b.js +1 -0
- package/web/.next/static/chunks/2277de4cd5d76ea0.js +1 -0
- package/web/.next/static/chunks/23874b32b27bc398.js +1 -0
- package/web/.next/static/chunks/242af1b1794692bb.js +1 -0
- package/web/.next/static/chunks/24ff7613e7640548.js +1 -0
- package/web/.next/static/chunks/255b89458bc45261.js +1 -0
- package/web/.next/static/chunks/256f95ef70dd81c3.js +1 -0
- package/web/.next/static/chunks/2612e5560f8ba2c2.js +1 -0
- package/web/.next/static/chunks/26cc1fb330a4c4ef.js +1 -0
- package/web/.next/static/chunks/2796913db81fa3a0.js +1 -0
- package/web/.next/static/chunks/2a0985b01345546d.js +1 -0
- package/web/.next/static/chunks/2a13aed05cd157cb.js +1 -0
- package/web/.next/static/chunks/2a65cbda6248ac45.js +1 -0
- package/web/.next/static/chunks/2a9e798066780ccb.js +1 -0
- package/web/.next/static/chunks/2aecaa7075dff32c.js +1 -0
- package/web/.next/static/chunks/2aff3eb00311b5ff.js +1 -0
- package/web/.next/static/chunks/2b601943d3e94e5b.js +1 -0
- package/web/.next/static/chunks/2ce5939b18e1a21e.js +1 -0
- package/web/.next/static/chunks/2d204a2a777b935d.js +1 -0
- package/web/.next/static/chunks/2d64b4ffcaccace0.js +1 -0
- package/web/.next/static/chunks/2d890ccc3bdefafa.js +1 -0
- package/web/.next/static/chunks/2e25aca5b7400f56.js +1 -0
- package/web/.next/static/chunks/2ed750fa9ff05fb4.js +1 -0
- package/web/.next/static/chunks/2f1a7ab193aa56ab.js +1 -0
- package/web/.next/static/chunks/2fc0965d77242987.js +1 -0
- package/web/.next/static/chunks/3054fd6667aee1d2.js +1 -0
- package/web/.next/static/chunks/305ea36a55b1b01d.js +1 -0
- package/web/.next/static/chunks/31345772bfb5b56d.js +1 -0
- package/web/.next/static/chunks/31e19c87048a2dd2.js +1 -0
- package/web/.next/static/chunks/32a5dff7a1424ce7.js +1 -0
- package/web/.next/static/chunks/3320db3c4bd922dd.js +1 -0
- package/web/.next/static/chunks/338b409bcf9c5da6.js +1 -0
- package/web/.next/static/chunks/33f71ecfbcc40eb8.js +1 -0
- package/web/.next/static/chunks/35bc063ce1c82d62.js +1 -0
- package/web/.next/static/chunks/366630af12ceb9aa.js +1 -0
- package/web/.next/static/chunks/36a02bc96e797be1.js +1 -0
- package/web/.next/static/chunks/3857a5a593f557b6.js +1 -0
- package/web/.next/static/chunks/38f38199611b387a.js +1 -0
- package/web/.next/static/chunks/39fd8dea78ce33a1.js +1 -0
- package/web/.next/static/chunks/3a9753d40e045b8f.js +1 -0
- package/web/.next/static/chunks/3ae3c50c728eab31.js +11 -0
- package/web/.next/static/chunks/3b811f725088f5ec.js +1 -0
- package/web/.next/static/chunks/3d0086082ce28745.js +1 -0
- package/web/.next/static/chunks/3daba4c77e106a0b.js +1 -0
- package/web/.next/static/chunks/3eeb840a2075bfde.js +1 -0
- package/web/.next/static/chunks/3f2585c9332265e2.js +1 -0
- package/web/.next/static/chunks/3f701f917196c596.js +1 -0
- package/web/.next/static/chunks/4028b1961891bd0b.js +1 -0
- package/web/.next/static/chunks/40962df79d5b9308.js +1 -0
- package/web/.next/static/chunks/40bdb6b0b6b24b30.js +1 -0
- package/web/.next/static/chunks/419f2849c47d15b0.js +1 -0
- package/web/.next/static/chunks/4301b2746001957f.js +1 -0
- package/web/.next/static/chunks/458a6ec844531967.js +1 -0
- package/web/.next/static/chunks/45ae42a60c5885ba.js +1 -0
- package/web/.next/static/chunks/45d55f26409a62e9.js +1 -0
- package/web/.next/static/chunks/469057391d9b81af.js +1 -0
- package/web/.next/static/chunks/46af0d08db9ec138.js +1 -0
- package/web/.next/static/chunks/47dd15642d568b90.js +1 -0
- package/web/.next/static/chunks/4be33773114cd302.js +1 -0
- package/web/.next/static/chunks/4c3eff62cda82668.js +1 -0
- package/web/.next/static/chunks/4c592610236f630f.js +4 -0
- package/web/.next/static/chunks/4cc404bcff34a71f.js +1 -0
- package/web/.next/static/chunks/4d44c49ec4cdd79f.js +1 -0
- package/web/.next/static/chunks/4f0c36555d75e5fe.js +1 -0
- package/web/.next/static/chunks/554aadda059a8430.js +1 -0
- package/web/.next/static/chunks/55c4d9d2fddbead4.js +1 -0
- package/web/.next/static/chunks/55dc4e8d31455c2d.js +1 -0
- package/web/.next/static/chunks/5737640b5eb3844c.js +1 -0
- package/web/.next/static/chunks/5874c94c33f9b7b0.js +1 -0
- package/web/.next/static/chunks/58d9b3be51fd5de0.js +1 -0
- package/web/.next/static/chunks/5a4e2f295be16022.js +1 -0
- package/web/.next/static/chunks/5bc3c8f3a6aca6fa.js +1 -0
- package/web/.next/static/chunks/5c3c605bb590e3e7.js +1 -0
- package/web/.next/static/chunks/5c955aad7e021e56.js +1 -0
- package/web/.next/static/chunks/5cb21622c5e5747e.js +1 -0
- package/web/.next/static/chunks/5cdf0942d4f7ed5f.js +1 -0
- package/web/.next/static/chunks/5d4a3f9a24a357ab.js +1 -0
- package/web/.next/static/chunks/5d97d16f083409e9.js +1 -0
- package/web/.next/static/chunks/60f3d869542bf677.js +1 -0
- package/web/.next/static/chunks/62224eae737b4521.js +1 -0
- package/web/.next/static/chunks/6539d0757f0cfc29.js +1 -0
- package/web/.next/static/chunks/65a238abdcb11bcd.js +1 -0
- package/web/.next/static/chunks/65b76ab700c2a9d0.js +1 -0
- package/web/.next/static/chunks/660ad72a4adcb7fc.js +1 -0
- package/web/.next/static/chunks/664c671566a249f4.js +1 -0
- package/web/.next/static/chunks/66bbfced65db425f.js +1 -0
- package/web/.next/static/chunks/68b6eedefa12f8c7.js +1 -0
- package/web/.next/static/chunks/68fa8559029f9f41.js +1 -0
- package/web/.next/static/chunks/6947ab623933a779.js +1 -0
- package/web/.next/static/chunks/6e9f2a1a17352af0.js +1 -0
- package/web/.next/static/chunks/6ee18bbefc401436.js +1 -0
- package/web/.next/static/chunks/6f83a2cba6850e4a.js +1 -0
- package/web/.next/static/chunks/6fb42a88b84aa22b.js +1 -0
- package/web/.next/static/chunks/6ffd8d481eb5e86a.js +1 -0
- package/web/.next/static/chunks/70ebb562067defff.js +1 -0
- package/web/.next/static/chunks/719ffd0d25696861.js +1 -0
- package/web/.next/static/chunks/71bbf75ff7ac7d1c.js +1 -0
- package/web/.next/static/chunks/72452c79bb483893.js +1 -0
- package/web/.next/static/chunks/{0102ce60a2a42fab.js → 73512dcafc035901.js} +1 -1
- package/web/.next/static/chunks/737b452d10950f75.js +1 -0
- package/web/.next/static/chunks/73c9849a26d56eaf.js +1 -0
- package/web/.next/static/chunks/742ddcbde2de0a5f.js +1 -0
- package/web/.next/static/chunks/75f20501876081ae.js +1 -0
- package/web/.next/static/chunks/771904aa3f2b5890.js +1 -0
- package/web/.next/static/chunks/78140b3927f34ee1.js +1 -0
- package/web/.next/static/chunks/78c2221a0e9ac3e0.js +1 -0
- package/web/.next/static/chunks/7a16988476a29ae1.js +1 -0
- package/web/.next/static/chunks/7aebb2852b03cf3b.js +1 -0
- package/web/.next/static/chunks/{bef25e3de3ccc184.js → 7b3bad34a11293ef.js} +1 -1
- package/web/.next/static/chunks/7cada01735a2de18.js +1 -0
- package/web/.next/static/chunks/7cd5e13ac856cf73.js +1 -0
- package/web/.next/static/chunks/7d0c918f6da54095.js +1 -0
- package/web/.next/static/chunks/7e55ce83f10514a3.js +1 -0
- package/web/.next/static/chunks/7e70c7df8d1224f0.js +1 -0
- package/web/.next/static/chunks/7f3161de6996c05f.js +1 -0
- package/web/.next/static/chunks/806207333fba56e3.js +1 -0
- package/web/.next/static/chunks/825f5a75a38db3ec.js +1 -0
- package/web/.next/static/chunks/82df15d2af5efffe.js +1 -0
- package/web/.next/static/chunks/83397d71344d405d.js +1 -0
- package/web/.next/static/chunks/8478b108a35675bb.js +1 -0
- package/web/.next/static/chunks/84b6fde40fe98bbc.js +1 -0
- package/web/.next/static/chunks/8525e0fed6102ee4.js +1 -0
- package/web/.next/static/chunks/858a571e17cbe069.js +1 -0
- package/web/.next/static/chunks/8599414ffd4e15f5.js +1 -0
- package/web/.next/static/chunks/85da8b6aabbfc33c.js +1 -0
- package/web/.next/static/chunks/8866422156b74976.js +1 -0
- package/web/.next/static/chunks/8884218357d06e4c.js +1 -0
- package/web/.next/static/chunks/890e85bcb002030f.js +1 -0
- package/web/.next/static/chunks/8a6482e4289bd485.js +1 -0
- package/web/.next/static/chunks/8b34938e48e56746.js +1 -0
- package/web/.next/static/chunks/8bc16f2ee0ac282b.js +1 -0
- package/web/.next/static/chunks/8c05e7493172a40a.js +1 -0
- package/web/.next/static/chunks/8c16bb1814e36e5d.js +1 -0
- package/web/.next/static/chunks/8d9c6ac44d75942c.js +1 -0
- package/web/.next/static/chunks/8e2d9292729601b9.js +1 -0
- package/web/.next/static/chunks/8ed313638226f782.js +1 -0
- package/web/.next/static/chunks/{cfe4dc9904fcfddb.js → 8f4b01641dd98daa.js} +1 -1
- package/web/.next/static/chunks/8f98e5a8f241fe53.js +1 -0
- package/web/.next/static/chunks/8fc154c5edda0beb.js +1 -0
- package/web/.next/static/chunks/8fe2d5b09bf432b8.js +1 -0
- package/web/.next/static/chunks/8fe35ce71e4ad05b.js +1 -0
- package/web/.next/static/chunks/9067d4871d0c903f.js +1 -0
- package/web/.next/static/chunks/92d091aa318b78fb.js +1 -0
- package/web/.next/static/chunks/93af57e60f3a66ba.js +1 -0
- package/web/.next/static/chunks/93dd149a0766adcc.js +1 -0
- package/web/.next/static/chunks/957474fa08a22115.js +1 -0
- package/web/.next/static/chunks/95b925bb74686af7.js +1 -0
- package/web/.next/static/chunks/96158847987b2403.js +1 -0
- package/web/.next/static/chunks/975c124d34c8c6a8.js +1 -0
- package/web/.next/static/chunks/97bf3636621b58c7.js +1 -0
- package/web/.next/static/chunks/97e9c48e0abc9a50.js +1 -0
- package/web/.next/static/chunks/{fe70e73feb07bcfd.js → 98c68c9ea7a9e597.js} +1 -1
- package/web/.next/static/chunks/99052b059a0075f9.js +1 -0
- package/web/.next/static/chunks/99de3f6268e262a3.js +1 -0
- package/web/.next/static/chunks/99e12f466e3868ca.js +1 -0
- package/web/.next/static/chunks/9ba434534d00d922.js +1 -0
- package/web/.next/static/chunks/9d3cb38ab5fb405b.js +1 -0
- package/web/.next/static/chunks/9d5adb23e0187d9c.js +1 -0
- package/web/.next/static/chunks/9d8444f3f16a0998.js +1 -0
- package/web/.next/static/chunks/9dd2a16ac3fea1f1.js +1 -0
- package/web/.next/static/chunks/9e66ab37fd08bc66.js +1 -0
- package/web/.next/static/chunks/a09fa49dbf0f3636.js +1 -0
- package/web/.next/static/chunks/a2000986cd87a131.js +1 -0
- package/web/.next/static/chunks/a31fd9cfaa7a3158.js +1 -0
- package/web/.next/static/chunks/a38e1790e76ded6c.js +1 -0
- package/web/.next/static/chunks/a662e9340d282c55.js +1 -0
- package/web/.next/static/chunks/a77c0a719a2cc920.js +1 -0
- package/web/.next/static/chunks/a7f8cdb6749f9bdd.js +1 -0
- package/web/.next/static/chunks/a8a4fdbbcb3a5998.js +1 -0
- package/web/.next/static/chunks/a8f26eabe8187392.js +1 -0
- package/web/.next/static/chunks/a954d978d5e9781e.js +1 -0
- package/web/.next/static/chunks/a977e04dad1a77c7.js +1 -0
- package/web/.next/static/chunks/abd77592929f00d5.js +1 -0
- package/web/.next/static/chunks/ac53962c1a4765c7.js +1 -0
- package/web/.next/static/chunks/ade5ee5b3412436e.js +1 -0
- package/web/.next/static/chunks/ae84e9326b9e9200.js +2 -0
- package/web/.next/static/chunks/b0810838151379a2.js +1 -0
- package/web/.next/static/chunks/b1106224fbc2f015.js +1 -0
- package/web/.next/static/chunks/b13329875853d9a5.js +1 -0
- package/web/.next/static/chunks/b1460995e7a388b9.css +1 -0
- package/web/.next/static/chunks/b2b08e8fb70210c7.js +1 -0
- package/web/.next/static/chunks/b2f0e49369262eea.js +1 -0
- package/web/.next/static/chunks/b46abe587d05f58c.js +1 -0
- package/web/.next/static/chunks/b555154c60b9d90c.js +1 -0
- package/web/.next/static/chunks/b61982efe6f7e40e.js +1 -0
- package/web/.next/static/chunks/b6972d679174ce65.js +1 -0
- package/web/.next/static/chunks/b6ae34a5c2627d04.js +1 -0
- package/web/.next/static/chunks/bae57337da9a2d34.js +1 -0
- package/web/.next/static/chunks/bba2ccf4fd7849e1.js +1 -0
- package/web/.next/static/chunks/bc21e40585b8dcf4.js +1 -0
- package/web/.next/static/chunks/bd0cd7805b800eab.js +1 -0
- package/web/.next/static/chunks/bf13e9bc0390b21d.js +59 -0
- package/web/.next/static/chunks/bfec0c4899344791.js +1 -0
- package/web/.next/static/chunks/c1a40361928a6f90.js +1 -0
- package/web/.next/static/chunks/c1f34786f0d6908c.js +2 -0
- package/web/.next/static/chunks/c1fa94e9df162cb2.js +1 -0
- package/web/.next/static/chunks/c260a37325b283d3.js +1 -0
- package/web/.next/static/chunks/c3abb9ed0d089656.js +1 -0
- package/web/.next/static/chunks/c49a32e2d002dd91.js +1 -0
- package/web/.next/static/chunks/c564bdda2d517997.js +1 -0
- package/web/.next/static/chunks/c5c7a925445f4d05.js +1 -0
- package/web/.next/static/chunks/c7e793951b20a67f.js +1 -0
- package/web/.next/static/chunks/c86d4c471f194ad0.js +1 -0
- package/web/.next/static/chunks/c8d2cd372806e8b4.js +1 -0
- package/web/.next/static/chunks/c932b41ef3a40647.js +1 -0
- package/web/.next/static/chunks/c95abf23ce28b320.js +1 -0
- package/web/.next/static/chunks/c9d225b49db0980e.js +1 -0
- package/web/.next/static/chunks/c9e3afa09e76a4b2.js +1 -0
- package/web/.next/static/chunks/c9ef2470073e11cb.js +1 -0
- package/web/.next/static/chunks/ca201ae288dba155.js +1 -0
- package/web/.next/static/chunks/ca6196a863fc258d.js +1 -0
- package/web/.next/static/chunks/cac3a64966a112f7.js +1 -0
- package/web/.next/static/chunks/cb1e02415930189c.js +1 -0
- package/web/.next/static/chunks/cb412c095989545d.js +1 -0
- package/web/.next/static/chunks/cba332976e88a351.js +1 -0
- package/web/.next/static/chunks/cbf0c6470851a2f0.js +1 -0
- package/web/.next/static/chunks/cc60420e9bf53d96.js +1 -0
- package/web/.next/static/chunks/cc9054c5e6e1c706.js +1 -0
- package/web/.next/static/chunks/cd3bf2c5469b9646.js +1 -0
- package/web/.next/static/chunks/cdd7964a31b63d66.js +1 -0
- package/web/.next/static/chunks/cdd7f91e23b5ea49.js +1 -0
- package/web/.next/static/chunks/ce6a2fd4485c50c7.js +1 -0
- package/web/.next/static/chunks/d04de4be30ab78ca.js +3 -0
- package/web/.next/static/chunks/d0be65e7d38590b6.js +1 -0
- package/web/.next/static/chunks/d128b5501807e6f0.js +1 -0
- package/web/.next/static/chunks/d2124558f2b71c54.js +1 -0
- package/web/.next/static/chunks/d21a7ac5bcd538a3.js +1 -0
- package/web/.next/static/chunks/d35123b0dc2e2702.js +1 -0
- package/web/.next/static/chunks/d3ff3d218c7ad329.js +1 -0
- package/web/.next/static/chunks/d47def0da790a783.js +1 -0
- package/web/.next/static/chunks/d56169a6ceb14d27.js +1 -0
- package/web/.next/static/chunks/d5f1eede831e271a.js +1 -0
- package/web/.next/static/chunks/d62ba6ca7b41e179.js +1 -0
- package/web/.next/static/chunks/d6e74c394e816b3a.js +1 -0
- package/web/.next/static/chunks/d700d036b0dd9d28.js +1 -0
- package/web/.next/static/chunks/d7922dc82b3d8177.js +1 -0
- package/web/.next/static/chunks/d79a28dee31b3e43.js +1 -0
- package/web/.next/static/chunks/d88d6c7dd4fb3eb0.js +1 -0
- package/web/.next/static/chunks/d95b6e4c9a832b75.js +1 -0
- package/web/.next/static/chunks/dac044a4e6d8e3d4.js +1 -0
- package/web/.next/static/chunks/db873305cb622122.js +1 -0
- package/web/.next/static/chunks/dba11645cc1ddde8.js +1 -0
- package/web/.next/static/chunks/dbfb2921fe1fbe42.js +1 -0
- package/web/.next/static/chunks/dc75258a3914ab28.js +1 -0
- package/web/.next/static/chunks/ddbb7e6d2aa7940f.js +1 -0
- package/web/.next/static/chunks/ddcfb6c08594ccb7.js +1 -0
- package/web/.next/static/chunks/de82d83003608b30.js +1 -0
- package/web/.next/static/chunks/debe9e537fa1dd5c.js +1 -0
- package/web/.next/static/chunks/e0e2881173c1b4ea.js +1 -0
- package/web/.next/static/chunks/e16538f1db410909.js +1 -0
- package/web/.next/static/chunks/e1dcb6b88dd2cbfb.js +1 -0
- package/web/.next/static/chunks/e1ec2aeadbc3e43e.js +1 -0
- package/web/.next/static/chunks/e4967b0e84ca5a95.js +1 -0
- package/web/.next/static/chunks/e4c653eb9557c225.js +1 -0
- package/web/.next/static/chunks/e51516e366109a4d.js +1 -0
- package/web/.next/static/chunks/e759235b76258903.js +1 -0
- package/web/.next/static/chunks/e75c5376799db08c.js +1 -0
- package/web/.next/static/chunks/e8341f198526730e.js +1 -0
- package/web/.next/static/chunks/e8d014f4a5df5f4b.js +1 -0
- package/web/.next/static/chunks/eab21ff64827175b.js +1 -0
- package/web/.next/static/chunks/eaf5638419fe834d.js +1 -0
- package/web/.next/static/chunks/eb49387d22b57020.js +1 -0
- package/web/.next/static/chunks/ebb7e6387076d1f2.js +1 -0
- package/web/.next/static/chunks/ecf9bd4e51bc22b2.js +1 -0
- package/web/.next/static/chunks/ed5f5eaaba3fe86e.js +1 -0
- package/web/.next/static/chunks/ee3792dfe67952fc.js +1 -0
- package/web/.next/static/chunks/ee96f625d002bb6f.js +1 -0
- package/web/.next/static/chunks/f01c407dc77e32e6.js +1 -0
- package/web/.next/static/chunks/f05e324248b7eefa.js +1 -0
- package/web/.next/static/chunks/f116adff993e4e78.js +1 -0
- package/web/.next/static/chunks/f48a6189ac11bc51.js +1 -0
- package/web/.next/static/chunks/f57a12cf8a7fa100.js +1 -0
- package/web/.next/static/chunks/f6bf8273ddaca996.js +1 -0
- package/web/.next/static/chunks/f7313a12522304e8.js +1 -0
- package/web/.next/static/chunks/f7938fccffa01b89.js +1 -0
- package/web/.next/static/chunks/f7b685bb0cb377c2.js +1 -0
- package/web/.next/static/chunks/f7e499a9733db05b.js +1 -0
- package/web/.next/static/chunks/fa113f988d09306b.js +1 -0
- package/web/.next/static/chunks/{01ba9af84561f1de.js → fc1587c1e44444d4.js} +1 -1
- package/web/.next/static/chunks/fcb420148a0cf38e.js +1 -0
- package/web/.next/static/chunks/fd6bbc9c53b0101e.js +1 -0
- package/web/.next/static/chunks/fef1f3b5114b8d2d.js +1 -0
- package/web/.next/static/chunks/{7974892204cb77af.js → ff20a3511ab6687b.js} +1 -1
- package/web/.next/static/chunks/{turbopack-426d9bc2450816ba.js → turbopack-19fdba76a6171f31.js} +1 -1
- package/web/package.json +6 -1
- package/dist/src/presentation/web/app/actions/get-feature-drawer-data.d.ts +0 -8
- package/dist/src/presentation/web/app/actions/get-feature-drawer-data.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/get-feature-drawer-data.js +0 -67
- package/dist/src/presentation/web/app/api/graph-data/route.d.ts +0 -14
- package/dist/src/presentation/web/app/api/graph-data/route.d.ts.map +0 -1
- package/dist/src/presentation/web/app/api/graph-data/route.js +0 -14
- package/dist/src/presentation/web/components/common/control-center-drawer/use-drawer-sync.d.ts +0 -12
- package/dist/src/presentation/web/components/common/control-center-drawer/use-drawer-sync.d.ts.map +0 -1
- package/dist/src/presentation/web/components/common/control-center-drawer/use-drawer-sync.js +0 -75
- package/web/.next/server/app/api/graph-data/route/app-paths-manifest.json +0 -3
- package/web/.next/server/app/api/graph-data/route.js +0 -8
- package/web/.next/server/app/api/graph-data/route.js.nft.json +0 -1
- package/web/.next/server/app/api/graph-data/route_client-reference-manifest.js +0 -2
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +0 -3
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +0 -1
- package/web/.next/server/chunks/744ca_web__next-internal_server_app_api_graph-data_route_actions_26df8a4e.js +0 -3
- package/web/.next/server/chunks/[root-of-the-server]__7d5492a0._.js +0 -3
- package/web/.next/server/chunks/[root-of-the-server]__7d5492a0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_d0119342._.js +0 -3
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_d0119342._.js.map +0 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_7fc19e0a.js +0 -3
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_7fc19e0a.js.map +0 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_c3aca900.js +0 -3
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_c3aca900.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__13dc8e37._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__13dc8e37._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__3a2d3067._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__3a2d3067._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__52485955._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__52485955._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5f776c10._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5f776c10._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__845a9d2a._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__aad040c0._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__aad040c0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c03a4370._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c03a4370._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__d91fdd51._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__d91fdd51._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_1bb131c4._.js +0 -3
- package/web/.next/server/chunks/ssr/_1bb131c4._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_250a63ae._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_3a4c94e3._.js +0 -3
- package/web/.next/server/chunks/ssr/_3a4c94e3._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_4dbfa2c4._.js +0 -3
- package/web/.next/server/chunks/ssr/_4dbfa2c4._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_63920708._.js +0 -4
- package/web/.next/server/chunks/ssr/_63920708._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_9ac70f88._.js +0 -5
- package/web/.next/server/chunks/ssr/_9ac70f88._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_a68d7e1c._.js +0 -9
- package/web/.next/server/chunks/ssr/_a68d7e1c._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_b5fc318a._.js +0 -3
- package/web/.next/server/chunks/ssr/_b5fc318a._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_e6f2da4f._.js +0 -7
- package/web/.next/server/chunks/ssr/_e6f2da4f._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_85d37ebe.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_85d37ebe.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js.map +0 -1
- package/web/.next/static/chunks/07b853e29af1e5f2.js +0 -1
- package/web/.next/static/chunks/1efd560424f964bc.js +0 -1
- package/web/.next/static/chunks/3bb35e0689e8b6b7.js +0 -1
- package/web/.next/static/chunks/47cb562cdfd658ee.js +0 -1
- package/web/.next/static/chunks/52b56677c842e45f.js +0 -3
- package/web/.next/static/chunks/84a181ff3270fd9f.js +0 -1
- package/web/.next/static/chunks/99ae01f6487799a3.js +0 -2
- package/web/.next/static/chunks/a2a134272e350be8.js +0 -11
- package/web/.next/static/chunks/d4d8f0a137bd2eb4.js +0 -4
- package/web/.next/static/chunks/db122a6247f69104.css +0 -1
- package/web/.next/static/chunks/ec3c3274f43409e6.js +0 -2
- package/web/.next/static/chunks/ed3a602003bcb31b.js +0 -1
- /package/web/.next/server/app/api/{graph-data → chat/stream}/route/build-manifest.json +0 -0
- /package/web/.next/server/app/api/{graph-data → chat/stream}/route/server-reference-manifest.json +0 -0
- /package/web/.next/server/app/api/{graph-data → chat/stream}/route.js.map +0 -0
- /package/web/.next/server/chunks/{744ca_web__next-internal_server_app_api_graph-data_route_actions_26df8a4e.js.map → 744ca_web__next-internal_server_app_api_chat_stream_route_actions_ea265361.js.map} +0 -0
- /package/web/.next/server/chunks/{[root-of-the-server]__d8037e14._.js.map → [root-of-the-server]__52c318d1._.js.map} +0 -0
- /package/web/.next/static/{AKX-fGrJ4g-AmQgp32F2N → OiQDaxgdMUYHZ4ZGZWNWt}/_buildManifest.js +0 -0
- /package/web/.next/static/{AKX-fGrJ4g-AmQgp32F2N → OiQDaxgdMUYHZ4ZGZWNWt}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{AKX-fGrJ4g-AmQgp32F2N → OiQDaxgdMUYHZ4ZGZWNWt}/_ssgManifest.js +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { usePathname } from 'next/navigation';
|
|
4
|
-
import { Home, Wrench, Puzzle, Plus, Settings } from 'lucide-react';
|
|
4
|
+
import { Home, MessageSquare, Wrench, Puzzle, Plus, Settings } from 'lucide-react';
|
|
5
5
|
import { Sidebar, SidebarHeader, SidebarContent, SidebarFooter, SidebarMenu, SidebarMenuItem, SidebarMenuButton, SidebarRail, useSidebar, } from '../../ui/sidebar.js';
|
|
6
6
|
import { ScrollArea } from '../../ui/scroll-area.js';
|
|
7
7
|
import { SidebarNavItem } from '../../common/sidebar-nav-item/index.js';
|
|
@@ -29,7 +29,7 @@ export function AppSidebar({ features, featureFlags, showNewFeature = false, onN
|
|
|
29
29
|
'flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2',
|
|
30
30
|
'transition-opacity duration-200 ease-out',
|
|
31
31
|
expandedVisible ? 'opacity-100' : 'opacity-0',
|
|
32
|
-
].join(' '), "aria-hidden": !expandedVisible, children: [_jsx(ShepLogo, { className: "shrink-0", size: 20, variant: versionData.isDev ? 'dev' : 'default' }), _jsx("span", { className: "truncate text-sm font-semibold tracking-tight", children: "Shep" }), _jsx(VersionBadge, { version: versionData.version, branch: versionData.branch || undefined, commitHash: versionData.commitHash || undefined, isDev: versionData.isDev, packageName: versionData.packageName, description: versionData.description, instancePath: versionData.instancePath || undefined })] })) : null, _jsx(SidebarCollapseToggle, { className: "shrink-0 transition-all duration-200" })] }) }), _jsx(SidebarNavItem, { icon: Home, label: "Control Center", href: "/", active: pathname === '/' }), _jsx(SidebarNavItem, { icon: Wrench, label: "Tools", href: "/tools", active: pathname === '/tools' }), featureFlags.skills ? (_jsx(SidebarNavItem, { icon: Puzzle, label: "Skills", href: "/skills", active: pathname === '/skills' })) : null, _jsx(SidebarNavItem, { icon: Settings, label: "Settings", href: "/settings", active: pathname === '/settings' })] }) }), _jsx(SidebarContent, { children: showExpanded ? (_jsxs("div", { className: [
|
|
32
|
+
].join(' '), "aria-hidden": !expandedVisible, children: [_jsx(ShepLogo, { className: "shrink-0", size: 20, variant: versionData.isDev ? 'dev' : 'default' }), _jsx("span", { className: "truncate text-sm font-semibold tracking-tight", children: "Shep" }), _jsx(VersionBadge, { version: versionData.version, branch: versionData.branch || undefined, commitHash: versionData.commitHash || undefined, isDev: versionData.isDev, packageName: versionData.packageName, description: versionData.description, instancePath: versionData.instancePath || undefined })] })) : null, _jsx(SidebarCollapseToggle, { className: "shrink-0 transition-all duration-200" })] }) }), _jsx(SidebarNavItem, { icon: Home, label: "Control Center", href: "/", active: pathname === '/' }), featureFlags.chat ? (_jsx(SidebarNavItem, { icon: MessageSquare, label: "Chat", href: "/chat", active: pathname === '/chat' })) : null, _jsx(SidebarNavItem, { icon: Wrench, label: "Tools", href: "/tools", active: pathname === '/tools' }), featureFlags.skills ? (_jsx(SidebarNavItem, { icon: Puzzle, label: "Skills", href: "/skills", active: pathname === '/skills' })) : null, _jsx(SidebarNavItem, { icon: Settings, label: "Settings", href: "/settings", active: pathname === '/settings' })] }) }), _jsx(SidebarContent, { children: showExpanded ? (_jsxs("div", { className: [
|
|
33
33
|
'min-w-0 overflow-hidden transition-opacity duration-200 ease-out',
|
|
34
34
|
'[&_[data-sidebar=group-label]]:!mt-0 [&_[data-sidebar=group-label]]:!opacity-100 [&_[data-sidebar=group-label]]:!transition-none',
|
|
35
35
|
expandedVisible ? 'opacity-100' : 'opacity-0',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { SidebarProvider, SidebarInset } from '../../ui/sidebar.js';
|
|
3
3
|
import { AppSidebar } from './app-sidebar.js';
|
|
4
|
-
const defaultFeatureFlags = { skills: true, envDeploy: true, debug: false };
|
|
4
|
+
const defaultFeatureFlags = { skills: true, envDeploy: true, debug: false, chat: true };
|
|
5
5
|
const meta = {
|
|
6
6
|
title: 'Layout/AppSidebar',
|
|
7
7
|
component: AppSidebar,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Avatar as AvatarPrimitive } from 'radix-ui';
|
|
3
|
+
declare function Avatar({ className, size, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root> & {
|
|
4
|
+
size?: 'default' | 'sm' | 'lg';
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function AvatarBadge({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function AvatarGroup({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function AvatarGroupCount({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { Avatar, AvatarImage, AvatarFallback, AvatarBadge, AvatarGroup, AvatarGroupCount };
|
|
12
|
+
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/ui/avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,UAAU,CAAC;AAIrD,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,IAAgB,EAChB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,GAAG;IACrD,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC;CAChC,2CAYA;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAQ/F;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,2CAWvD;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,2CAczE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAWxE;AAED,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAW7E;AAED,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Avatar as AvatarPrimitive } from 'radix-ui';
|
|
4
|
+
import { cn } from '../../lib/utils.js';
|
|
5
|
+
function Avatar({ className, size = 'default', ...props }) {
|
|
6
|
+
return (_jsx(AvatarPrimitive.Root, { "data-slot": "avatar", "data-size": size, className: cn('group/avatar relative flex size-8 shrink-0 overflow-hidden rounded-full select-none data-[size=lg]:size-10 data-[size=sm]:size-6', className), ...props }));
|
|
7
|
+
}
|
|
8
|
+
function AvatarImage({ className, ...props }) {
|
|
9
|
+
return (_jsx(AvatarPrimitive.Image, { "data-slot": "avatar-image", className: cn('aspect-square size-full', className), ...props }));
|
|
10
|
+
}
|
|
11
|
+
function AvatarFallback({ className, ...props }) {
|
|
12
|
+
return (_jsx(AvatarPrimitive.Fallback, { "data-slot": "avatar-fallback", className: cn('bg-muted text-muted-foreground flex size-full items-center justify-center rounded-full text-sm group-data-[size=sm]/avatar:text-xs', className), ...props }));
|
|
13
|
+
}
|
|
14
|
+
function AvatarBadge({ className, ...props }) {
|
|
15
|
+
return (_jsx("span", { "data-slot": "avatar-badge", className: cn('bg-primary text-primary-foreground ring-background absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full ring-2 select-none', 'group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden', 'group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2', 'group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2', className), ...props }));
|
|
16
|
+
}
|
|
17
|
+
function AvatarGroup({ className, ...props }) {
|
|
18
|
+
return (_jsx("div", { "data-slot": "avatar-group", className: cn('group/avatar-group *:data-[slot=avatar]:ring-background flex -space-x-2 *:data-[slot=avatar]:ring-2', className), ...props }));
|
|
19
|
+
}
|
|
20
|
+
function AvatarGroupCount({ className, ...props }) {
|
|
21
|
+
return (_jsx("div", { "data-slot": "avatar-group-count", className: cn('bg-muted text-muted-foreground ring-background relative flex size-8 shrink-0 items-center justify-center rounded-full text-sm ring-2 group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3', className), ...props }));
|
|
22
|
+
}
|
|
23
|
+
export { Avatar, AvatarImage, AvatarFallback, AvatarBadge, AvatarGroup, AvatarGroupCount };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type ChatContainerRootProps = {
|
|
2
|
+
children: React.ReactNode;
|
|
3
|
+
className?: string;
|
|
4
|
+
} & React.HTMLAttributes<HTMLDivElement>;
|
|
5
|
+
export type ChatContainerContentProps = {
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
} & React.HTMLAttributes<HTMLDivElement>;
|
|
9
|
+
export type ChatContainerScrollAnchorProps = {
|
|
10
|
+
className?: string;
|
|
11
|
+
ref?: React.RefObject<HTMLDivElement>;
|
|
12
|
+
} & React.HTMLAttributes<HTMLDivElement>;
|
|
13
|
+
declare function ChatContainerRoot({ children, className, ...props }: ChatContainerRootProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function ChatContainerContent({ children, className, ...props }: ChatContainerContentProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function ChatContainerScrollAnchor({ className, ...props }: ChatContainerScrollAnchorProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export { ChatContainerRoot, ChatContainerContent, ChatContainerScrollAnchor };
|
|
17
|
+
//# sourceMappingURL=chat-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-container.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/ui/chat-container.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAEzC,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAEzC,MAAM,MAAM,8BAA8B,GAAG;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CACvC,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAEzC,iBAAS,iBAAiB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,sBAAsB,2CAYnF;AAED,iBAAS,oBAAoB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,yBAAyB,2CAMzF;AAED,iBAAS,yBAAyB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,8BAA8B,2CAQzF;AAED,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from '../../lib/utils.js';
|
|
4
|
+
import { StickToBottom } from 'use-stick-to-bottom';
|
|
5
|
+
function ChatContainerRoot({ children, className, ...props }) {
|
|
6
|
+
return (_jsx(StickToBottom, { className: cn('flex overflow-y-auto', className), resize: "smooth", initial: "instant", role: "log", ...props, children: children }));
|
|
7
|
+
}
|
|
8
|
+
function ChatContainerContent({ children, className, ...props }) {
|
|
9
|
+
return (_jsx(StickToBottom.Content, { className: cn('flex w-full flex-col', className), ...props, children: children }));
|
|
10
|
+
}
|
|
11
|
+
function ChatContainerScrollAnchor({ className, ...props }) {
|
|
12
|
+
return (_jsx("div", { className: cn('h-px w-full shrink-0 scroll-mt-4', className), "aria-hidden": "true", ...props }));
|
|
13
|
+
}
|
|
14
|
+
export { ChatContainerRoot, ChatContainerContent, ChatContainerScrollAnchor };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type CodeBlockProps = {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
} & React.HTMLProps<HTMLDivElement>;
|
|
6
|
+
declare function CodeBlock({ children, className, ...props }: CodeBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export type CodeBlockCodeProps = {
|
|
8
|
+
code: string;
|
|
9
|
+
language?: string;
|
|
10
|
+
theme?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
} & React.HTMLProps<HTMLDivElement>;
|
|
13
|
+
declare function CodeBlockCode({ code, language, theme, className, ...props }: CodeBlockCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export type CodeBlockGroupProps = React.HTMLAttributes<HTMLDivElement>;
|
|
15
|
+
declare function CodeBlockGroup({ children, className, ...props }: CodeBlockGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export { CodeBlockGroup, CodeBlockCode, CodeBlock };
|
|
17
|
+
//# sourceMappingURL=code-block.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-block.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/ui/code-block.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;AAEpC,iBAAS,SAAS,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CAanE;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;AAEpC,iBAAS,aAAa,CAAC,EACrB,IAAI,EACJ,QAAgB,EAChB,KAAsB,EACtB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,kBAAkB,2CA4BpB;AAED,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAEvE,iBAAS,cAAc,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAM7E;AAED,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from '../../lib/utils.js';
|
|
4
|
+
import { useEffect, useState } from 'react';
|
|
5
|
+
import { codeToHtml } from 'shiki';
|
|
6
|
+
function CodeBlock({ children, className, ...props }) {
|
|
7
|
+
return (_jsx("div", { className: cn('not-prose flex w-full flex-col overflow-clip border', 'border-border bg-card text-card-foreground rounded-xl', className), ...props, children: children }));
|
|
8
|
+
}
|
|
9
|
+
function CodeBlockCode({ code, language = 'tsx', theme = 'github-light', className, ...props }) {
|
|
10
|
+
const [highlightedHtml, setHighlightedHtml] = useState(null);
|
|
11
|
+
useEffect(() => {
|
|
12
|
+
async function highlight() {
|
|
13
|
+
if (!code) {
|
|
14
|
+
setHighlightedHtml('<pre><code></code></pre>');
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
const html = await codeToHtml(code, { lang: language, theme });
|
|
18
|
+
setHighlightedHtml(html);
|
|
19
|
+
}
|
|
20
|
+
highlight();
|
|
21
|
+
}, [code, language, theme]);
|
|
22
|
+
const classNames = cn('w-full overflow-x-auto text-[13px] [&>pre]:px-4 [&>pre]:py-4', className);
|
|
23
|
+
// SSR fallback: render plain code if not hydrated yet
|
|
24
|
+
return highlightedHtml ? (_jsx("div", { className: classNames, dangerouslySetInnerHTML: { __html: highlightedHtml }, ...props })) : (_jsx("div", { className: classNames, ...props, children: _jsx("pre", { children: _jsx("code", { children: code }) }) }));
|
|
25
|
+
}
|
|
26
|
+
function CodeBlockGroup({ children, className, ...props }) {
|
|
27
|
+
return (_jsx("div", { className: cn('flex items-center justify-between', className), ...props, children: children }));
|
|
28
|
+
}
|
|
29
|
+
export { CodeBlockGroup, CodeBlockCode, CodeBlock };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export interface LoaderProps {
|
|
2
|
+
variant?: 'circular' | 'classic' | 'pulse' | 'pulse-dot' | 'dots' | 'typing' | 'wave' | 'bars' | 'terminal' | 'text-blink' | 'text-shimmer' | 'loading-dots';
|
|
3
|
+
size?: 'sm' | 'md' | 'lg';
|
|
4
|
+
text?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function CircularLoader({ className, size, }: {
|
|
8
|
+
className?: string;
|
|
9
|
+
size?: 'sm' | 'md' | 'lg';
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function ClassicLoader({ className, size, }: {
|
|
12
|
+
className?: string;
|
|
13
|
+
size?: 'sm' | 'md' | 'lg';
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function PulseLoader({ className, size, }: {
|
|
16
|
+
className?: string;
|
|
17
|
+
size?: 'sm' | 'md' | 'lg';
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare function PulseDotLoader({ className, size, }: {
|
|
20
|
+
className?: string;
|
|
21
|
+
size?: 'sm' | 'md' | 'lg';
|
|
22
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare function DotsLoader({ className, size, }: {
|
|
24
|
+
className?: string;
|
|
25
|
+
size?: 'sm' | 'md' | 'lg';
|
|
26
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare function TypingLoader({ className, size, }: {
|
|
28
|
+
className?: string;
|
|
29
|
+
size?: 'sm' | 'md' | 'lg';
|
|
30
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare function WaveLoader({ className, size, }: {
|
|
32
|
+
className?: string;
|
|
33
|
+
size?: 'sm' | 'md' | 'lg';
|
|
34
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export declare function BarsLoader({ className, size, }: {
|
|
36
|
+
className?: string;
|
|
37
|
+
size?: 'sm' | 'md' | 'lg';
|
|
38
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
export declare function TerminalLoader({ className, size, }: {
|
|
40
|
+
className?: string;
|
|
41
|
+
size?: 'sm' | 'md' | 'lg';
|
|
42
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
export declare function TextBlinkLoader({ text, className, size, }: {
|
|
44
|
+
text?: string;
|
|
45
|
+
className?: string;
|
|
46
|
+
size?: 'sm' | 'md' | 'lg';
|
|
47
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
export declare function TextShimmerLoader({ text, className, size, }: {
|
|
49
|
+
text?: string;
|
|
50
|
+
className?: string;
|
|
51
|
+
size?: 'sm' | 'md' | 'lg';
|
|
52
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
export declare function TextDotsLoader({ className, text, size, }: {
|
|
54
|
+
className?: string;
|
|
55
|
+
text?: string;
|
|
56
|
+
size?: 'sm' | 'md' | 'lg';
|
|
57
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
declare function Loader({ variant, size, text, className }: LoaderProps): import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
export { Loader };
|
|
60
|
+
//# sourceMappingURL=loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/ui/loader.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EACJ,UAAU,GACV,SAAS,GACT,OAAO,GACP,WAAW,GACX,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,GACN,UAAU,GACV,YAAY,GACZ,cAAc,GACd,cAAc,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAC7B,SAAS,EACT,IAAW,GACZ,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,2CAkBA;AAED,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,IAAW,GACZ,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,2CAqCA;AAED,wBAAgB,WAAW,CAAC,EAC1B,SAAS,EACT,IAAW,GACZ,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,2CAaA;AAED,wBAAgB,cAAc,CAAC,EAC7B,SAAS,EACT,IAAW,GACZ,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,2CAkBA;AAED,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,IAAW,GACZ,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,2CA8BA;AAED,wBAAgB,YAAY,CAAC,EAC3B,SAAS,EACT,IAAW,GACZ,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,2CA2BA;AAED,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,IAAW,GACZ,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,2CAqCA;AAED,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,IAAW,GACZ,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,2CA8BA;AAED,wBAAgB,cAAc,CAAC,EAC7B,SAAS,EACT,IAAW,GACZ,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,2CA0BA;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAiB,EACjB,SAAS,EACT,IAAW,GACZ,EAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,2CAkBA;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAiB,EACjB,SAAS,EACT,IAAW,GACZ,EAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,2CAoBA;AAED,wBAAgB,cAAc,CAAC,EAC7B,SAAS,EACT,IAAiB,EACjB,IAAW,GACZ,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,2CAiBA;AAED,iBAAS,MAAM,CAAC,EAAE,OAAoB,EAAE,IAAW,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,WAAW,2CA6BlF;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/* eslint-disable react/no-array-index-key */
|
|
2
|
+
'use client';
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { cn } from '../../lib/utils.js';
|
|
5
|
+
export function CircularLoader({ className, size = 'md', }) {
|
|
6
|
+
const sizeClasses = {
|
|
7
|
+
sm: 'size-4',
|
|
8
|
+
md: 'size-5',
|
|
9
|
+
lg: 'size-6',
|
|
10
|
+
};
|
|
11
|
+
return (_jsx("div", { className: cn('border-primary animate-spin rounded-full border-2 border-t-transparent', sizeClasses[size], className), children: _jsx("span", { className: "sr-only", children: "Loading" }) }));
|
|
12
|
+
}
|
|
13
|
+
export function ClassicLoader({ className, size = 'md', }) {
|
|
14
|
+
const sizeClasses = {
|
|
15
|
+
sm: 'size-4',
|
|
16
|
+
md: 'size-5',
|
|
17
|
+
lg: 'size-6',
|
|
18
|
+
};
|
|
19
|
+
const barSizes = {
|
|
20
|
+
sm: { height: '6px', width: '1.5px' },
|
|
21
|
+
md: { height: '8px', width: '2px' },
|
|
22
|
+
lg: { height: '10px', width: '2.5px' },
|
|
23
|
+
};
|
|
24
|
+
return (_jsxs("div", { className: cn('relative', sizeClasses[size], className), children: [_jsx("div", { className: "absolute h-full w-full", children: [...Array(12)].map((_, i) => (_jsx("div", { className: "bg-primary absolute animate-[spinner-fade_1.2s_linear_infinite] rounded-full", style: {
|
|
25
|
+
top: '0',
|
|
26
|
+
left: '50%',
|
|
27
|
+
marginLeft: size === 'sm' ? '-0.75px' : size === 'lg' ? '-1.25px' : '-1px',
|
|
28
|
+
transformOrigin: `${size === 'sm' ? '0.75px' : size === 'lg' ? '1.25px' : '1px'} ${size === 'sm' ? '10px' : size === 'lg' ? '14px' : '12px'}`,
|
|
29
|
+
transform: `rotate(${i * 30}deg)`,
|
|
30
|
+
opacity: 0,
|
|
31
|
+
animationDelay: `${i * 0.1}s`,
|
|
32
|
+
height: barSizes[size].height,
|
|
33
|
+
width: barSizes[size].width,
|
|
34
|
+
} }, i))) }), _jsx("span", { className: "sr-only", children: "Loading" })] }));
|
|
35
|
+
}
|
|
36
|
+
export function PulseLoader({ className, size = 'md', }) {
|
|
37
|
+
const sizeClasses = {
|
|
38
|
+
sm: 'size-4',
|
|
39
|
+
md: 'size-5',
|
|
40
|
+
lg: 'size-6',
|
|
41
|
+
};
|
|
42
|
+
return (_jsxs("div", { className: cn('relative', sizeClasses[size], className), children: [_jsx("div", { className: "border-primary absolute inset-0 animate-[thin-pulse_1.5s_ease-in-out_infinite] rounded-full border-2" }), _jsx("span", { className: "sr-only", children: "Loading" })] }));
|
|
43
|
+
}
|
|
44
|
+
export function PulseDotLoader({ className, size = 'md', }) {
|
|
45
|
+
const sizeClasses = {
|
|
46
|
+
sm: 'size-1',
|
|
47
|
+
md: 'size-2',
|
|
48
|
+
lg: 'size-3',
|
|
49
|
+
};
|
|
50
|
+
return (_jsx("div", { className: cn('bg-primary animate-[pulse-dot_1.2s_ease-in-out_infinite] rounded-full', sizeClasses[size], className), children: _jsx("span", { className: "sr-only", children: "Loading" }) }));
|
|
51
|
+
}
|
|
52
|
+
export function DotsLoader({ className, size = 'md', }) {
|
|
53
|
+
const dotSizes = {
|
|
54
|
+
sm: 'h-1.5 w-1.5',
|
|
55
|
+
md: 'h-2 w-2',
|
|
56
|
+
lg: 'h-2.5 w-2.5',
|
|
57
|
+
};
|
|
58
|
+
const containerSizes = {
|
|
59
|
+
sm: 'h-4',
|
|
60
|
+
md: 'h-5',
|
|
61
|
+
lg: 'h-6',
|
|
62
|
+
};
|
|
63
|
+
return (_jsxs("div", { className: cn('flex items-center space-x-1', containerSizes[size], className), children: [[...Array(3)].map((_, i) => (_jsx("div", { className: cn('bg-primary animate-[bounce-dots_1.4s_ease-in-out_infinite] rounded-full', dotSizes[size]), style: {
|
|
64
|
+
animationDelay: `${i * 160}ms`,
|
|
65
|
+
} }, i))), _jsx("span", { className: "sr-only", children: "Loading" })] }));
|
|
66
|
+
}
|
|
67
|
+
export function TypingLoader({ className, size = 'md', }) {
|
|
68
|
+
const dotSizes = {
|
|
69
|
+
sm: 'h-1 w-1',
|
|
70
|
+
md: 'h-1.5 w-1.5',
|
|
71
|
+
lg: 'h-2 w-2',
|
|
72
|
+
};
|
|
73
|
+
const containerSizes = {
|
|
74
|
+
sm: 'h-4',
|
|
75
|
+
md: 'h-5',
|
|
76
|
+
lg: 'h-6',
|
|
77
|
+
};
|
|
78
|
+
return (_jsxs("div", { className: cn('flex items-center space-x-1', containerSizes[size], className), children: [[...Array(3)].map((_, i) => (_jsx("div", { className: cn('bg-primary animate-[typing_1s_infinite] rounded-full', dotSizes[size]), style: {
|
|
79
|
+
animationDelay: `${i * 250}ms`,
|
|
80
|
+
} }, i))), _jsx("span", { className: "sr-only", children: "Loading" })] }));
|
|
81
|
+
}
|
|
82
|
+
export function WaveLoader({ className, size = 'md', }) {
|
|
83
|
+
const barWidths = {
|
|
84
|
+
sm: 'w-0.5',
|
|
85
|
+
md: 'w-0.5',
|
|
86
|
+
lg: 'w-1',
|
|
87
|
+
};
|
|
88
|
+
const containerSizes = {
|
|
89
|
+
sm: 'h-4',
|
|
90
|
+
md: 'h-5',
|
|
91
|
+
lg: 'h-6',
|
|
92
|
+
};
|
|
93
|
+
const heights = {
|
|
94
|
+
sm: ['6px', '9px', '12px', '9px', '6px'],
|
|
95
|
+
md: ['8px', '12px', '16px', '12px', '8px'],
|
|
96
|
+
lg: ['10px', '15px', '20px', '15px', '10px'],
|
|
97
|
+
};
|
|
98
|
+
return (_jsxs("div", { className: cn('flex items-center gap-0.5', containerSizes[size], className), children: [[...Array(5)].map((_, i) => (_jsx("div", { className: cn('bg-primary animate-[wave_1s_ease-in-out_infinite] rounded-full', barWidths[size]), style: {
|
|
99
|
+
animationDelay: `${i * 100}ms`,
|
|
100
|
+
height: heights[size][i],
|
|
101
|
+
} }, i))), _jsx("span", { className: "sr-only", children: "Loading" })] }));
|
|
102
|
+
}
|
|
103
|
+
export function BarsLoader({ className, size = 'md', }) {
|
|
104
|
+
const barWidths = {
|
|
105
|
+
sm: 'w-1',
|
|
106
|
+
md: 'w-1.5',
|
|
107
|
+
lg: 'w-2',
|
|
108
|
+
};
|
|
109
|
+
const containerSizes = {
|
|
110
|
+
sm: 'h-4 gap-1',
|
|
111
|
+
md: 'h-5 gap-1.5',
|
|
112
|
+
lg: 'h-6 gap-2',
|
|
113
|
+
};
|
|
114
|
+
return (_jsxs("div", { className: cn('flex', containerSizes[size], className), children: [[...Array(3)].map((_, i) => (_jsx("div", { className: cn('bg-primary h-full animate-[wave-bars_1.2s_ease-in-out_infinite]', barWidths[size]), style: {
|
|
115
|
+
animationDelay: `${i * 0.2}s`,
|
|
116
|
+
} }, i))), _jsx("span", { className: "sr-only", children: "Loading" })] }));
|
|
117
|
+
}
|
|
118
|
+
export function TerminalLoader({ className, size = 'md', }) {
|
|
119
|
+
const cursorSizes = {
|
|
120
|
+
sm: 'h-3 w-1.5',
|
|
121
|
+
md: 'h-4 w-2',
|
|
122
|
+
lg: 'h-5 w-2.5',
|
|
123
|
+
};
|
|
124
|
+
const textSizes = {
|
|
125
|
+
sm: 'text-xs',
|
|
126
|
+
md: 'text-sm',
|
|
127
|
+
lg: 'text-base',
|
|
128
|
+
};
|
|
129
|
+
const containerSizes = {
|
|
130
|
+
sm: 'h-4',
|
|
131
|
+
md: 'h-5',
|
|
132
|
+
lg: 'h-6',
|
|
133
|
+
};
|
|
134
|
+
return (_jsxs("div", { className: cn('flex items-center space-x-1', containerSizes[size], className), children: [_jsx("span", { className: cn('text-primary font-mono', textSizes[size]), children: '>' }), _jsx("div", { className: cn('bg-primary animate-[blink_1s_step-end_infinite]', cursorSizes[size]) }), _jsx("span", { className: "sr-only", children: "Loading" })] }));
|
|
135
|
+
}
|
|
136
|
+
export function TextBlinkLoader({ text = 'Thinking', className, size = 'md', }) {
|
|
137
|
+
const textSizes = {
|
|
138
|
+
sm: 'text-xs',
|
|
139
|
+
md: 'text-sm',
|
|
140
|
+
lg: 'text-base',
|
|
141
|
+
};
|
|
142
|
+
return (_jsx("div", { className: cn('animate-[text-blink_2s_ease-in-out_infinite] font-medium', textSizes[size], className), children: text }));
|
|
143
|
+
}
|
|
144
|
+
export function TextShimmerLoader({ text = 'Thinking', className, size = 'md', }) {
|
|
145
|
+
const textSizes = {
|
|
146
|
+
sm: 'text-xs',
|
|
147
|
+
md: 'text-sm',
|
|
148
|
+
lg: 'text-base',
|
|
149
|
+
};
|
|
150
|
+
return (_jsx("div", { className: cn('bg-[linear-gradient(to_right,var(--muted-foreground)_40%,var(--foreground)_60%,var(--muted-foreground)_80%)]', 'bg-size-[200%_auto] bg-clip-text font-medium text-transparent', 'animate-[shimmer_4s_infinite_linear]', textSizes[size], className), children: text }));
|
|
151
|
+
}
|
|
152
|
+
export function TextDotsLoader({ className, text = 'Thinking', size = 'md', }) {
|
|
153
|
+
const textSizes = {
|
|
154
|
+
sm: 'text-xs',
|
|
155
|
+
md: 'text-sm',
|
|
156
|
+
lg: 'text-base',
|
|
157
|
+
};
|
|
158
|
+
return (_jsxs("div", { className: cn('inline-flex items-center', className), children: [_jsx("span", { className: cn('text-primary font-medium', textSizes[size]), children: text }), _jsxs("span", { className: "inline-flex", children: [_jsx("span", { className: "text-primary animate-[loading-dots_1.4s_infinite_0.2s]", children: "." }), _jsx("span", { className: "text-primary animate-[loading-dots_1.4s_infinite_0.4s]", children: "." }), _jsx("span", { className: "text-primary animate-[loading-dots_1.4s_infinite_0.6s]", children: "." })] })] }));
|
|
159
|
+
}
|
|
160
|
+
function Loader({ variant = 'circular', size = 'md', text, className }) {
|
|
161
|
+
switch (variant) {
|
|
162
|
+
case 'circular':
|
|
163
|
+
return _jsx(CircularLoader, { size: size, className: className });
|
|
164
|
+
case 'classic':
|
|
165
|
+
return _jsx(ClassicLoader, { size: size, className: className });
|
|
166
|
+
case 'pulse':
|
|
167
|
+
return _jsx(PulseLoader, { size: size, className: className });
|
|
168
|
+
case 'pulse-dot':
|
|
169
|
+
return _jsx(PulseDotLoader, { size: size, className: className });
|
|
170
|
+
case 'dots':
|
|
171
|
+
return _jsx(DotsLoader, { size: size, className: className });
|
|
172
|
+
case 'typing':
|
|
173
|
+
return _jsx(TypingLoader, { size: size, className: className });
|
|
174
|
+
case 'wave':
|
|
175
|
+
return _jsx(WaveLoader, { size: size, className: className });
|
|
176
|
+
case 'bars':
|
|
177
|
+
return _jsx(BarsLoader, { size: size, className: className });
|
|
178
|
+
case 'terminal':
|
|
179
|
+
return _jsx(TerminalLoader, { size: size, className: className });
|
|
180
|
+
case 'text-blink':
|
|
181
|
+
return _jsx(TextBlinkLoader, { text: text, size: size, className: className });
|
|
182
|
+
case 'text-shimmer':
|
|
183
|
+
return _jsx(TextShimmerLoader, { text: text, size: size, className: className });
|
|
184
|
+
case 'loading-dots':
|
|
185
|
+
return _jsx(TextDotsLoader, { text: text, size: size, className: className });
|
|
186
|
+
default:
|
|
187
|
+
return _jsx(CircularLoader, { size: size, className: className });
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
export { Loader };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type Components } from 'react-markdown';
|
|
3
|
+
export interface MarkdownProps {
|
|
4
|
+
children: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
components?: Partial<Components>;
|
|
8
|
+
}
|
|
9
|
+
declare function MarkdownComponent({ children, id, className, components, }: MarkdownProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const Markdown: React.MemoExoticComponent<typeof MarkdownComponent>;
|
|
11
|
+
export { Markdown };
|
|
12
|
+
//# sourceMappingURL=markdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/ui/markdown.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAsB,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAKhE,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;CAClC;AAiED,iBAAS,iBAAiB,CAAC,EACzB,QAAQ,EACR,EAAE,EACF,SAAS,EACT,UAA+B,GAChC,EAAE,aAAa,2CAiBf;AAED,QAAA,MAAM,QAAQ,qDAA0B,CAAC;AAGzC,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from '../../lib/utils.js';
|
|
3
|
+
import { marked } from 'marked';
|
|
4
|
+
import { memo, useId, useMemo } from 'react';
|
|
5
|
+
import ReactMarkdown from 'react-markdown';
|
|
6
|
+
import remarkBreaks from 'remark-breaks';
|
|
7
|
+
import remarkGfm from 'remark-gfm';
|
|
8
|
+
import { CodeBlock, CodeBlockCode } from './code-block.js';
|
|
9
|
+
function parseMarkdownIntoBlocks(markdown) {
|
|
10
|
+
const tokens = marked.lexer(markdown);
|
|
11
|
+
return tokens.map((token) => token.raw);
|
|
12
|
+
}
|
|
13
|
+
function extractLanguage(className) {
|
|
14
|
+
if (!className)
|
|
15
|
+
return 'plaintext';
|
|
16
|
+
const match = className.match(/language-(\w+)/);
|
|
17
|
+
return match ? match[1] : 'plaintext';
|
|
18
|
+
}
|
|
19
|
+
const INITIAL_COMPONENTS = {
|
|
20
|
+
code: function CodeComponent({ className, children, ...props }) {
|
|
21
|
+
const isInline = !props.node?.position?.start.line ||
|
|
22
|
+
props.node?.position?.start.line === props.node?.position?.end.line;
|
|
23
|
+
if (isInline) {
|
|
24
|
+
return (_jsx("span", { className: cn('bg-primary-foreground rounded-sm px-1 font-mono text-sm', className), ...props, children: children }));
|
|
25
|
+
}
|
|
26
|
+
const language = extractLanguage(className);
|
|
27
|
+
return (_jsx(CodeBlock, { className: className, children: _jsx(CodeBlockCode, { code: children, language: language }) }));
|
|
28
|
+
},
|
|
29
|
+
pre: function PreComponent({ children }) {
|
|
30
|
+
// Strip the <pre> wrapper — code blocks are rendered by CodeBlock
|
|
31
|
+
return children;
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
const MemoizedMarkdownBlock = memo(function MarkdownBlock({ content, components = INITIAL_COMPONENTS, }) {
|
|
35
|
+
return (_jsx(ReactMarkdown, { remarkPlugins: [remarkGfm, remarkBreaks], components: components, children: content }));
|
|
36
|
+
}, function propsAreEqual(prevProps, nextProps) {
|
|
37
|
+
return prevProps.content === nextProps.content;
|
|
38
|
+
});
|
|
39
|
+
MemoizedMarkdownBlock.displayName = 'MemoizedMarkdownBlock';
|
|
40
|
+
function MarkdownComponent({ children, id, className, components = INITIAL_COMPONENTS, }) {
|
|
41
|
+
const generatedId = useId();
|
|
42
|
+
const blockId = id ?? generatedId;
|
|
43
|
+
const blocks = useMemo(() => parseMarkdownIntoBlocks(children), [children]);
|
|
44
|
+
return (_jsx("div", { className: className, children: blocks.map((block, index) => (_jsx(MemoizedMarkdownBlock
|
|
45
|
+
// eslint-disable-next-line react/no-array-index-key -- blocks are positional, no stable key
|
|
46
|
+
, { content: block, components: components }, `${blockId}-block-${index}`))) }));
|
|
47
|
+
}
|
|
48
|
+
const Markdown = memo(MarkdownComponent);
|
|
49
|
+
Markdown.displayName = 'Markdown';
|
|
50
|
+
export { Markdown };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Tooltip } from '../ui/tooltip.js';
|
|
2
|
+
import { Markdown } from './markdown.js';
|
|
3
|
+
export type MessageProps = {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
} & React.HTMLProps<HTMLDivElement>;
|
|
7
|
+
declare const Message: ({ children, className, ...props }: MessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export interface MessageAvatarProps {
|
|
9
|
+
src: string;
|
|
10
|
+
alt: string;
|
|
11
|
+
fallback?: string;
|
|
12
|
+
delayMs?: number;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const MessageAvatar: ({ src, alt, fallback, delayMs, className }: MessageAvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export type MessageContentProps = {
|
|
17
|
+
children: React.ReactNode;
|
|
18
|
+
markdown?: boolean;
|
|
19
|
+
className?: string;
|
|
20
|
+
} & React.ComponentProps<typeof Markdown> & React.HTMLProps<HTMLDivElement>;
|
|
21
|
+
declare const MessageContent: ({ children, markdown, className, ...props }: MessageContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export type MessageActionsProps = {
|
|
23
|
+
children: React.ReactNode;
|
|
24
|
+
className?: string;
|
|
25
|
+
} & React.HTMLProps<HTMLDivElement>;
|
|
26
|
+
declare const MessageActions: ({ children, className, ...props }: MessageActionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export type MessageActionProps = {
|
|
28
|
+
className?: string;
|
|
29
|
+
tooltip: React.ReactNode;
|
|
30
|
+
children: React.ReactNode;
|
|
31
|
+
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
32
|
+
} & React.ComponentProps<typeof Tooltip>;
|
|
33
|
+
declare const MessageAction: ({ tooltip, children, className, side, ...props }: MessageActionProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export { Message, MessageAvatar, MessageContent, MessageActions, MessageAction };
|
|
35
|
+
//# sourceMappingURL=message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/ui/message.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAmD,MAAM,yBAAyB,CAAC;AAEnG,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;AAEpC,QAAA,MAAM,OAAO,GAAI,mCAAmC,YAAY,4CAI/D,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,aAAa,GAAI,4CAA4C,kBAAkB,4CAOpF,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,GACvC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;AAElC,QAAA,MAAM,cAAc,GAAI,6CAKrB,mBAAmB,4CAerB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;AAEpC,QAAA,MAAM,cAAc,GAAI,mCAAmC,mBAAmB,4CAI7E,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CAC5C,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC;AAEzC,QAAA,MAAM,aAAa,GAAI,kDAMpB,kBAAkB,4CAWpB,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Avatar, AvatarFallback, AvatarImage } from '../ui/avatar.js';
|
|
3
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '../ui/tooltip.js';
|
|
4
|
+
import { cn } from '../../lib/utils.js';
|
|
5
|
+
import { Markdown } from './markdown.js';
|
|
6
|
+
const Message = ({ children, className, ...props }) => (_jsx("div", { className: cn('flex gap-3', className), ...props, children: children }));
|
|
7
|
+
const MessageAvatar = ({ src, alt, fallback, delayMs, className }) => {
|
|
8
|
+
return (_jsxs(Avatar, { className: cn('h-8 w-8 shrink-0', className), children: [_jsx(AvatarImage, { src: src, alt: alt }), fallback ? _jsx(AvatarFallback, { delayMs: delayMs, children: fallback }) : null] }));
|
|
9
|
+
};
|
|
10
|
+
const MessageContent = ({ children, markdown = false, className, ...props }) => {
|
|
11
|
+
const classNames = cn('rounded-lg p-2 text-foreground bg-secondary prose break-words whitespace-normal', className);
|
|
12
|
+
return markdown ? (_jsx(Markdown, { className: classNames, ...props, children: children })) : (_jsx("div", { className: classNames, ...props, children: children }));
|
|
13
|
+
};
|
|
14
|
+
const MessageActions = ({ children, className, ...props }) => (_jsx("div", { className: cn('text-muted-foreground flex items-center gap-2', className), ...props, children: children }));
|
|
15
|
+
const MessageAction = ({ tooltip, children, className, side = 'top', ...props }) => {
|
|
16
|
+
return (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { ...props, children: [_jsx(TooltipTrigger, { asChild: true, children: children }), _jsx(TooltipContent, { side: side, className: className, children: tooltip })] }) }));
|
|
17
|
+
};
|
|
18
|
+
export { Message, MessageAvatar, MessageContent, MessageActions, MessageAction };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Textarea } from '../ui/textarea.js';
|
|
2
|
+
import { Tooltip } from '../ui/tooltip.js';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
export type PromptInputProps = {
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
value?: string;
|
|
7
|
+
onValueChange?: (value: string) => void;
|
|
8
|
+
maxHeight?: number | string;
|
|
9
|
+
onSubmit?: () => void;
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
className?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
} & React.ComponentProps<'div'>;
|
|
14
|
+
declare function PromptInput({ className, isLoading, maxHeight, value, onValueChange, onSubmit, children, disabled, onClick, ...props }: PromptInputProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export type PromptInputTextareaProps = {
|
|
16
|
+
disableAutosize?: boolean;
|
|
17
|
+
ref?: React.Ref<HTMLTextAreaElement>;
|
|
18
|
+
} & Omit<React.ComponentProps<typeof Textarea>, 'ref'>;
|
|
19
|
+
declare function PromptInputTextarea({ className, onKeyDown, disableAutosize, ref: externalRef, ...props }: PromptInputTextareaProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export type PromptInputActionsProps = React.HTMLAttributes<HTMLDivElement>;
|
|
21
|
+
declare function PromptInputActions({ children, className, ...props }: PromptInputActionsProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export type PromptInputActionProps = {
|
|
23
|
+
className?: string;
|
|
24
|
+
tooltip: React.ReactNode;
|
|
25
|
+
children: React.ReactNode;
|
|
26
|
+
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
27
|
+
} & React.ComponentProps<typeof Tooltip>;
|
|
28
|
+
declare function PromptInputAction({ tooltip, children, className, side, ...props }: PromptInputActionProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export { PromptInput, PromptInputTextarea, PromptInputActions, PromptInputAction };
|
|
30
|
+
//# sourceMappingURL=prompt-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompt-input.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/ui/prompt-input.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,OAAO,EAAmD,MAAM,yBAAyB,CAAC;AAEnG,OAAO,KAAuE,MAAM,OAAO,CAAC;AA2B5F,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEhC,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,SAAiB,EACjB,SAAe,EACf,KAAK,EACL,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,QAAgB,EAChB,OAAO,EACP,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAyClB;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;CACtC,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,KAAK,CAAC,CAAC;AAEvD,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,SAAS,EACT,eAAuB,EACvB,GAAG,EAAE,WAAW,EAChB,GAAG,KAAK,EACT,EAAE,wBAAwB,2CAmE1B;AAED,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAE3E,iBAAS,kBAAkB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,2CAMrF;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CAC5C,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC;AAEzC,iBAAS,iBAAiB,CAAC,EACzB,OAAO,EACP,QAAQ,EACR,SAAS,EACT,IAAY,EACZ,GAAG,KAAK,EACT,EAAE,sBAAsB,2CAaxB;AAED,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,CAAC"}
|