@geminilight/mindos 0.6.67 → 0.6.70
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/_standalone/.mindos-build-version +1 -1
- package/_standalone/.next/BUILD_ID +1 -1
- package/_standalone/.next/app-path-routes-manifest.json +26 -25
- package/_standalone/.next/build-manifest.json +3 -3
- package/_standalone/.next/cache/.previewinfo +1 -1
- package/_standalone/.next/cache/.rscinfo +1 -1
- package/_standalone/.next/cache/config.json +3 -3
- package/_standalone/.next/prerender-manifest.json +3 -3
- package/_standalone/.next/react-loadable-manifest.json +7 -7
- package/_standalone/.next/routes-manifest.json +6 -0
- package/_standalone/.next/server/app/.well-known/agent-card.json/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/_global-error.html +2 -2
- package/_standalone/.next/server/app/_global-error.rsc +1 -1
- package/_standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/_standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/_standalone/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/_standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/_standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/_standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/_standalone/.next/server/app/_not-found/page.js +1 -1
- package/_standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/agents/[agentKey]/page.js +1 -1
- package/_standalone/.next/server/app/agents/[agentKey]/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/agents/[agentKey]/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/agents/page.js +1 -1
- package/_standalone/.next/server/app/agents/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/agents/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/a2a/agents/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/a2a/delegations/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/a2a/discover/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/a2a/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/acp/config/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/acp/detect/route.js +1 -1
- package/_standalone/.next/server/app/api/acp/detect/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/acp/install/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/acp/registry/route.js +1 -1
- package/_standalone/.next/server/app/api/acp/registry/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/acp/session/route.js +1 -1
- package/_standalone/.next/server/app/api/acp/session/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/acp/session/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/agent-activity/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/agents/copy-skill/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/agents/copy-skill/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/agents/custom/detect/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/agents/custom/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/ask/route.js +17 -17
- package/_standalone/.next/server/app/api/ask/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/ask/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/ask-sessions/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/auth/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/backlinks/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/backlinks/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/bootstrap/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/bootstrap/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/changes/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/changes/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/channels/verify/route.js +1 -0
- package/_standalone/.next/server/app/api/channels/verify/route.js.nft.json +1 -0
- package/_standalone/.next/server/app/api/channels/verify/route_client-reference-manifest.js +1 -0
- package/_standalone/.next/server/app/api/connect/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/export/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/export/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/extract-pdf/route.js +2 -2
- package/_standalone/.next/server/app/api/extract-pdf/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/file/import/route.js +1 -1
- package/_standalone/.next/server/app/api/file/import/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/file/import/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/file/raw/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/file/raw/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/file/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/file/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/files/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/files/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/git/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/git/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/graph/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/graph/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/im/config/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/im/status/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/im/test/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/inbox/clip/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/inbox/clip/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/inbox/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/inbox/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/init/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/init/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/lint/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/lint/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/mcp/agents/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/mcp/agents/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/mcp/direct-tools/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/mcp/install/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/mcp/install-skill/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/mcp/restart/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/mcp/status/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/mcp/tools/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/mcp/uninstall/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/monitoring/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/monitoring/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/recent-files/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/recent-files/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/restart/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/search/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/settings/list-models/route.js +1 -1
- package/_standalone/.next/server/app/api/settings/list-models/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/settings/reset-token/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/settings/route.js +1 -1
- package/_standalone/.next/server/app/api/settings/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/settings/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/settings/test-key/route.js +1 -1
- package/_standalone/.next/server/app/api/settings/test-key/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/setup/check-path/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/setup/check-port/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/setup/generate-token/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/setup/ls/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/setup/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/space-overview/route.js +2 -2
- package/_standalone/.next/server/app/api/space-overview/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/space-overview/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/sync/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/tree-version/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/tree-version/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/uninstall/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/update/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/update-check/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/update-status/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/api/workflows/route.js.nft.json +1 -1
- package/_standalone/.next/server/app/api/workflows/route_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/changelog/page.js +1 -1
- package/_standalone/.next/server/app/changelog/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/changelog/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/changes/page.js +1 -1
- package/_standalone/.next/server/app/changes/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/changes/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/echo/[segment]/page.js +1 -1
- package/_standalone/.next/server/app/echo/[segment]/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/echo/[segment]/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/echo/page.js +1 -1
- package/_standalone/.next/server/app/echo/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/echo/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/explore/page.js +1 -1
- package/_standalone/.next/server/app/explore/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/explore/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/help/page.js +1 -1
- package/_standalone/.next/server/app/help/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/help/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/inbox/history/page.js +1 -1
- package/_standalone/.next/server/app/inbox/history/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/inbox/history/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/login/page.js +1 -1
- package/_standalone/.next/server/app/login/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/page.js +1 -1
- package/_standalone/.next/server/app/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/setup/page.js +1 -1
- package/_standalone/.next/server/app/setup/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/setup/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/trash/page.js +3 -3
- package/_standalone/.next/server/app/trash/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/trash/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/view/[...path]/page.js +3 -3
- package/_standalone/.next/server/app/view/[...path]/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/view/[...path]/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app/wiki/page.js +1 -1
- package/_standalone/.next/server/app/wiki/page.js.nft.json +1 -1
- package/_standalone/.next/server/app/wiki/page_client-reference-manifest.js +1 -1
- package/_standalone/.next/server/app-paths-manifest.json +26 -25
- package/_standalone/.next/server/chunks/3437.js +2 -2
- package/_standalone/.next/server/chunks/5299.js +1 -0
- package/_standalone/.next/server/chunks/6022.js +39 -39
- package/_standalone/.next/server/chunks/6133.js +54 -0
- package/_standalone/.next/server/chunks/6539.js +1 -1
- package/_standalone/.next/server/chunks/8326.js +1 -0
- package/_standalone/.next/server/chunks/8388.js +5 -3
- package/_standalone/.next/server/chunks/953.js +6 -4
- package/_standalone/.next/server/chunks/9938.js +24 -0
- package/_standalone/.next/server/middleware-build-manifest.js +1 -1
- package/_standalone/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/_standalone/.next/server/pages/500.html +2 -2
- package/_standalone/.next/server/server-reference-manifest.js +1 -1
- package/_standalone/.next/server/server-reference-manifest.json +1 -1
- package/_standalone/.next/static/chunks/1814.8a1fef15856dce84.js +1 -0
- package/_standalone/.next/static/chunks/2654-e07c692d6c99f25b.js +1 -0
- package/_standalone/.next/static/chunks/{2935.7d75923daaf448d3.js → 2935.9b08eeade3644806.js} +1 -1
- package/_standalone/.next/static/chunks/3269.a7343771e3f0ff58.js +48 -0
- package/_standalone/.next/static/chunks/3637.2b2697198968d83f.js +1 -0
- package/_standalone/.next/static/chunks/{5550-b7c97fc13628db15.js → 4327-d70a8d457e2d03fe.js} +1 -1
- package/_standalone/.next/static/chunks/48-c88ea6a2a45f15b4.js +28 -0
- package/_standalone/.next/static/chunks/5581-6d403608b5dfb20b.js +29 -0
- package/_standalone/.next/static/chunks/6902-edc5c487c696bd0b.js +3 -0
- package/_standalone/.next/static/chunks/808.72eb7bdd399e9a24.js +1 -0
- package/_standalone/.next/static/chunks/app/.well-known/agent-card.json/{route-e0c1e2c67572781c.js → route-930dfa67e2789df5.js} +1 -1
- package/_standalone/.next/static/chunks/app/_global-error/{page-e0c1e2c67572781c.js → page-930dfa67e2789df5.js} +1 -1
- package/_standalone/.next/static/chunks/app/agents/page-3dc2bf2f6bc7334c.js +1 -0
- package/_standalone/.next/static/chunks/app/api/a2a/agents/{route-e0c1e2c67572781c.js → route-930dfa67e2789df5.js} +1 -1
- package/_standalone/.next/static/chunks/app/api/a2a/delegations/{route-e0c1e2c67572781c.js → route-930dfa67e2789df5.js} +1 -1
- package/_standalone/.next/static/chunks/app/api/a2a/discover/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/a2a/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/acp/config/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/acp/detect/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/acp/install/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/acp/registry/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/acp/session/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/agent-activity/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/agents/copy-skill/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/agents/custom/detect/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/agents/custom/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/ask/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/ask-sessions/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/auth/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/backlinks/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/bootstrap/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/changes/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/channels/verify/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/connect/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/export/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/extract-pdf/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/file/import/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/file/raw/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/file/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/files/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/git/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/graph/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/health/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/im/config/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/im/status/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/im/test/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/inbox/clip/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/inbox/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/init/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/lint/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/mcp/agents/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/mcp/direct-tools/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/mcp/install/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/mcp/install-skill/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/mcp/restart/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/mcp/status/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/mcp/tools/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/mcp/uninstall/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/monitoring/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/recent-files/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/restart/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/search/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/settings/list-models/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/settings/reset-token/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/settings/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/settings/test-key/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/setup/check-path/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/setup/check-port/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/setup/generate-token/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/setup/ls/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/setup/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/skills/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/space-overview/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/sync/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/tree-version/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/uninstall/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/update/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/update-check/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/update-status/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/api/workflows/route-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/changes/page-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/echo/[segment]/page-75a6330292613587.js +157 -0
- package/_standalone/.next/static/chunks/app/echo/page-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/{layout-9bb19a959ffb87ac.js → layout-8aa53b34ef34a246.js} +28 -28
- package/_standalone/.next/static/chunks/app/loading-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/{page-c3be6477dbcf182d.js → page-318332501426ef5b.js} +1 -1
- package/_standalone/.next/static/chunks/app/trash/page-17bd5aedcfea9b65.js +1 -0
- package/_standalone/.next/static/chunks/app/view/[...path]/loading-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/app/view/[...path]/page-d5c37c41c556013d.js +12 -0
- package/_standalone/.next/static/chunks/next/dist/client/components/builtin/app-error-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/next/dist/client/components/builtin/forbidden-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/next/dist/client/components/builtin/not-found-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/next/dist/client/components/builtin/unauthorized-930dfa67e2789df5.js +1 -0
- package/_standalone/.next/static/chunks/webpack-1c2d44f6d86f3986.js +1 -0
- package/_standalone/.next/static/css/a8cadde78aea8585.css +1 -0
- package/_standalone/.next/static/ixCTELNH6V05Z00pC6ZMO/_buildManifest.js +1 -0
- package/_standalone/.next/trace +72 -71
- package/_standalone/.next/types/routes.d.ts +2 -1
- package/_standalone/.next/types/validator.ts +9 -0
- package/_standalone/MINDOS_ARCHITECTURE_DIAGRAM.md +488 -0
- package/_standalone/MINDOS_EXPLORATION_SUMMARY.md +229 -0
- package/_standalone/MINDOS_INFRASTRUCTURE_ANALYSIS.md +732 -0
- package/_standalone/__tests__/acp/agent-descriptors.test.ts +101 -3
- package/_standalone/__tests__/acp/registry.test.ts +34 -5
- package/_standalone/__tests__/acp/session.test.ts +346 -167
- package/_standalone/__tests__/agent/provider-endpoints.test.ts +70 -0
- package/_standalone/__tests__/api/channels-verify.test.ts +75 -0
- package/_standalone/__tests__/api/extract-pdf.test.ts +265 -0
- package/_standalone/__tests__/api/test-key.test.ts +15 -3
- package/_standalone/__tests__/channel-mgmt.test.js +11 -0
- package/_standalone/__tests__/components/breadcrumb-header-ux.test.ts +14 -0
- package/_standalone/__tests__/components/header-toc-vertical-alignment.test.ts +23 -0
- package/_standalone/__tests__/components/table-of-contents-header-layout.test.ts +15 -0
- package/_standalone/__tests__/components/view-page-header-layout.test.ts +13 -0
- package/_standalone/__tests__/components/view-page-header-scroll-stability.test.ts +34 -0
- package/_standalone/__tests__/core/hybrid-search.test.ts +109 -0
- package/_standalone/components/Breadcrumb.tsx +10 -10
- package/_standalone/components/FindInPage.tsx +1 -1
- package/_standalone/components/MarkdownView.tsx +4 -0
- package/_standalone/components/Panel.tsx +17 -10
- package/_standalone/components/TableOfContents.tsx +9 -9
- package/_standalone/components/agents/AgentsContentChannelDetail.tsx +168 -54
- package/_standalone/components/agents/AgentsContentChannels.tsx +22 -22
- package/_standalone/components/ask/AskContent.tsx +68 -28
- package/_standalone/components/ask/AskHeader.tsx +6 -2
- package/_standalone/components/ask/ProviderModelCapsule.tsx +11 -9
- package/_standalone/components/ask/SessionHistoryPanel.tsx +398 -0
- package/_standalone/components/panels/AgentsPanel.tsx +8 -1
- package/_standalone/components/settings/AiTab.tsx +5 -1
- package/_standalone/components/settings/KnowledgeTab.tsx +92 -1
- package/_standalone/components/settings/McpConnectGuides.tsx +4 -0
- package/_standalone/components/settings/McpPortSection.tsx +207 -0
- package/_standalone/components/settings/McpTab.tsx +1 -5
- package/_standalone/components/settings/TestButton.tsx +1 -0
- package/_standalone/components/settings/{ServerPortsCard.tsx → WebPortSection.tsx} +66 -151
- package/_standalone/components/settings/types.ts +12 -0
- package/_standalone/components/settings/useCustomProviderForm.ts +2 -2
- package/_standalone/data/skills/mindos/SKILL.md +45 -1
- package/_standalone/hooks/useAcpDetection.ts +1 -1
- package/_standalone/hooks/useAcpRegistry.ts +1 -1
- package/_standalone/hooks/useFileImport.ts +7 -2
- package/_standalone/hooks/useFileUpload.ts +17 -10
- package/_standalone/lib/acp/index.ts +4 -6
- package/_standalone/lib/acp/types.ts +0 -29
- package/_standalone/lib/im/platforms.ts +6 -2
- package/_standalone/lib/pdf-extract.ts +6 -2
- package/_standalone/package-lock.json +12 -2
- package/_standalone/package.json +2 -1
- package/_standalone/tsconfig.tsbuildinfo +1 -1
- package/app/MINDOS_ARCHITECTURE_DIAGRAM.md +488 -0
- package/app/MINDOS_EXPLORATION_SUMMARY.md +229 -0
- package/app/MINDOS_INFRASTRUCTURE_ANALYSIS.md +732 -0
- package/app/app/api/acp/detect/route.ts +9 -15
- package/app/app/api/channels/verify/route.ts +54 -0
- package/app/app/api/extract-pdf/route.ts +17 -3
- package/app/app/api/settings/list-models/route.ts +40 -44
- package/app/app/api/settings/route.ts +16 -0
- package/app/app/api/settings/test-key/route.ts +5 -2
- package/app/app/view/[...path]/ViewPageClient.tsx +1 -1
- package/app/components/Breadcrumb.tsx +10 -10
- package/app/components/DirView.tsx +1 -1
- package/app/components/FindInPage.tsx +1 -1
- package/app/components/InboxView.tsx +2 -2
- package/app/components/MarkdownView.tsx +4 -0
- package/app/components/Panel.tsx +17 -10
- package/app/components/TableOfContents.tsx +9 -9
- package/app/components/agents/AgentsContentChannelDetail.tsx +168 -54
- package/app/components/agents/AgentsContentChannels.tsx +22 -22
- package/app/components/ask/AskContent.tsx +68 -28
- package/app/components/ask/AskHeader.tsx +6 -2
- package/app/components/ask/ProviderModelCapsule.tsx +11 -9
- package/app/components/ask/SessionHistoryPanel.tsx +398 -0
- package/app/components/panels/AgentsPanel.tsx +8 -1
- package/app/components/settings/AiTab.tsx +5 -1
- package/app/components/settings/KnowledgeTab.tsx +92 -1
- package/app/components/settings/McpConnectGuides.tsx +4 -0
- package/app/components/settings/McpPortSection.tsx +207 -0
- package/app/components/settings/McpTab.tsx +1 -5
- package/app/components/settings/TestButton.tsx +1 -0
- package/app/components/settings/{ServerPortsCard.tsx → WebPortSection.tsx} +66 -151
- package/app/components/settings/types.ts +12 -0
- package/app/components/settings/useCustomProviderForm.ts +2 -2
- package/app/data/skills/mindos/SKILL.md +45 -1
- package/app/hooks/useAcpDetection.ts +1 -1
- package/app/hooks/useAcpRegistry.ts +1 -1
- package/app/hooks/useFileImport.ts +7 -2
- package/app/hooks/useFileUpload.ts +17 -10
- package/app/lib/acp/agent-descriptors.ts +69 -29
- package/app/lib/acp/index.ts +4 -6
- package/app/lib/acp/registry.ts +43 -47
- package/app/lib/acp/session.ts +253 -517
- package/app/lib/acp/subprocess.ts +249 -414
- package/app/lib/acp/types.ts +0 -29
- package/app/lib/agent/model.ts +20 -4
- package/app/lib/agent/non-streaming.ts +37 -20
- package/app/lib/agent/providers.ts +31 -0
- package/app/lib/agent/tools.ts +5 -3
- package/app/lib/core/embedding-index.ts +285 -0
- package/app/lib/core/embedding-provider.ts +164 -0
- package/app/lib/core/hybrid-search.ts +160 -0
- package/app/lib/core/search.ts +11 -21
- package/app/lib/i18n/modules/ai-chat.ts +26 -0
- package/app/lib/i18n/modules/panels.ts +14 -0
- package/app/lib/i18n/modules/settings.ts +2 -0
- package/app/lib/im/platforms.ts +6 -2
- package/app/lib/im/verify.ts +94 -0
- package/app/lib/pdf-extract.ts +6 -2
- package/app/lib/settings.ts +23 -0
- package/app/package.json +2 -1
- package/bin/cli.js +3 -1
- package/bin/commands/channel.js +342 -0
- package/bin/commands/update.js +11 -4
- package/bin/lib/build.js +34 -16
- package/bin/lib/channel-config.js +168 -0
- package/bin/lib/channel-constants.js +88 -0
- package/bin/lib/channel-mgmt.js +244 -0
- package/bin/lib/channel-prompts.js +72 -0
- package/bin/lib/channel-validate.js +57 -0
- package/bin/lib/safe-rm.js +165 -0
- package/package.json +1 -1
- package/skills/mindos/SKILL.md +45 -1
- package/_standalone/.next/server/chunks/1750.js +0 -1
- package/_standalone/.next/server/chunks/8947.js +0 -52
- package/_standalone/.next/static/0JtsgqDZLSJ6MrIZIV6gC/_buildManifest.js +0 -1
- package/_standalone/.next/static/chunks/1814.a79b84d37df75c43.js +0 -1
- package/_standalone/.next/static/chunks/3637.38c4f28d8f698e0e.js +0 -1
- package/_standalone/.next/static/chunks/4351-9ab695985bb808ad.js +0 -1
- package/_standalone/.next/static/chunks/476.463546c195b89cce.js +0 -48
- package/_standalone/.next/static/chunks/5133-3779d65f4fdfb041.js +0 -30
- package/_standalone/.next/static/chunks/5581-4dd3d32f6e8606ec.js +0 -29
- package/_standalone/.next/static/chunks/5998.7bd28de9747440b5.js +0 -1
- package/_standalone/.next/static/chunks/app/agents/page-4c0637183e46c8d3.js +0 -1
- package/_standalone/.next/static/chunks/app/api/a2a/discover/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/a2a/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/acp/config/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/acp/detect/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/acp/install/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/acp/registry/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/acp/session/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/agent-activity/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/agents/copy-skill/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/agents/custom/detect/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/agents/custom/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/ask/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/ask-sessions/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/auth/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/backlinks/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/bootstrap/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/changes/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/connect/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/export/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/extract-pdf/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/file/import/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/file/raw/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/file/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/files/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/git/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/graph/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/health/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/im/config/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/im/status/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/im/test/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/inbox/clip/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/inbox/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/init/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/lint/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/mcp/agents/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/mcp/direct-tools/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/mcp/install/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/mcp/install-skill/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/mcp/restart/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/mcp/status/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/mcp/tools/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/mcp/uninstall/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/monitoring/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/recent-files/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/restart/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/search/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/settings/list-models/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/settings/reset-token/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/settings/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/settings/test-key/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/setup/check-path/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/setup/check-port/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/setup/generate-token/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/setup/ls/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/setup/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/skills/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/space-overview/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/sync/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/tree-version/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/uninstall/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/update/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/update-check/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/update-status/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/api/workflows/route-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/changes/page-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/echo/[segment]/page-5333ab47257fab7f.js +0 -159
- package/_standalone/.next/static/chunks/app/echo/page-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/loading-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/trash/page-bebb28bf472cf691.js +0 -1
- package/_standalone/.next/static/chunks/app/view/[...path]/loading-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/app/view/[...path]/page-dd5698f3df138835.js +0 -12
- package/_standalone/.next/static/chunks/next/dist/client/components/builtin/app-error-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/next/dist/client/components/builtin/forbidden-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/next/dist/client/components/builtin/not-found-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/next/dist/client/components/builtin/unauthorized-e0c1e2c67572781c.js +0 -1
- package/_standalone/.next/static/chunks/webpack-043f40ef7816d8c4.js +0 -1
- package/_standalone/.next/static/css/8b1f248d6540e52f.css +0 -1
- package/_standalone/lib/core/__tests__/synonym-dict.test.ts +0 -82
- package/app/lib/core/__tests__/synonym-dict.test.ts +0 -82
- package/app/lib/core/synonym-dict.ts +0 -139
- /package/_standalone/.next/static/{0JtsgqDZLSJ6MrIZIV6gC → ixCTELNH6V05Z00pC6ZMO}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7165],{2431:(e,t,s)=>{"use strict";s.d(t,{z:()=>n});var r=s(12115);let a="mindos:acp-detection";function n(){let e=(0,r.useRef)(function(){try{let e=sessionStorage.getItem(a);if(!e)return null;let t=JSON.parse(e);if("number"!=typeof t.ts||Date.now()-t.ts>18e5)return null;return t}catch{return null}}()),[t,s]=(0,r.useState)(e.current?.installed??[]),[n,l]=(0,r.useState)(e.current?.notInstalled??[]),[i,o]=(0,r.useState)(!e.current),[d,c]=(0,r.useState)(null),[u,m]=(0,r.useState)(0),x=(0,r.useRef)(!1),g=(0,r.useRef)(!1),p=(0,r.useCallback)(()=>{try{sessionStorage.removeItem(a)}catch{}e.current=null,g.current=!0,m(e=>e+1)},[]);return(0,r.useEffect)(()=>{let e=()=>p();return window.addEventListener("mindos:settings-changed",e),()=>window.removeEventListener("mindos:settings-changed",e)},[p]),(0,r.useEffect)(()=>{let r=g.current;if(g.current=!1,e.current&&Date.now()-e.current.ts<18e5&&0===u||x.current)return;x.current=!0;let i=t.length>0||n.length>0;i||o(!0),c(null);let d=!1;return fetch(`/api/acp/detect${r?"?force=1":""}`).then(e=>{if(!e.ok)throw Error(`HTTP ${e.status}`);return e.json()}).then(t=>{if(d)return;let r=t.installed??[],n=t.notInstalled??[];try{sessionStorage.setItem(a,JSON.stringify({installed:r,notInstalled:n,ts:Date.now()}))}catch{}e.current={installed:r,notInstalled:n,ts:Date.now()},s(r),l(n)}).catch(e=>{!d&&(i||c(e.message))}).finally(()=>{x.current=!1,d||o(!1)}),()=>{d=!0,x.current=!1}},[u]),{installedAgents:t,notInstalledAgents:n,loading:i,error:d,refresh:p}}},6296:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(90425).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},12413:(e,t,s)=>{"use strict";s.d(t,{P:()=>r,u:()=>a});let r=[{id:"telegram",name:"Telegram",icon:"\uD83D\uDCF1",guide:"1. Open Telegram → search @BotFather\n2. Send /newbot → follow prompts\n3. Copy the token below",fields:[{key:"bot_token",label:"Bot Token",placeholder:"123456789:AABBccDD-EeFfGgHh...",hint:"Format: number:alphanumeric"}]},{id:"feishu",name:"Feishu",icon:"\uD83D\uDC26",guide:"1. open.feishu.cn → Create App\n2. Credentials page → copy App ID & Secret\n3. Enable Bot capability + add permissions",guideUrl:"https://open.feishu.cn/",editHint:"Need to update credentials? Edit and save below — MindOS will reconnect automatically.",fields:[{key:"app_id",label:"App ID",placeholder:"CLI_XXXXXXXXXXXXXXXXX",hint:"From Credentials page on open.feishu.cn"},{key:"app_secret",label:"App Secret",placeholder:"XXXXXXXXXXXXXXXXXXXXXXXX",hint:"Keep this secret — do not share"}]},{id:"discord",name:"Discord",icon:"\uD83D\uDCAC",guide:"1. discord.com/developers → New Application\n2. Bot tab → Reset Token → copy\n3. Enable Message Content Intent",fields:[{key:"bot_token",label:"Bot Token",placeholder:"MTIxNzM..."}]},{id:"slack",name:"Slack",icon:"\uD83D\uDCBC",guide:"1. api.slack.com/apps → Create New App\n2. OAuth & Permissions → add chat:write scope\n3. Install to Workspace → copy Bot Token",fields:[{key:"bot_token",label:"Bot Token",placeholder:"xoxb-xxxx-xxxx-xxxx",hint:"Starts with xoxb-"}]},{id:"wecom",name:"WeCom",icon:"\uD83C\uDFE2",guide:"1. Group chat → Add Robot → Custom\n2. Copy Webhook URL\n3. Extract the key parameter from URL",fields:[{key:"webhook_key",label:"Webhook Key",placeholder:"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",hint:"The key= value from webhook URL"}]},{id:"dingtalk",name:"DingTalk",icon:"\uD83D\uDD14",guide:"1. Group → Settings → Smart Assistant → Add Robot\n2. Select Custom (Webhook)\n3. Copy the full Webhook URL",fields:[{key:"webhook_url",label:"Webhook URL",placeholder:"https://oapi.dingtalk.com/robot/send?access_token=...",hint:"Full URL including access_token"}]},{id:"wechat",name:"WeChat",icon:"\uD83D\uDC9A",guide:"1. Visit ilinkai.weixin.qq.com\n2. Register & create a bot application\n3. QR login in the console → copy Bot Token from dashboard",fields:[{key:"bot_token",label:"Bot Token",placeholder:"wx_xxxxxxxxxxxxxxxx",hint:"From iLink Bot console after QR login"}]},{id:"qq",name:"QQ",icon:"\uD83D\uDC27",guide:"1. q.qq.com → Create Bot\n2. Development tab → copy App ID & Secret\n3. Add group/C2C intents as needed",fields:[{key:"app_id",label:"App ID",placeholder:"102xxxxxx"},{key:"app_secret",label:"App Secret",placeholder:"xxxxxxxxxxxxxxxxxxxxxxxx"}]}];function a(e){return r.find(t=>t.id===e)}},13545:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(90425).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},27318:(e,t,s)=>{"use strict";s.d(t,{KT:()=>c,NH:()=>d});var r=s(12115);let a={open:!1,initialMessage:"",source:"user",acpAgent:null},n=new Set;function l(){n.forEach(e=>e())}function i(e){return n.add(e),()=>{n.delete(e)}}function o(){return a}function d(e="",t="user",s=null){a={open:!0,initialMessage:e,source:t,acpAgent:s},l()}function c(){let e=(0,r.useSyncExternalStore)(i,o,o);return{open:e.open,initialMessage:e.initialMessage,source:e.source,acpAgent:e.acpAgent,openWith:(0,r.useCallback)((e,t="user",s=null)=>d(e,t,s),[]),close:(0,r.useCallback)(()=>void(a={open:!1,initialMessage:"",source:"user",acpAgent:null},l()),[])}}},33210:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(90425).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},33591:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(90425).A)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]])},64616:(e,t,s)=>{Promise.resolve().then(s.bind(s,67390))},66709:(e,t,s)=>{"use strict";s.d(t,{A:()=>u});var r=s(95155),a=s(12115),n=s(92451),l=s(33210),i=s(6296),o=s(13545),d=s(12651),c=s(35581);function u({open:e,onClose:t,onDiscover:s,discovering:u,error:m}){let{t:x}=(0,c.Y)(),g=x.panels.agents,[p,b]=(0,a.useState)(""),[h,f]=(0,a.useState)(null);if(!e)return null;let v=async()=>{if(!p.trim()||u)return;f(null);let e=await s(p.trim());e&&f(e)},j=()=>{b(""),f(null),t()};return(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center overlay-backdrop",onClick:j,children:(0,r.jsxs)("div",{className:"bg-popover border border-border rounded-xl shadow-lg w-full max-w-md mx-4 p-5",onClick:e=>e.stopPropagation(),role:"dialog","aria-modal":"true","aria-label":g.a2aDiscover,children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,r.jsxs)("h3",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[(0,r.jsx)(n.A,{size:15,className:"text-muted-foreground"}),g.a2aDiscover]}),(0,r.jsx)("button",{type:"button",onClick:j,className:"p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-ring","aria-label":"Close",children:(0,r.jsx)(l.A,{size:14})})]}),(0,r.jsx)("p",{className:"text-2xs text-muted-foreground mb-3",children:g.a2aDiscoverHint}),(0,r.jsxs)("div",{className:"flex gap-2 mb-4",children:[(0,r.jsx)("input",{type:"url",value:p,onChange:e=>b(e.target.value),onKeyDown:e=>{"Enter"===e.key&&v(),"Escape"===e.key&&t()},placeholder:g.a2aDiscoverPlaceholder,disabled:u,className:"flex-1 px-3 py-2 text-xs rounded-lg border border-border bg-background text-foreground placeholder:text-muted-foreground focus:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50",autoFocus:!0}),(0,r.jsxs)("button",{type:"button",onClick:v,disabled:u||!p.trim(),className:"px-3 py-2 text-xs font-medium rounded-lg bg-foreground text-background hover:bg-foreground/90 disabled:opacity-50 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-ring flex items-center gap-1.5 shrink-0",children:[u&&(0,r.jsx)(i.A,{size:12,className:"animate-spin"}),u?g.a2aDiscovering:g.a2aDiscover]})]}),m&&!h&&(0,r.jsx)("div",{className:"rounded-lg border border-error/30 bg-error/5 px-3 py-2.5 mb-3",children:(0,r.jsxs)("div",{className:"flex items-start gap-2",children:[(0,r.jsx)(o.A,{size:14,className:"text-error mt-0.5 shrink-0"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-xs font-medium text-error",children:g.a2aDiscoverFailed}),(0,r.jsx)("p",{className:"text-2xs text-muted-foreground mt-0.5",children:g.a2aDiscoverFailedHint})]})]})}),h&&(0,r.jsx)("div",{className:"rounded-lg border border-success/30 bg-success/5 px-3 py-2.5",children:(0,r.jsxs)("div",{className:"flex items-start gap-2",children:[(0,r.jsx)(d.A,{size:14,className:"text-success mt-0.5 shrink-0"}),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("p",{className:"text-xs font-medium text-success mb-1.5",children:g.a2aDiscoverSuccess}),(0,r.jsxs)("div",{className:"space-y-1",children:[(0,r.jsxs)("p",{className:"text-xs font-medium text-foreground truncate",title:h.card.name,children:[h.card.name,(0,r.jsxs)("span",{className:"text-2xs text-muted-foreground ml-1.5",children:["v",h.card.version]})]}),(0,r.jsx)("p",{className:"text-2xs text-muted-foreground truncate",title:h.card.description,children:h.card.description}),h.card.skills.length>0&&(0,r.jsxs)("div",{className:"mt-1.5",children:[(0,r.jsxs)("p",{className:"text-2xs text-muted-foreground mb-1",children:[g.a2aSkills,":"]}),(0,r.jsx)("div",{className:"flex flex-wrap gap-1",children:h.card.skills.map(e=>(0,r.jsx)("span",{className:"text-2xs px-1.5 py-0.5 rounded bg-muted/80 text-muted-foreground border border-border/50",title:e.description,children:e.name},e.id))})]}),(0,r.jsxs)("p",{className:"text-2xs text-muted-foreground mt-1 truncate",title:h.endpoint,children:[g.a2aEndpoint,": ",h.endpoint]})]})]})]})})]})})}},67390:(e,t,s)=>{"use strict";s.d(t,{default:()=>e2});var r=s(95155),a=s(12115),n=s(4235),l=s(35581),i=s(70617),o=s(2857),d=s(7834),c=s(13845),u=s(3590),m=s(98500),x=s.n(m),g=s(53961),p=s(90425);let b=(0,p.A)("cable",[["path",{d:"M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z",key:"trhst0"}],["path",{d:"M17 21v-2",key:"ds4u3f"}],["path",{d:"M19 14V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V10",key:"1mo9zo"}],["path",{d:"M21 21v-2",key:"eo0ou"}],["path",{d:"M3 5V3",key:"1k5hjh"}],["path",{d:"M4 10a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z",key:"1dd30t"}],["path",{d:"M7 5V3",key:"1t1388"}]]);var h=s(15573),f=s(92451),v=s(41585),j=s(66088),y=s(49619),N=s(51914),k=s(60285),w=s(91337),S=s(39498),C=s(93219),A=s(21628),z=s(12651),M=s(13545),T=s(84980),F=s(3926),D=s(93631),R=s(68459),E=s(61878),$=s(10762);function L(e){return/search/.test(e)?"search":/read|list|get/.test(e)?"read":/create/.test(e)?"create":/delete/.test(e)?"delete":/write|update|insert|append/.test(e)?"write":"other"}let P={en:{read:"Read",write:"Write",create:"Create",delete:"Delete",search:"Search",other:"Other"},zh:{read:"读取",write:"写入",create:"创建",delete:"删除",search:"搜索",other:"其他"}},I={read:{bg:"rgba(138,180,216,0.10)",text:"var(--tool-read)",border:"rgba(138,180,216,0.25)"},write:{bg:"rgba(200,135,58,0.10)",text:"var(--amber)",border:"rgba(200,135,58,0.25)"},create:{bg:"rgba(122,173,128,0.10)",text:"var(--success)",border:"rgba(122,173,128,0.25)"},delete:{bg:"rgba(200,80,80,0.10)",text:"var(--error)",border:"rgba(200,80,80,0.25)"},search:{bg:"rgba(200,160,216,0.10)",text:"var(--tool-search)",border:"rgba(200,160,216,0.25)"},other:{bg:"var(--muted)",text:"var(--muted-foreground)",border:"var(--border)"}};function O({kind:e,size:t=13}){return"read"===e?(0,r.jsx)(T.A,{size:t}):"write"===e?(0,r.jsx)(F.A,{size:t}):"create"===e?(0,r.jsx)(D.A,{size:t}):"delete"===e?(0,r.jsx)(R.A,{size:t}):"search"===e?(0,r.jsx)(E.A,{size:t}):(0,r.jsx)($.A,{size:t})}function X(e){try{return new Date(e).toLocaleString(void 0,{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"})}catch{return e}}function K(e){let t=Date.now()-new Date(e).getTime(),s=Math.floor(t/6e4),r=Math.floor(t/36e5),a=Math.floor(t/864e5);return s<1?"<1m":s<60?`${s}m`:r<24?`${r}h`:`${a}d`}function _(e){return"string"==typeof e.path?e.path:null}function B({kind:e,locale:t,size:s="md"}){let a=I[e],n=P[t?.startsWith("zh")?"zh":"en"][e];return(0,r.jsxs)("span",{className:"font-display",style:{display:"inline-flex",alignItems:"center",gap:3,padding:"sm"===s?"1px 6px":"2px 8px",borderRadius:999,fontSize:"sm"===s?"0.6rem":"0.68rem",fontWeight:600,background:a.bg,color:a.text,border:`1px solid ${a.border}`,flexShrink:0,whiteSpace:"nowrap"},children:[(0,r.jsx)(O,{kind:e,size:"sm"===s?9:10}),n]})}function H(){let{t:e,locale:t}=(0,l.Y)(),[s,n]=(0,a.useState)([]),[i,o]=(0,a.useState)(!0),[d,c]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=!1,t=()=>{fetch("/api/agent-activity?limit=20").then(e=>e.json()).then(t=>{e||n(t.events??[])}).catch(()=>{}).finally(()=>{e||o(!1)})};t();let s=()=>{"visible"===document.visibilityState&&t()};return document.addEventListener("visibilitychange",s),()=>{e=!0,document.removeEventListener("visibilitychange",s)}},[]);let u=(0,a.useMemo)(()=>{let e=s.filter(e=>{let t=L(e.tool);return"write"===t||"create"===t||"delete"===t});return e.length>=3?e:s},[s]),m=d?u:u.slice(0,5),g=u.length-5;if(i)return(0,r.jsxs)("section",{className:"animate-pulse","aria-label":"Recent Activity",children:[(0,r.jsx)("div",{className:"h-4 w-36 bg-muted rounded mb-3"}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("div",{className:"h-10 bg-muted/50 rounded-lg"}),(0,r.jsx)("div",{className:"h-10 bg-muted/50 rounded-lg"})]})]});if(0===s.length)return null;let p=e.agentsContent?.overview;return(0,r.jsxs)("section",{"aria-label":"Recent Activity",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2.5 mb-5",children:[(0,r.jsx)("div",{className:"flex items-center justify-center w-6 h-6 rounded-md bg-[var(--amber-subtle)] text-[var(--amber)]",children:(0,r.jsx)(C.A,{size:13})}),(0,r.jsx)("h2",{className:"text-[13px] font-semibold text-foreground tracking-wide",children:p?.recentActivity??"Recent Activity"}),(0,r.jsx)("div",{className:"ml-auto",children:(0,r.jsxs)(x(),{href:"/agents?tab=activity",className:"flex items-center gap-1.5 text-xs font-medium text-[var(--amber)] hover:opacity-80 transition-colors",children:[(0,r.jsx)(A.A,{size:12}),(0,r.jsx)("span",{children:p?.viewAll??"View all"})]})})]}),(0,r.jsx)("div",{className:"rounded-xl border border-border bg-card overflow-hidden",children:m.map((e,s)=>{let a=L(e.tool),n=_(e.params);return(0,r.jsxs)("div",{className:`flex items-center gap-3 px-3.5 py-2.5 ${s>0?"border-t border-border/30":""} hover:bg-muted/30 transition-colors`,children:[(0,r.jsx)(B,{kind:a,locale:t,size:"sm"}),n?(0,r.jsx)(x(),{href:`/view/${(0,w.O0)(n)}`,className:"text-xs text-[var(--amber)]/80 hover:text-[var(--amber)] truncate min-w-0 flex-1 font-display transition-colors",title:n,children:n}):(0,r.jsx)("span",{className:"flex-1"}),e.agentName&&(0,r.jsx)("span",{className:"text-[0.6rem] font-medium text-muted-foreground/70 bg-muted/60 px-1.5 py-0.5 rounded-full shrink-0",title:e.agentName,children:e.agentName.length>20?e.agentName.slice(0,20)+"...":e.agentName}),"ok"===e.result?(0,r.jsx)(z.A,{size:11,className:"shrink-0 text-[var(--success)]/60"}):(0,r.jsx)(M.A,{size:11,className:"shrink-0 text-[var(--error)]/60"}),(0,r.jsx)("span",{className:"text-2xs text-muted-foreground/40 tabular-nums shrink-0",title:e.ts,children:K(e.ts)})]},e.id??s)})}),g>0&&(0,r.jsxs)("button",{onClick:()=>c(e=>!e),className:"flex items-center gap-1.5 mt-2 text-xs font-medium text-[var(--amber)] hover:opacity-80 transition-opacity cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded",children:[(0,r.jsx)(j.A,{size:12,className:`transition-transform duration-200 ${d?"rotate-180":""}`}),(0,r.jsx)("span",{children:d?p?.showLess??"Show less":`${g} more`})]})]})}function U({copy:e,buckets:t,riskQueue:s,mcpRunning:n,mcpPort:l,mcpToolCount:i,mcpEnabled:o=!0,enabledSkillCount:d,allAgents:c,pulseCopy:u,a2aCount:m,onAddCustomAgent:x,onEditCustomAgent:p,onRemoveCustomAgent:k}){s.length;let[S,C]=(0,a.useState)(!1),A=(0,a.useMemo)(()=>[...c].filter(e=>e.present||e.isCustom).sort((e,t)=>!e.installed-!t.installed||e.name.localeCompare(t.name)),[c]);return(0,r.jsxs)("div",{className:"space-y-5",children:[(0,r.jsx)("section",{className:"rounded-xl border border-border bg-gradient-to-b from-card to-card/80 overflow-hidden","aria-label":u.connected,children:(0,r.jsxs)("div",{className:"flex divide-x divide-border/50 [&>*]:flex-1",children:[(0,r.jsx)(W,{icon:(0,r.jsx)(g.A,{size:14,"aria-hidden":"true"}),label:u.connected,value:t.connected.length,total:A.length,tone:"ok"}),(0,r.jsx)(W,{icon:(0,r.jsx)(b,{size:14,"aria-hidden":"true"}),label:u.detected,value:t.detected.length,tone:t.detected.length>0?"warn":"muted"}),(0,r.jsx)(W,{icon:(0,r.jsx)(g.A,{size:14,"aria-hidden":"true"}),label:u.enabledSkills,value:d,tone:"ok"}),o&&(0,r.jsx)(W,{icon:(0,r.jsx)(h.A,{size:14,"aria-hidden":"true"}),label:e.pulseMcp,value:n?`:${l}`:"—",tone:n?"ok":"warn"}),null!=m&&(0,r.jsx)(W,{icon:(0,r.jsx)(f.A,{size:14,"aria-hidden":"true"}),label:e.a2aLabel??"A2A",value:m,tone:m>0?"ok":"muted"})]})}),s.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("button",{type:"button",onClick:()=>C(!S),className:"inline-flex items-center gap-1.5 rounded-full border border-[var(--amber)]/25 bg-[var(--amber)]/[0.06] px-3 py-1.5 text-sm font-medium text-[var(--amber)] transition-colors duration-150 hover:bg-[var(--amber)]/[0.12] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring","aria-expanded":S,children:[(0,r.jsx)(v.A,{size:13,className:"shrink-0","aria-hidden":"true"}),e.riskQueue,(0,r.jsx)("span",{className:"tabular-nums text-2xs bg-[var(--amber-dim)] px-1.5 py-0.5 rounded-full select-none",children:s.length}),(0,r.jsx)(j.A,{size:13,className:(0,w.cn)("shrink-0 transition-transform duration-200",S&&"rotate-180"),"aria-hidden":"true"})]}),(0,r.jsx)("div",{className:(0,w.cn)("grid transition-[grid-template-rows] duration-250 ease-out",S?"grid-rows-[1fr]":"grid-rows-[0fr]"),children:(0,r.jsx)("div",{className:"overflow-hidden",...!S&&{inert:!0},children:(0,r.jsx)("ul",{className:"mt-3 space-y-2",role:"list",children:s.map((t,s)=>(0,r.jsxs)("li",{className:`flex items-center gap-3 px-3 py-2.5 rounded-lg border text-sm ${"error"===t.severity?"border-destructive/20 bg-destructive/[0.03]":"border-[var(--amber)]/15 bg-background"}`,style:{animationDelay:`${50*s}ms`},children:[(0,r.jsx)("span",{className:`w-1.5 h-1.5 rounded-full shrink-0 ${"error"===t.severity?"bg-destructive":"bg-[var(--amber)]"}`,"aria-hidden":"true"}),(0,r.jsx)("span",{className:"text-foreground flex-1 min-w-0",children:t.title}),(0,r.jsx)("span",{className:`text-2xs px-1.5 py-0.5 rounded font-medium shrink-0 select-none ${"error"===t.severity?"bg-destructive/10 text-destructive":"bg-[var(--amber-dim)] text-[var(--amber-text)]"}`,children:"error"===t.severity?e.riskLevelError:e.riskLevelWarn})]},t.id))})})})]}),(0,r.jsx)(H,{}),A.length>0?(0,r.jsxs)("section",{"aria-label":e.usagePulse,children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,r.jsx)("div",{className:"flex items-center justify-center w-6 h-6 rounded-md bg-[var(--amber-subtle)] text-[var(--amber)]",children:(0,r.jsx)(y.A,{size:13})}),(0,r.jsx)("h2",{className:"text-[13px] font-semibold text-foreground tracking-wide",children:e.usagePulse})]}),(0,r.jsx)("span",{className:"text-2xs text-muted-foreground tabular-nums select-none",children:e.agentCount(A.length)})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3",children:[x&&(0,r.jsxs)("button",{type:"button",onClick:x,className:"group rounded-xl border-2 border-dashed border-border/60 bg-transparent p-3.5 hover:border-[var(--amber)]/30 hover:bg-muted/20 active:scale-[0.98] transition-all duration-150 flex flex-col items-center justify-center gap-2 min-h-[100px] cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring","aria-label":e.addCustomAgent,children:[(0,r.jsx)("div",{className:"w-8 h-8 rounded-full border-2 border-dashed border-muted-foreground/30 flex items-center justify-center group-hover:border-[var(--amber)]/50 transition-colors duration-150",children:(0,r.jsx)(N.A,{size:16,className:"text-muted-foreground/50 group-hover:text-[var(--amber)] transition-colors duration-150"})}),(0,r.jsx)("span",{className:"text-xs text-muted-foreground/60 group-hover:text-muted-foreground transition-colors duration-150",children:e.addCustomAgent})]}),A.map((t,s)=>(0,r.jsx)(J,{agent:t,copy:e,index:s,mcpEnabled:o,onEdit:t.isCustom?p:void 0,onRemove:t.isCustom?k:void 0},t.key))]})]}):(0,r.jsxs)("section",{className:"rounded-xl border border-border/40 bg-card/30 p-12 text-center","aria-label":e.usagePulse,children:[(0,r.jsx)("div",{className:"w-14 h-14 rounded-2xl bg-muted/40 flex items-center justify-center mx-auto mb-4",children:(0,r.jsx)(b,{size:22,className:"text-muted-foreground/50","aria-hidden":"true"})}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground/70 leading-relaxed max-w-xs mx-auto",children:e.nextActionHint})]})]})}function W({icon:e,label:t,value:s,total:a,tone:n}){return(0,r.jsxs)("div",{className:`px-3 py-4 text-center ${"ok"===n?"hover:bg-muted/20":"warn"===n?"hover:bg-[var(--amber)]/[0.04]":"hover:bg-muted/20"} transition-colors duration-150 group/stat`,role:"group","aria-label":`${t}: ${s}${void 0!==a?`/${a}`:""}`,children:[(0,r.jsx)("div",{className:`flex items-center justify-center gap-1.5 mb-2 ${"ok"===n?"text-[var(--success)]/70":"warn"===n?"text-[var(--amber)]/70":"text-muted-foreground/40"} group-hover/stat:opacity-100 transition-all duration-150`,children:e}),(0,r.jsxs)("p",{className:`text-xl font-semibold tabular-nums leading-none mb-1.5 ${"ok"===n?"text-foreground":"warn"===n?"text-amber-600 dark:text-amber-400":"text-muted-foreground"}`,children:[s,void 0!==a&&(0,r.jsxs)("span",{className:"text-xs font-normal text-muted-foreground ml-0.5",children:["/",a]})]}),(0,r.jsx)("span",{className:"text-2xs text-muted-foreground/70 truncate block",children:t})]})}function J({agent:e,copy:t,index:s,mcpEnabled:n=!0,onEdit:l,onRemove:i}){let[o,d]=(0,a.useState)(!1),c=(0,a.useRef)(null),m=(0,u.yv)(e),p=e.configuredMcpServerCount??e.configuredMcpServers?.length??0,b=e.installedSkillCount??e.installedSkillNames?.length??0,f=e.runtimeConversationSignal||e.runtimeUsageSignal,v=e.isCustom,j="connected"===m?t.connected:"detected"===m?t.detected:t.notFound,y="connected"===m?"bg-muted text-muted-foreground":"detected"===m?"bg-[var(--amber-dim)] text-[var(--amber-text)]":"bg-error/10 text-error";return(0,a.useEffect)(()=>{if(!o)return;let e=e=>{c.current&&!c.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[o]),(0,r.jsxs)(x(),{href:`/agents/${encodeURIComponent(e.key)}`,className:(0,w.cn)("group relative rounded-xl border border-border bg-card p-3.5","hover:border-[var(--amber)]/30 hover:shadow-[0_2px_8px_rgba(0,0,0,0.04)]","active:scale-[0.98]","transition-all duration-150","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",v&&"border-l-2 border-l-[var(--amber)]/40"),children:[v&&(l||i)&&(0,r.jsxs)("div",{ref:c,className:"absolute top-2.5 right-2.5 z-10",children:[(0,r.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),d(!o)},className:"w-6 h-6 rounded-md flex items-center justify-center text-muted-foreground hover:text-foreground hover:bg-muted opacity-0 group-hover:opacity-100 transition-all duration-150 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:opacity-100","aria-label":"Agent options",children:(0,r.jsx)(k.A,{size:14})}),o&&(0,r.jsxs)("div",{className:"absolute right-0 top-full mt-1 w-32 bg-card border border-border rounded-lg shadow-lg py-1 animate-in fade-in-0 zoom-in-95 duration-100",children:[l&&(0,r.jsx)("button",{type:"button",onClick:t=>{t.preventDefault(),t.stopPropagation(),d(!1),l(e)},className:"w-full text-left px-3 py-1.5 text-sm text-foreground hover:bg-muted transition-colors duration-100 cursor-pointer",children:t.customAgentEdit}),i&&(0,r.jsx)("button",{type:"button",onClick:t=>{t.preventDefault(),t.stopPropagation(),d(!1),i(e)},className:"w-full text-left px-3 py-1.5 text-sm text-destructive hover:bg-muted transition-colors duration-100 cursor-pointer",children:t.customAgentRemove})]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2.5 mb-3",children:[(0,r.jsx)(S.lx,{name:e.name,status:m,size:"sm"}),(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsx)("span",{className:"text-sm font-medium text-foreground block truncate group-hover:text-[var(--amber)] transition-colors duration-150",children:e.name}),e.transport&&"connected"===m&&(0,r.jsx)("span",{className:"text-2xs text-muted-foreground/60 font-mono",children:e.transport})]}),(0,r.jsx)("span",{className:`text-2xs px-2 py-0.5 rounded-full font-medium shrink-0 select-none ${y}`,children:j})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1 pt-2.5 border-t border-border/40",children:[n&&(0,r.jsx)(q,{icon:(0,r.jsx)(h.A,{size:11,"aria-hidden":"true"}),value:p,label:t.colMcp}),(0,r.jsx)(q,{icon:(0,r.jsx)(g.A,{size:11,"aria-hidden":"true"}),value:b,label:t.colSkills}),(0,r.jsx)("span",{className:"flex-1 min-w-[4px]"}),f&&(0,r.jsxs)("span",{className:"flex items-center gap-1 text-[var(--success)]",title:t.runtimeActive,children:[(0,r.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-[var(--success)] animate-pulse","aria-hidden":"true"}),(0,r.jsx)("span",{className:"text-2xs font-medium",children:t.runtimeActive})]})]})]})}function q({icon:e,value:t,label:s}){return(0,r.jsxs)("span",{className:`inline-flex items-center gap-1 px-1.5 py-0.5 rounded-md ${t>0?"bg-muted/40":""}`,title:s,"aria-label":`${s}: ${t}`,children:[(0,r.jsx)("span",{className:t>0?"text-muted-foreground":"text-muted-foreground/30",children:e}),(0,r.jsx)("span",{className:`tabular-nums text-xs ${t>0?"text-foreground font-medium":"text-muted-foreground/40"}`,children:t})]})}var Y=s(91958),V=s(22356);function G({copy:e,mcp:t,buckets:s,copyState:n,onCopySnippet:l}){let[i,o]=(0,a.useState)("byServer"),[d,c]=(0,a.useState)(""),[m,x]=(0,a.useState)("all"),[g,p]=(0,a.useState)("all"),[b,f]=(0,a.useState)(null),[v,j]=(0,a.useState)(null),y=(0,a.useMemo)(()=>(0,u.gJ)(t.agents),[t.agents]),N=(0,a.useMemo)(()=>(0,u.gJ)((0,u.fH)(t.agents,{query:d,status:m,transport:g})),[t.agents,d,m,g]),k=(0,a.useMemo)(()=>(0,u.HL)(t.agents),[t.agents]),w=(0,a.useMemo)(()=>{let e=d.trim().toLowerCase();return e?k.filter(t=>t.serverName.toLowerCase().includes(e)):k},[k,d]);async function C(e){f(`reconnect:${e.key}`);try{let s="project"===e.scope?"project":"global",r="http"===e.transport?"http":"stdio";await t.installAgent(e.key,{scope:s,transport:r}),await t.refresh()}catch(e){console.error("[mcp] reconnect failed",e)}finally{f(null)}}async function A(e){f(`install:${e}`);try{await t.installAgent(e,{scope:"global",transport:"stdio"}),await t.refresh()}catch(e){console.error("[mcp] install mindos failed",e)}finally{f(null)}}async function z(){if(null!==b||0===N.length)return;f("bulk"),j(e.bulkRunning);let s=[];for(let e of N){let r="project"===e.scope?"project":"global",a="http"===e.transport?"http":"stdio",n=await t.installAgent(e.key,{scope:r,transport:a});s.push({agentKey:e.key,ok:n})}await t.refresh();let r=(0,u.xJ)(s);j(e.bulkSummary(r.succeeded,r.failed)),f(null)}let M="refresh"===b;return(0,r.jsxs)("section",{className:"space-y-4 overflow-hidden","aria-label":e.title,children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,r.jsxs)("h2",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[(0,r.jsx)("div",{className:"w-6 h-6 rounded-md bg-[var(--amber-subtle)] flex items-center justify-center",children:(0,r.jsx)(h.A,{size:13,className:"text-[var(--amber)]","aria-hidden":"true"})}),e.title]}),(0,r.jsxs)("button",{type:"button",onClick:()=>{f("refresh"),t.refresh().finally(()=>f(null))},disabled:M,"aria-label":e.refresh,className:"inline-flex items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded-md px-1.5 py-1 hover:bg-muted disabled:opacity-50 transition-colors duration-150",children:[(0,r.jsx)(Y.A,{size:13,className:M?"animate-spin":""}),e.refresh]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1 rounded-md border border-border p-0.5 bg-background",role:"tablist","aria-label":e.title,children:[(0,r.jsx)(S.KF,{active:"byServer"===i,label:e.tabs.byServer,onClick:()=>o("byServer")}),(0,r.jsx)(S.KF,{active:"byAgent"===i,label:e.tabs.byAgent,onClick:()=>o("byAgent")})]})]}),(0,r.jsxs)("div",{className:"rounded-xl border border-border/60 bg-gradient-to-r from-card to-card/80 p-3.5",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-x-5 gap-y-2 text-xs",children:[(0,r.jsx)(S.md,{tone:"ok",label:e.filters.connected,count:s.connected.length}),(0,r.jsx)(S.md,{tone:"warn",label:e.filters.detected,count:s.detected.length}),s.notFound.length>0&&(0,r.jsx)(S.md,{tone:"neutral",label:e.filters.notFound,count:s.notFound.length}),(0,r.jsx)("span",{className:"text-muted-foreground/40","aria-hidden":"true",children:"|"}),(0,r.jsx)(S.md,{tone:t.status?.running?"ok":"neutral",label:e.mcpServerLabel,count:+!!t.status?.running})]}),!t.status?.running&&(0,r.jsx)("div",{className:"mt-2 pt-2 border-t border-border/60",role:"alert",children:(0,r.jsxs)("p",{className:"text-xs text-destructive flex items-center gap-1.5",children:[(0,r.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-destructive shrink-0","aria-hidden":"true"}),e.riskMcpStopped]})})]}),(0,r.jsx)(S.DO,{value:d,onChange:c,placeholder:"byAgent"===i?e.searchPlaceholder:e.searchServersPlaceholder,ariaLabel:e.searchPlaceholder,icon:E.A}),"byAgent"===i?(0,r.jsx)(Q,{copy:e,agents:N,busyAction:b,copyState:n,bulkMessage:v,statusFilter:m,transportFilter:g,onStatusFilter:x,onTransportFilter:p,onCopySnippet:l,onReconnect:C,onInstallMindos:A,onBulkReconnect:z}):(0,r.jsx)(Z,{copy:e,servers:w,allAgents:y,busyAction:b,onInstallMindos:A,onReconnect:C})]})}function Q({copy:e,agents:t,busyAction:s,copyState:a,bulkMessage:n,statusFilter:l,transportFilter:i,onStatusFilter:o,onTransportFilter:d,onCopySnippet:c,onReconnect:m,onInstallMindos:g,onBulkReconnect:p}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,r.jsxs)("div",{role:"group","aria-label":e.table.status,className:"flex items-center gap-0.5 rounded-md border border-border p-0.5 bg-background",children:[(0,r.jsx)(S.KF,{active:"all"===l,label:e.filters.all,onClick:()=>o("all")}),(0,r.jsx)(S.KF,{active:"connected"===l,label:e.filters.connected,onClick:()=>o("connected")}),(0,r.jsx)(S.KF,{active:"detected"===l,label:e.filters.detected,onClick:()=>o("detected")}),(0,r.jsx)(S.KF,{active:"notFound"===l,label:e.filters.notFound,onClick:()=>o("notFound")})]}),(0,r.jsxs)("div",{role:"group","aria-label":e.table.transport,className:"flex items-center gap-0.5 rounded-md border border-border p-0.5 bg-background",children:[(0,r.jsx)(S.KF,{active:"all"===i,label:e.transportFilters.all,onClick:()=>d("all")}),(0,r.jsx)(S.KF,{active:"stdio"===i,label:e.transportFilters.stdio,onClick:()=>d("stdio")}),(0,r.jsx)(S.KF,{active:"http"===i,label:e.transportFilters.http,onClick:()=>d("http")}),(0,r.jsx)(S.KF,{active:"other"===i,label:e.transportFilters.other,onClick:()=>d("other")})]})]}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,r.jsx)(S.rA,{onClick:()=>void p(),disabled:null!==s||0===t.length,busy:"bulk"===s,label:e.bulkReconnectFiltered}),(0,r.jsx)("span",{className:"text-2xs text-muted-foreground tabular-nums",children:e.resultCount(t.length)}),(0,r.jsx)(S.Mv,{message:n})]}),0===t.length?(0,r.jsx)(S.pp,{message:e.emptyState}):(0,r.jsx)("div",{className:"space-y-2",children:t.map(t=>{let n=(0,u.yv)(t),l=t.configuredMcpServers??[],i=(t.installedSkillNames??[]).length;return(0,r.jsxs)("div",{className:`rounded-xl border bg-card group hover:shadow-[0_2px_8px_rgba(0,0,0,0.04)] transition-all duration-150 ${"detected"===n?"border-l-2 border-l-[var(--amber)] border-border":"notFound"===n?"border-l-2 border-l-error border-border":"border-border"}`,children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 p-3",children:[(0,r.jsx)(S.lx,{name:t.name,status:n}),(0,r.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(x(),{href:`/agents/${encodeURIComponent(t.key)}`,className:"text-sm font-medium text-foreground hover:underline cursor-pointer truncate",children:t.name}),(0,r.jsx)("span",{className:"text-2xs text-muted-foreground font-mono shrink-0",children:t.transport??t.preferredTransport}),(0,r.jsx)("span",{className:`text-2xs px-1.5 py-0.5 rounded shrink-0 ${"connected"===n?"bg-muted text-muted-foreground":"detected"===n?"bg-[var(--amber-dim)] text-[var(--amber-text)]":"bg-error/10 text-error"}`,children:e.status[n]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 mt-0.5 text-2xs text-muted-foreground",children:[(0,r.jsxs)("span",{className:"tabular-nums",children:[l.length," MCP"]}),(0,r.jsx)("span",{"aria-hidden":"true",children:"\xb7"}),(0,r.jsxs)("span",{className:"tabular-nums",children:[i," skills"]})]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1.5 shrink-0 md:opacity-0 md:group-hover:opacity-100 md:focus-within:opacity-100 transition-opacity duration-150",children:[(0,r.jsx)(S.rA,{onClick:()=>void c(t.key),disabled:!1,busy:!1,label:a===t.key?e.actions.copied:e.actions.copySnippet}),t.installed?(0,r.jsx)(S.rA,{onClick:()=>void m(t),disabled:null!==s,busy:s===`reconnect:${t.key}`,label:e.actions.reconnect}):(0,r.jsx)(S.rA,{onClick:()=>void g(t.key),disabled:null!==s,busy:s===`install:${t.key}`,label:e.installMindos,variant:"primary"}),!t.installed&&(0,r.jsx)("span",{className:"text-2xs text-muted-foreground/60",children:"or CLI Skill"})]})]}),l.length>0&&(0,r.jsx)("div",{className:"flex flex-wrap gap-1 px-3 pb-3 ml-12",children:l.map(e=>(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-muted/40 border border-border/30 px-2.5 py-0.5 text-2xs text-muted-foreground hover:bg-muted/60 transition-colors duration-100",children:[(0,r.jsx)("span",{className:"w-1 h-1 rounded-full bg-[var(--amber)]","aria-hidden":"true"}),e]},e))})]},t.key)})})]})}function Z({copy:e,servers:t,allAgents:s,busyAction:n,onInstallMindos:l,onReconnect:i}){let[o,d]=(0,a.useState)(null),[c,m]=(0,a.useState)(null),[g,p]=(0,a.useState)(null),[b,f]=(0,a.useState)(null),[v,j]=(0,a.useState)({}),y=(0,a.useCallback)(async(e,t)=>{d(null),await l(e)},[l]),N=(0,a.useCallback)(async()=>{if(!c)return;let{agentKey:t}=c;m(null);let r=s.find(e=>e.key===t),a=r?.scope==="project"?"project":"global";try{await (0,V.n)("/api/mcp/uninstall",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({agents:[{key:t,scope:a}]})}),p(e.removeSuccess??"Removed. Restart your agent to apply.")}catch{p(e.removeFailed??"Failed to remove. Try editing the config file manually.")}setTimeout(()=>p(null),4e3)},[c,s,e]),k=(0,a.useCallback)(async(t,s)=>{f(t),j(s=>({...s,[t]:e.reconnectAllRunning}));let r=0,a=0;for(let e of s)try{await i(e),r++}catch{a++}j(s=>({...s,[t]:e.reconnectAllDone(r,a)})),f(null),setTimeout(()=>j(e=>{let s={...e};return delete s[t],s}),4e3)},[e,i]);return 0===t.length?(0,r.jsx)(S.pp,{message:e.crossAgentServersEmpty}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("p",{className:"text-2xs text-muted-foreground tabular-nums",children:e.resultCount(t.length)}),g&&(0,r.jsx)("div",{role:"status","aria-live":"polite",className:"rounded-md border border-border bg-muted/50 px-3 py-2 text-xs text-muted-foreground animate-in fade-in duration-200",children:g}),t.map(t=>{let a=t.agents.map(e=>s.find(t=>t.name===e)).filter(Boolean),l=t.agents.filter(e=>!a.some(t=>t.name===e)),i=s.filter(e=>!t.agents.includes(e.name)),c=a.filter(e=>"connected"===(0,u.yv)(e)).length,g=a.filter(e=>"detected"===(0,u.yv)(e)).length,p=a.length-c-g+l.length;return(0,r.jsxs)("div",{className:"rounded-xl border border-border bg-card p-4 hover:shadow-[0_2px_8px_rgba(0,0,0,0.04)] transition-all duration-200",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2 mb-3",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2.5 min-w-0",children:[(0,r.jsx)("div",{className:"w-7 h-7 rounded-lg bg-[var(--amber)]/[0.08] flex items-center justify-center shrink-0",children:(0,r.jsx)(h.A,{size:13,className:"text-[var(--amber)]","aria-hidden":"true"})}),(0,r.jsx)("span",{className:"text-sm font-semibold text-foreground truncate",children:t.serverName})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1.5 shrink-0",children:[a.length>0&&(0,r.jsx)(S.rA,{onClick:()=>void k(t.serverName,a),disabled:null!==b||null!==n,busy:b===t.serverName,label:e.reconnectAllInServer,busyLabel:e.reconnectAllRunning}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(S.ZC,{onClick:()=>d(o===t.serverName?null:t.serverName),label:e.addAgent,size:"sm"}),(0,r.jsx)(S.BK,{open:o===t.serverName,agents:i.map(e=>({key:e.key,name:e.name})),emptyLabel:e.noAvailableAgents,onSelect:e=>void y(e,t.serverName),onClose:()=>d(null)})]})]})]}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 text-2xs text-muted-foreground mb-3",children:[(0,r.jsx)("span",{className:"tabular-nums",children:e.serverAgentCount(t.agents.length)}),c>0&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,r.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-[var(--success)]","aria-hidden":"true"}),c]}),g>0&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,r.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-[var(--amber)]","aria-hidden":"true"}),g]}),p>0&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,r.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-muted-foreground","aria-hidden":"true"}),p]})]}),v[t.serverName]&&(0,r.jsx)("p",{role:"status",className:"text-2xs text-muted-foreground mb-2 animate-in fade-in duration-200",children:v[t.serverName]}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[a.map(e=>{let s=(0,u.yv)(e);return(0,r.jsx)(x(),{href:`/agents/${encodeURIComponent(e.key)}`,className:"cursor-pointer",children:(0,r.jsx)(S.lx,{name:e.name,status:s,onRemove:()=>m({agentKey:e.key,agentName:e.name,serverName:t.serverName})})},e.key)}),l.map(e=>(0,r.jsx)(S.lx,{name:e,status:"notFound"},e))]})]},t.serverName)})]}),(0,r.jsx)(S.TM,{open:null!==c,title:e.confirmRemoveTitle,message:c?e.confirmRemoveMessage(c.agentName,c.serverName):"",confirmLabel:e.removeFromServer,cancelLabel:e.cancel,onConfirm:N,onCancel:()=>m(null),variant:"destructive"})]})}var ee=s(14871),et=s(20171),es=s(85641),er=s(21362);function ea({copy:e,agents:t,skills:s,crossAgentSkills:n,query:l,onToggleSkill:i,onOpenDetail:o}){let d=l.trim().toLowerCase(),c=(0,a.useMemo)(()=>d?t.filter(e=>!!`${e.name} ${e.key}`.toLowerCase().includes(d)||(e.installedSkillNames??[]).some(e=>e.toLowerCase().includes(d))):t,[t,d]),m=(0,a.useMemo)(()=>d?s.filter(e=>e.name.toLowerCase().includes(d)||e.description.toLowerCase().includes(d)):s,[s,d]);return 0===c.length?(0,r.jsx)(S.pp,{message:e.noAgentsYet}):(0,r.jsx)("div",{className:"space-y-3",children:c.map(t=>{let s=(0,u.yv)(t),a=(t.installedSkillNames??[]).sort(),n=t.configuredMcpServers??[],l=(t.present?m:[]).slice().sort((e,t)=>e.enabled!==t.enabled?e.enabled?-1:1:e.name.localeCompare(t.name)),d=a.length+l.length;return(0,r.jsx)(en,{agentKey:t.key,name:t.name,status:s,skillMode:t.skillMode,mcpCount:n.length,totalSkills:d,nativeSkills:a,mindosSkills:l,copy:e,onToggleSkill:i,onOpenDetail:o},t.key)})})}function en({agentKey:e,name:t,status:s,skillMode:n,mcpCount:l,totalSkills:i,nativeSkills:o,mindosSkills:d,copy:c,onToggleSkill:m,onOpenDetail:p}){let[b,h]=(0,a.useState)(!1),f=o.length>6,v=b?o:o.slice(0,6);return(0,r.jsxs)("div",{className:"rounded-xl border border-border bg-card hover:shadow-[0_2px_8px_rgba(0,0,0,0.04)] transition-all duration-200 overflow-hidden",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 p-4 pb-0",children:[(0,r.jsx)(S.lx,{name:t,status:s}),(0,r.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(x(),{href:`/agents/${encodeURIComponent(e)}`,className:"text-sm font-medium text-foreground hover:underline cursor-pointer truncate",children:t}),n&&(0,r.jsx)("span",{className:`text-2xs px-1.5 py-0.5 rounded shrink-0 ${"universal"===n?"bg-muted text-muted-foreground":"additional"===n?"bg-[var(--amber-dim)] text-[var(--amber-text)]":"bg-muted text-muted-foreground"}`,children:n})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 mt-0.5 text-2xs text-muted-foreground",children:[(0,r.jsx)("span",{className:"tabular-nums",children:c.quickStatsMcp(l)}),(0,r.jsx)("span",{"aria-hidden":"true",children:"\xb7"}),(0,r.jsx)("span",{className:"tabular-nums",children:c.quickStatsSkills(i)})]})]})]}),(0,r.jsxs)("div",{className:"p-4 pt-3 space-y-3",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,r.jsxs)("p",{className:"text-2xs font-medium text-muted-foreground uppercase tracking-wider",children:[c.agentNativeSkills," ",(0,r.jsxs)("span",{className:"tabular-nums",children:["(",o.length,")"]})]}),f&&(0,r.jsx)("button",{type:"button",onClick:()=>h(!b),className:"text-2xs text-muted-foreground hover:text-foreground cursor-pointer flex items-center gap-0.5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded transition-colors duration-150",children:b?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(j.A,{size:12}),c.collapseNative]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(er.A,{size:12}),c.showAllNative(o.length)]})})]}),0===o.length?(0,r.jsx)("p",{className:"text-2xs text-muted-foreground/60",children:"—"}):(0,r.jsxs)("div",{className:"space-y-0.5 max-h-[200px] overflow-y-auto",children:[v.map(e=>(0,r.jsxs)("button",{type:"button",onClick:()=>p(e),className:"w-full flex items-center gap-1.5 py-1 min-h-[28px] hover:bg-muted/30 -mx-1.5 px-1.5 rounded transition-colors duration-100 cursor-pointer text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[(0,r.jsx)(g.A,{size:12,className:"shrink-0 text-muted-foreground/50","aria-hidden":"true"}),(0,r.jsx)("span",{className:"text-xs text-foreground truncate hover:text-[var(--amber)] transition-colors duration-150",children:e})]},e)),!b&&o.length>6&&(0,r.jsxs)("button",{type:"button",onClick:()=>h(!0),className:"w-full text-left text-2xs text-muted-foreground hover:text-foreground py-1 px-1.5 -mx-1.5 cursor-pointer transition-colors duration-150",children:["+",o.length-6]})]})]}),d.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"text-2xs font-medium text-muted-foreground uppercase tracking-wider mb-1.5",children:[c.agentMindosSkills," ",(0,r.jsxs)("span",{className:"tabular-nums",children:["(",d.filter(e=>e.enabled).length,"/",d.length,")"]})]}),(0,r.jsx)("div",{className:"space-y-0.5 max-h-[240px] overflow-y-auto",children:d.map(e=>(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2 py-1 min-h-[32px] hover:bg-muted/30 -mx-1.5 px-1.5 rounded transition-colors duration-100",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 min-w-0",children:[(0,r.jsx)(g.A,{size:12,className:`shrink-0 ${e.enabled?"text-[var(--amber)]":"text-muted-foreground/50"}`,"aria-hidden":"true"}),(0,r.jsx)("button",{type:"button",onClick:()=>p(e.name),className:"text-xs text-foreground truncate hover:text-[var(--amber)] cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded text-left",children:e.name}),(0,r.jsx)("span",{className:"text-2xs text-muted-foreground shrink-0",children:c.groupLabels[(0,u.$2)(e)]})]}),(0,r.jsx)(et.lM,{size:"sm",checked:e.enabled,onChange:t=>void m(e.name,t)})]},e.name))})]})]})]})}function el({copy:e,mcp:t,buckets:s}){let[n,l]=(0,a.useState)("bySkill"),[i,o]=(0,a.useState)(""),[d,c]=(0,a.useState)("all"),[m,x]=(0,a.useState)("all"),[p,b]=(0,a.useState)("all"),[h,f]=(0,a.useState)(!1),[v,j]=(0,a.useState)(null),[y,N]=(0,a.useState)(null),k=(0,a.useMemo)(()=>(0,u.x3)(t.agents),[t.agents]),w=(0,a.useMemo)(()=>(0,u.gJ)(t.agents),[t.agents]),C=(0,a.useMemo)(()=>(0,u.ag)(t.skills,k),[t.skills,k]),A=(0,a.useMemo)(()=>t.skills.filter(e=>e.enabled).length,[t.skills]),z=(0,a.useMemo)(()=>t.skills.filter(e=>!e.enabled).length,[t.skills]),M=(0,a.useMemo)(()=>(0,u.IK)(t.skills).size,[t.skills]),T=(0,a.useMemo)(()=>C.filter(e=>"native"===e.kind).length,[C]),F=(0,a.useMemo)(()=>(0,u.Ri)(C,{query:i,source:d,status:m,capability:p}),[C,i,d,m,p]),D=(0,a.useMemo)(()=>(0,u.GU)(F),[F]),R=(0,a.useMemo)(()=>["research","coding","docs","ops","memory"].map(t=>({key:t,label:e.groupLabels[t]})),[e.groupLabels]),$=(0,a.useMemo)(()=>y?C.find(e=>e.name===y)??null:null,[y,C]),L=(0,a.useMemo)(()=>y?t.skills.find(e=>e.name===y)??null:null,[y,t.skills]),P=(0,a.useCallback)(async e=>{await (0,V.n)("/api/skills",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"delete",name:e})}),window.dispatchEvent(new Event("mindos:skills-changed")),await t.refresh()},[t]),I=async s=>{if(h)return;let r=(0,u.G9)(F,s);if(0===r.length)return void j(e.bulkNoChanges);f(!0),j(e.bulkRunning);let a=[];for(let e of r){let r=await t.toggleSkill(e,s);a.push({skillName:e,ok:r})}let n=(0,u.xR)(a);j(0===n.failed?e.bulkAllSucceeded(n.succeeded):e.bulkPartialFailed(n.succeeded,n.failed)),f(!1)};return(0,r.jsxs)("section",{className:"space-y-4 overflow-hidden","aria-label":e.title,children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,r.jsxs)("h2",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[(0,r.jsx)("div",{className:"w-6 h-6 rounded-md bg-[var(--amber-subtle)] flex items-center justify-center",children:(0,r.jsx)(g.A,{size:13,className:"text-[var(--amber)]","aria-hidden":"true"})}),e.title]}),(0,r.jsxs)("div",{className:"flex items-center gap-1 rounded-md border border-border p-0.5 bg-background",role:"tablist","aria-label":e.title,children:[(0,r.jsx)(S.KF,{active:"bySkill"===n,label:e.tabs.bySkill,onClick:()=>l("bySkill")}),(0,r.jsx)(S.KF,{active:"byAgent"===n,label:e.tabs.byAgent,onClick:()=>l("byAgent")})]})]}),(0,r.jsx)("div",{className:"rounded-xl border border-border/60 bg-gradient-to-r from-card to-card/80 p-3.5",children:(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-x-5 gap-y-2 text-xs",children:[(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-muted-foreground",children:[(0,r.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-[var(--success)]","aria-hidden":"true"}),e.summaryEnabled(A)]}),(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-muted-foreground",children:[(0,r.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-muted-foreground","aria-hidden":"true"}),e.summaryDisabled(z)]}),M>0&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-[var(--amber)]",children:[(0,r.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-[var(--amber)]","aria-hidden":"true"}),e.summaryAttention(M)]}),T>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"text-muted-foreground/40","aria-hidden":"true",children:"|"}),(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-muted-foreground",children:[(0,r.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-[var(--amber)]","aria-hidden":"true"}),e.summaryNative(T)]})]})]})}),(0,r.jsx)(S.DO,{value:i,onChange:o,placeholder:e.searchPlaceholder,ariaLabel:e.searchPlaceholder,icon:E.A}),"bySkill"===n?(0,r.jsx)(ei,{copy:e,filtered:F,grouped:D,allAgents:w,source:d,status:m,capability:p,capabilityOptions:R,bulkRunning:h,bulkMessage:v,onSourceChange:c,onStatusChange:x,onCapabilityChange:b,onBulkToggle:I,onToggleSkill:t.toggleSkill,onRefresh:t.refresh,onOpenDetail:N}):(0,r.jsx)(ea,{copy:e,agents:w,skills:t.skills,crossAgentSkills:k,query:i,onToggleSkill:t.toggleSkill,onOpenDetail:N}),(0,r.jsx)(es.A,{open:null!==y,skillName:y,skill:L,agentNames:$?.agents??[],isNative:$?.kind==="native",nativeSourcePath:$?.kind==="native"&&$.agents.length>0?t.agents.find(e=>e.name===$.agents[0])?.installedSkillSourcePath:void 0,copy:e.skillPopover,onClose:()=>N(null),onToggle:t.toggleSkill,onDelete:P,onRefresh:t.refresh,allAgentNames:t.agents.filter(e=>e.present&&e.installed).map(e=>e.name)})]})}function ei({copy:e,filtered:t,grouped:s,allAgents:n,source:l,status:i,capability:o,capabilityOptions:d,bulkRunning:c,bulkMessage:u,onSourceChange:m,onStatusChange:x,onCapabilityChange:g,onBulkToggle:p,onToggleSkill:b,onRefresh:h,onOpenDetail:f}){let[v,j]=(0,a.useState)(null),[y,N]=(0,a.useState)(null),[k,w]=(0,a.useState)(null),[C,A]=(0,a.useState)(null),[z,M]=(0,a.useState)(null),T=(0,a.useCallback)(()=>{j(null),A(e.manualSkillHint),setTimeout(()=>A(null),4e3)},[e.manualSkillHint]),F=(0,a.useCallback)(async t=>{N(null),M(t);try{await (0,V.n)("/api/skills",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"delete",name:t})}),A(e.skillDeleted),window.dispatchEvent(new Event("mindos:skills-changed")),await h()}catch{A(e.skillDeleteFailed)}finally{M(null),setTimeout(()=>A(null),3e3)}},[e.skillDeleted,e.skillDeleteFailed,h]),D=(0,a.useMemo)(()=>{let e=[];for(let[t,r]of Object.entries(s)){if(0===r.length)continue;let s=[...r].sort((e,t)=>e.kind!==t.kind?"mindos"===e.kind?-1:1:e.enabled!==t.enabled?e.enabled?-1:1:e.name.localeCompare(t.name));e.push([t,s])}return e},[s]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,r.jsxs)("div",{role:"group","aria-label":"Source",className:"flex items-center gap-0.5 rounded-md border border-border p-0.5 bg-background",children:[(0,r.jsx)(S.KF,{active:"all"===l,label:e.sourceAll,onClick:()=>m("all")}),(0,r.jsx)(S.KF,{active:"builtin"===l,label:e.sourceBuiltin,onClick:()=>m("builtin")}),(0,r.jsx)(S.KF,{active:"user"===l,label:e.sourceUser,onClick:()=>m("user")}),(0,r.jsx)(S.KF,{active:"native"===l,label:e.sourceNative,onClick:()=>m("native")})]}),(0,r.jsxs)("div",{role:"group","aria-label":"Status",className:"flex items-center gap-0.5 rounded-md border border-border p-0.5 bg-background",children:[(0,r.jsx)(S.KF,{active:"all"===i,label:e.statusAll,onClick:()=>x("all")}),(0,r.jsx)(S.KF,{active:"enabled"===i,label:e.statusEnabled,onClick:()=>x("enabled")}),(0,r.jsx)(S.KF,{active:"disabled"===i,label:e.statusDisabled,onClick:()=>x("disabled")}),(0,r.jsx)(S.KF,{active:"attention"===i,label:e.statusAttention,onClick:()=>x("attention")})]}),(0,r.jsxs)("div",{role:"group","aria-label":"Capability",className:"flex items-center gap-0.5 rounded-md border border-border p-0.5 bg-background",children:[(0,r.jsx)(S.KF,{active:"all"===o,label:e.capabilityAll,onClick:()=>g("all")}),d.map(e=>(0,r.jsx)(S.KF,{active:o===e.key,label:e.label,onClick:()=>g(e.key)},e.key))]})]}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,r.jsx)(S.rA,{onClick:()=>void p(!0),disabled:c,busy:c,label:e.bulkEnableFiltered}),(0,r.jsx)(S.rA,{onClick:()=>void p(!1),disabled:c,busy:!1,label:e.bulkDisableFiltered}),(0,r.jsx)("span",{className:"text-2xs text-muted-foreground tabular-nums",children:e.resultCount(t.length)}),(0,r.jsx)(S.Mv,{message:u})]}),C&&(0,r.jsx)("div",{role:"status","aria-live":"polite",className:"rounded-md border border-border bg-muted/50 px-3 py-2 text-xs text-muted-foreground animate-in fade-in duration-200",children:C}),0===D.length?(0,r.jsx)(S.pp,{message:e.noSkillsMatchFilter}):(0,r.jsx)(eo,{sortedGrouped:D,allAgents:n,copy:e,pickerSkill:k,deleteBusy:z,onOpenDetail:f,onToggleSkill:b,setPickerSkill:w,setHintMessage:A,setConfirmSkillDelete:N,setConfirmAgentRemove:j}),(0,r.jsx)(S.TM,{open:null!==v,title:e.confirmRemoveAgentTitle,message:v?e.confirmRemoveAgentMessage(v.agentName,v.skillName):"",confirmLabel:e.removeAgentFromSkill,cancelLabel:e.cancelSkillAction,onConfirm:T,onCancel:()=>j(null),variant:"destructive"}),(0,r.jsx)(S.TM,{open:null!==y,title:e.confirmDeleteSkillTitle,message:y?e.confirmDeleteSkillMessage(y):"",confirmLabel:e.skillDeleteAction,cancelLabel:e.cancelSkillAction,onConfirm:()=>y&&void F(y),onCancel:()=>N(null),variant:"destructive"})]})}function eo({sortedGrouped:e,allAgents:t,copy:s,pickerSkill:n,deleteBusy:l,onOpenDetail:i,onToggleSkill:o,setPickerSkill:d,setHintMessage:c,setConfirmSkillDelete:u,setConfirmAgentRemove:m}){let x=(0,a.useRef)(null),p=(0,a.useMemo)(()=>{let t=[];for(let[s,r]of e)t.push({type:"header",groupKey:s,count:r.length}),r.forEach((e,s)=>{t.push({type:"card",skill:e,isLast:s===r.length-1})});return t},[e]),b=(0,a.useCallback)((e,a)=>{if("header"===a.type)return(0,r.jsxs)("div",{className:"flex items-center gap-2 pt-3 pb-2.5",children:[(0,r.jsx)("span",{className:"w-1 h-4 rounded-full bg-[var(--amber)]/40","aria-hidden":"true"}),(0,r.jsx)("span",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:s.groupLabels[a.groupKey]}),(0,r.jsxs)("span",{className:"text-2xs tabular-nums text-muted-foreground/50 font-medium",children:["(",a.count,")"]})]});let{skill:x}=a,p=t.filter(e=>!x.agents.includes(e.name)).map(e=>({key:e.key,name:e.name})),b="mindos"===x.kind&&"user"===x.source;return(0,r.jsx)("div",{className:a.isLast?"pb-0":"pb-3",children:(0,r.jsxs)("div",{className:"rounded-xl border border-border bg-card p-4 hover:shadow-[0_2px_8px_rgba(0,0,0,0.04)] transition-all duration-200",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2 mb-2",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:[(0,r.jsx)(g.A,{size:14,className:`shrink-0 ${x.enabled?"text-[var(--amber)]":"text-muted-foreground/50"}`,"aria-hidden":"true"}),(0,r.jsx)("button",{type:"button",onClick:()=>i(x.name),className:"text-sm font-medium text-foreground truncate hover:text-[var(--amber)] cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded text-left",children:x.name}),(0,r.jsx)("span",{className:`text-2xs shrink-0 px-1.5 py-0.5 rounded ${"native"===x.kind||"builtin"===x.source?"bg-muted text-muted-foreground":"bg-[var(--amber-dim)] text-[var(--amber-text)]"}`,children:"native"===x.kind?s.sourceNative:"builtin"===x.source?s.sourceBuiltin:s.sourceUser})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1.5 shrink-0",children:[b&&(0,r.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),u(x.name)},disabled:l===x.name,className:"text-muted-foreground hover:text-destructive cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded p-1 disabled:opacity-50 transition-colors duration-150","aria-label":`${s.skillDeleteAction} ${x.name}`,children:(0,r.jsx)(R.A,{size:14})}),"mindos"===x.kind?(0,r.jsx)(et.lM,{size:"sm",checked:x.enabled,onChange:e=>void o(x.name,e)}):(0,r.jsx)("span",{className:"text-2xs text-muted-foreground/60 select-none","aria-label":"read-only",children:"—"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(S.ZC,{onClick:()=>d(n===x.name?null:x.name),label:s.addAgentToSkill,size:"sm"}),(0,r.jsx)(S.BK,{open:n===x.name,agents:p,emptyLabel:s.noAvailableAgentsForSkill,onSelect:()=>{d(null),c(s.manualSkillHint),setTimeout(()=>c(null),4e3)},onClose:()=>d(null)})]})]})]}),(0,r.jsx)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 text-2xs text-muted-foreground mb-3",children:(0,r.jsx)("span",{className:"tabular-nums",children:s.skillAgentCount(x.agents.length)})}),(0,r.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:x.agents.map(e=>(0,r.jsx)(S.lx,{name:e,onRemove:()=>m({agentName:e,skillName:x.name})},e))})]})})},[t,s,n,l,i,o,d,c,u,m]);return(0,r.jsx)(ee.aY,{ref:x,style:{height:"calc(100vh - 340px)",minHeight:200},data:p,itemContent:b,overscan:200,increaseViewportBy:{top:100,bottom:100}})}let ed=(0,p.A)("network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);var ec=s(73035),eu=s(84755);let em="mindos:acp-registry";function ex(){let e=(0,a.useRef)(function(){try{let e=sessionStorage.getItem(em);if(!e)return null;let t=JSON.parse(e);if(!Array.isArray(t.agents)||"number"!=typeof t.ts||Date.now()-t.ts>18e5)return null;return t}catch{return null}}()),[t,s]=(0,a.useState)(e.current?.agents??[]),[r,n]=(0,a.useState)(!e.current),[l,i]=(0,a.useState)(null),[o,d]=(0,a.useState)(0),c=(0,a.useRef)(!1),u=(0,a.useCallback)(()=>{d(e=>e+1)},[]);return(0,a.useEffect)(()=>{if(e.current&&Date.now()-e.current.ts<6e5&&0===o||c.current)return;c.current=!0;let r=t.length>0;r||n(!0),i(null);let a=!1;return fetch("/api/acp/registry").then(e=>{if(!e.ok)throw Error(`HTTP ${e.status}`);return e.json()}).then(t=>{if(a)return;let r=t.registry?.agents??[];try{sessionStorage.setItem(em,JSON.stringify({agents:r,ts:Date.now()}))}catch{}e.current={agents:r,ts:Date.now()},s(r)}).catch(e=>{!a&&(r||i(e.message))}).finally(()=>{c.current=!1,a||n(!1)}),()=>{a=!0,c.current=!1}},[o]),{agents:t,loading:r,error:l,retry:u}}var eg=s(66709),ep=s(33591),eb=s(32967),eh=s(96035),ef=s(9921),ev=s(1164),ej=s(9199),ey=s(94514),eN=s(55243),ek=s(2431),ew=s(27318);let eS=[{labelKey:"acpQuickReview",icon:ep.A,promptSuffix:"review the code in this project"},{labelKey:"acpQuickFix",icon:eb.A,promptSuffix:"find and fix bugs in this project"},{labelKey:"acpQuickExplain",icon:eh.A,promptSuffix:"explain the structure of this project"}];function eC(){return(0,r.jsx)("div",{className:"rounded-lg border border-border/30 bg-card/50 p-3 motion-safe:animate-pulse","aria-hidden":"true",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"w-8 h-8 rounded-lg bg-muted/60 shrink-0"}),(0,r.jsxs)("div",{className:"flex-1 space-y-1.5",children:[(0,r.jsx)("div",{className:"h-3.5 bg-muted/60 rounded w-28"}),(0,r.jsx)("div",{className:"h-2.5 bg-muted/40 rounded w-48"})]}),(0,r.jsx)("div",{className:"h-5 bg-muted/40 rounded w-10"})]})})}function eA(){let{t:e}=(0,l.Y)(),t=e.panels.agents,s=ex(),n=(0,ek.z)(),i=function(){let[e,t]=(0,a.useState)({}),[s,r]=(0,a.useState)(!0),[n,l]=(0,a.useState)(!1),[i,o]=(0,a.useState)(null),[d,c]=(0,a.useState)(0),u=(0,a.useCallback)(()=>c(e=>e+1),[]);return(0,a.useEffect)(()=>{let e=!1;return r(!0),o(null),fetch("/api/acp/config").then(e=>{if(!e.ok)throw Error(`HTTP ${e.status}`);return e.json()}).then(s=>{e||t(s.agents??{})}).catch(t=>{e||o(t.message)}).finally(()=>{e||r(!1)}),()=>{e=!0}},[d]),{configs:e,loading:s,saving:n,error:i,save:(0,a.useCallback)(async(e,s)=>{l(!0),o(null);try{let r=await fetch("/api/acp/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({agentId:e,config:s})});if(!r.ok)throw Error(`HTTP ${r.status}`);let a=await r.json();return t(a.agents??{}),!0}catch(e){return o(e.message),!1}finally{l(!1)}},[]),reset:(0,a.useCallback)(async e=>{l(!0),o(null);try{let s=await fetch("/api/acp/config",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({agentId:e})});if(!s.ok)throw Error(`HTTP ${s.status}`);let r=await s.json();return t(r.agents??{}),!0}catch(e){return o(e.message),!1}finally{l(!1)}},[]),refresh:u}}(),[o,d]=(0,a.useState)(!1);if(s.loading)return(0,r.jsxs)("div",{className:"space-y-2",role:"status","aria-label":t.acpLoading,children:[(0,r.jsxs)("h3",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide flex items-center gap-2",children:[(0,r.jsx)("div",{className:"flex items-center justify-center w-6 h-6 rounded-md bg-[var(--amber-subtle)] text-[var(--amber)]",children:(0,r.jsx)(ed,{size:13})}),t.acpSectionTitle]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(eC,{}),(0,r.jsx)(eC,{}),(0,r.jsx)(eC,{})]}),(0,r.jsx)("p",{className:"sr-only",children:t.acpLoading})]});if(s.error)return(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("h3",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide flex items-center gap-2",children:[(0,r.jsx)("div",{className:"flex items-center justify-center w-6 h-6 rounded-md bg-[var(--amber-subtle)] text-[var(--amber)]",children:(0,r.jsx)(ed,{size:13})}),t.acpSectionTitle]}),(0,r.jsxs)("div",{className:"rounded-lg border border-border/60 bg-card/80 p-4 text-center",role:"alert",children:[(0,r.jsx)("p",{className:"text-xs text-muted-foreground mb-2",children:t.acpLoadFailed}),(0,r.jsx)("button",{type:"button",onClick:s.retry,className:"text-xs font-medium text-foreground hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded-sm",children:t.acpRetry})]})]});if(0===s.agents.length)return null;let c=[],u=[];for(let e of s.agents){let t=n.installedAgents.find(t=>t.id===e.id);if(t)c.push({agent:e,info:t});else{let t=n.notInstalledAgents.find(t=>t.id===e.id);u.push({agent:e,installCmd:t?.installCmd??null,packageName:t?.packageName??e.packageName??null})}}return(0,r.jsxs)("section",{className:"space-y-3","aria-labelledby":"acp-section-title",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("h3",{id:"acp-section-title",className:"text-xs font-medium text-muted-foreground uppercase tracking-wide flex items-center gap-2",children:[(0,r.jsx)("div",{className:"flex items-center justify-center w-6 h-6 rounded-md bg-[var(--amber-subtle)] text-[var(--amber)]",children:(0,r.jsx)(ed,{size:13})}),t.acpSectionTitle]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>n.refresh(),disabled:n.loading,"aria-label":t.acpScan,className:"inline-flex items-center gap-1 px-2 py-1 text-2xs font-medium rounded-md border border-border text-muted-foreground hover:text-foreground hover:bg-muted transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50",children:[(0,r.jsx)(Y.A,{size:10,className:n.loading?"motion-safe:animate-spin":""}),t.acpScan]}),c.length>0&&(0,r.jsx)("span",{className:"text-2xs text-muted-foreground/50",children:t.acpSectionDesc(c.length)})]})]}),n.loading?(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(eC,{}),(0,r.jsx)(eC,{})]}):c.length>0?(0,r.jsx)("ul",{role:"list",className:"space-y-2",children:c.map(({agent:e,info:t})=>(0,r.jsx)("li",{children:(0,r.jsx)(eM,{agent:e,installed:t,detectionDone:!n.loading,acpConfig:i})},e.id))}):(0,r.jsx)("div",{className:"rounded-lg border border-border/40 bg-card/30 p-4 text-center",children:(0,r.jsx)("p",{className:"text-xs text-muted-foreground/60 leading-relaxed max-w-xs mx-auto",children:t.acpNoInstalled})}),!n.loading&&u.length>0&&(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>d(e=>!e),"aria-expanded":o,className:"flex items-center gap-1.5 text-xs text-muted-foreground/60 hover:text-muted-foreground transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded-sm",children:[o?(0,r.jsx)(ef.A,{size:12}):(0,r.jsx)(j.A,{size:12}),(0,r.jsx)("span",{className:"font-medium",children:t.acpAvailableTitle}),(0,r.jsxs)("span",{className:"text-2xs",children:["(",t.acpAvailableDesc(u.length),")"]})]}),o&&(0,r.jsx)("ul",{role:"list",className:"space-y-1 motion-safe:animate-in motion-safe:fade-in motion-safe:slide-in-from-top-1 duration-150",children:u.map(({agent:e,installCmd:t,packageName:s})=>(0,r.jsx)("li",{children:(0,r.jsx)(eT,{agent:e,installCmd:t,packageName:s,detectionDone:!n.loading,onInstalled:n.refresh})},e.id))})]})]})}let ez={npx:"bg-muted text-muted-foreground",binary:"bg-muted text-muted-foreground",uvx:"bg-muted text-muted-foreground",stdio:"bg-muted text-muted-foreground"};function eM({agent:e,installed:t,detectionDone:s,acpConfig:n}){let{t:i}=(0,l.Y)(),o=i.panels.agents,[d,c]=(0,a.useState)(!1),[u,m]=(0,a.useState)(""),[x,p]=(0,a.useState)(""),[b,h]=(0,a.useState)("idle"),f={npx:o.acpTransportNpx,binary:o.acpTransportBinary,uvx:o.acpTransportUvx,stdio:o.acpTransportStdio},v=!!t,j=t?.resolvedCommand,y=j?.source==="user-override"?o.acpConfigSourceUser:j?.source==="descriptor"?o.acpConfigSourceBuiltin:o.acpConfigSourceRegistry,N=(0,a.useCallback)(()=>{!d&&j&&(m(j.cmd),p(j.args.join(" "))),c(e=>!e),h("idle")},[d,j]),k=(0,a.useCallback)(async()=>{let t=x.trim()?x.trim().split(/\s+/):[];await n.save(e.id,{command:u.trim()||void 0,args:t.length>0?t:void 0})&&(h("saved"),setTimeout(()=>h("idle"),3e3))},[n,e.id,u,x]),w=(0,a.useCallback)(async()=>{await n.reset(e.id),h("idle"),c(!1)},[n,e.id]);return(0,r.jsxs)("div",{className:"rounded-lg border border-[var(--amber)]/20 bg-card shadow-sm hover:border-[var(--amber)]/40 transition-colors duration-150 p-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"w-8 h-8 rounded-lg bg-[var(--amber)]/10 flex items-center justify-center shrink-0",children:(0,r.jsx)(ed,{size:14,className:"text-[var(--amber)]"})}),(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,r.jsx)("p",{className:"text-base font-semibold text-foreground truncate leading-tight",children:e.name}),e.version&&(0,r.jsxs)("span",{className:"text-2xs text-muted-foreground/40 shrink-0",children:["v",e.version]})]}),e.description&&(0,r.jsx)("p",{className:"text-2xs text-muted-foreground/50 truncate mt-0.5",children:e.description})]}),(0,r.jsx)("span",{className:`text-2xs px-1.5 py-0.5 rounded shrink-0 ${ez[e.transport]??ez.stdio}`,children:f[e.transport]??e.transport}),s&&(0,r.jsx)("span",{className:"text-2xs px-1.5 py-0.5 rounded font-medium shrink-0 bg-[var(--success)]/15 text-[var(--success)]",children:o.acpReady}),(0,r.jsx)("button",{type:"button",onClick:N,"aria-label":o.acpConfigToggle,"aria-expanded":d,className:"p-1.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:(0,r.jsx)(ev.A,{size:14})}),(0,r.jsxs)("button",{type:"button",onClick:()=>{(0,ew.NH)("","user",{id:e.id,name:e.name})},className:"inline-flex items-center gap-1 px-2.5 py-1 text-2xs font-medium rounded-md border border-[var(--amber)] text-[var(--amber)] hover:bg-[var(--amber)]/10 transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring cursor-pointer",children:[(0,r.jsx)(g.A,{size:10}),o.acpUseAgent]})]}),d&&j&&(0,r.jsxs)("div",{className:"mt-3 pt-3 border-t border-border/40 space-y-3 bg-muted/10 -mx-4 px-4 pb-4 rounded-b-lg",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("label",{className:"text-2xs text-muted-foreground w-12 shrink-0",children:o.acpConfigCommand}),(0,r.jsx)("input",{type:"text",value:u,onChange:e=>{m(e.target.value),h("idle")},className:"flex-1 rounded-md border border-border bg-background text-foreground text-xs font-mono px-2.5 py-1.5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",placeholder:j.cmd})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("label",{className:"text-2xs text-muted-foreground w-12 shrink-0",children:o.acpConfigArgs}),(0,r.jsx)("input",{type:"text",value:x,onChange:e=>{p(e.target.value),h("idle")},className:"flex-1 rounded-md border border-border bg-background text-foreground text-xs font-mono px-2.5 py-1.5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",placeholder:j.args.join(" ")})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 text-2xs text-muted-foreground/60",children:[(0,r.jsxs)("span",{children:[o.acpConfigSource,":"]}),(0,r.jsx)("span",{className:`px-1.5 py-0.5 rounded ${"user-override"===j.source?"bg-[var(--amber)]/15 text-[var(--amber)]":"bg-muted text-muted-foreground"}`,children:y}),(0,r.jsx)("span",{className:"text-muted-foreground/30",children:"|"}),(0,r.jsxs)("span",{children:[o.acpConfigPath,": ",(0,r.jsx)("span",{className:"font-mono",children:t?.binaryPath})]})]}),(0,r.jsxs)("div",{className:"flex items-center justify-end gap-2 pt-1",children:[n.configs[e.id]&&(0,r.jsxs)("button",{type:"button",onClick:w,className:"inline-flex items-center gap-1 px-2 py-1 text-2xs font-medium rounded-md border border-border text-muted-foreground hover:text-foreground hover:bg-muted transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[(0,r.jsx)(ej.A,{size:10}),o.acpConfigReset]}),(0,r.jsx)("button",{type:"button",onClick:k,disabled:n.saving,className:"inline-flex items-center gap-1 px-2.5 py-1 text-2xs font-medium rounded-md bg-[var(--amber)] text-[var(--amber-foreground)] hover:bg-[var(--amber)]/90 transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50",children:"saved"===b?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ey.A,{size:10})," ",o.acpConfigSaved]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eN.A,{size:10})," ",o.acpConfigSave]})})]})]}),v&&!d&&(0,r.jsx)("div",{className:"mt-3 pt-2.5 border-t border-border/30 flex items-center gap-1.5 flex-wrap",children:eS.map(t=>{let s=t.icon;return(0,r.jsxs)("button",{type:"button",onClick:()=>{(0,ew.NH)(t.promptSuffix,"user",{id:e.id,name:e.name})},className:"inline-flex items-center gap-1 px-2 py-0.5 text-2xs font-medium rounded-md bg-muted/60 text-muted-foreground hover:bg-muted hover:text-foreground border border-transparent hover:border-border/50 transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[(0,r.jsx)(s,{size:10}),o[t.labelKey]]},t.labelKey)})})]})}function eT({agent:e,installCmd:t}){let{t:s}=(0,l.Y)(),n=s.panels.agents,[i,o]=(0,a.useState)(!1),d=t||(e.packageName?`npm install -g ${e.packageName}`:null),c=(0,a.useCallback)(()=>{d&&navigator.clipboard.writeText(d).then(()=>{o(!0),setTimeout(()=>o(!1),3e3)}).catch(()=>{})},[d]);return(0,r.jsx)("div",{className:"group rounded-md border border-border/40 bg-card/40 px-3 py-2 hover:border-border/60 transition-colors duration-150",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"w-6 h-6 rounded-md bg-muted/30 flex items-center justify-center shrink-0",children:(0,r.jsx)(ed,{size:11,className:"text-muted-foreground/40"})}),(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsx)("p",{className:"text-xs text-muted-foreground truncate",children:e.name}),e.description&&(0,r.jsx)("p",{className:"text-2xs text-muted-foreground/40 truncate",children:e.description})]}),d&&(0,r.jsx)("button",{type:"button",onClick:c,"aria-label":`${n.acpCopyCmd}: ${d}`,className:"inline-flex items-center gap-1 px-2 py-0.5 text-2xs font-medium rounded-md border border-border text-muted-foreground hover:text-foreground hover:bg-muted transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring shrink-0",title:d,children:i?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ey.A,{size:10})," ",n.acpCopied]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ep.A,{size:10})," ",n.acpCopyCmd]})})]})})}function eF({agents:e,discovering:t,error:s,onDiscover:n,onRemove:i}){let{t:o}=(0,l.Y)(),d=o.panels.agents,[c,u]=(0,a.useState)(!1),{delegations:m}=function(e){let[t,s]=(0,a.useState)([]),[r,n]=(0,a.useState)(!1),l=(0,a.useRef)(!0),i=(0,a.useCallback)(async()=>{n(!0);try{let e=await fetch("/api/a2a/delegations");if(!e.ok)return;let t=await e.json();l.current&&s(t.delegations??[])}catch{}finally{l.current&&n(!1)}},[]);return(0,a.useEffect)(()=>(l.current=!0,()=>{l.current=!1}),[]),(0,a.useEffect)(()=>{if(!e)return;i();let t=setInterval(i,5e3);return()=>clearInterval(t)},[e,i]),{delegations:t,loading:r,refresh:i}}(!0),x=ex(),g=0===e.length&&!x.loading&&0===x.agents.length;return(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-foreground flex items-center gap-2",children:[(0,r.jsx)("div",{className:"flex items-center justify-center w-6 h-6 rounded-md bg-[var(--amber-subtle)] text-[var(--amber)]",children:(0,r.jsx)(f.A,{size:13})}),d.a2aTabTitle]}),(0,r.jsxs)("button",{type:"button",onClick:()=>u(!0),className:"inline-flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-lg bg-foreground text-background hover:bg-foreground/90 transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[(0,r.jsx)(f.A,{size:12}),d.a2aDiscover]})]}),g?(0,r.jsx)(eD,{onDiscover:()=>u(!0),onBrowseRegistry:x.retry}):(0,r.jsxs)(r.Fragment,{children:[0===e.length?(0,r.jsxs)("div",{className:"rounded-lg border border-border/40 bg-card/30 p-8 text-center",children:[(0,r.jsx)("div",{className:"w-12 h-12 rounded-xl bg-muted/40 flex items-center justify-center mx-auto mb-3",children:(0,r.jsx)(f.A,{size:20,className:"text-muted-foreground/50","aria-hidden":"true"})}),(0,r.jsx)("p",{className:"text-sm font-medium text-muted-foreground mb-1",children:d.a2aTabEmpty}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground/60 leading-relaxed max-w-xs mx-auto",children:d.a2aTabEmptyHint})]}):(0,r.jsx)("ul",{role:"list",className:"space-y-2",children:e.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(eL,{agent:e,onRemove:i,removeCopy:d.a2aRemoveAgent,skillsCopy:d.a2aSkills})},e.id))}),(0,r.jsx)(eA,{}),(0,r.jsx)(eR,{delegations:m})]}),(0,r.jsx)(eg.A,{open:c,onClose:()=>u(!1),onDiscover:n,discovering:t,error:s})]})}function eD({onDiscover:e,onBrowseRegistry:t}){let{t:s}=(0,l.Y)(),a=s.panels.agents;return(0,r.jsxs)("div",{className:"rounded-lg border border-border/40 bg-card/30 p-10 text-center",children:[(0,r.jsx)("div",{className:"w-14 h-14 rounded-xl bg-muted/40 flex items-center justify-center mx-auto mb-4",children:(0,r.jsx)(ed,{size:22,className:"text-muted-foreground/50","aria-hidden":"true"})}),(0,r.jsx)("p",{className:"text-base font-semibold text-foreground mb-1",children:a.networkEmptyTitle}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground/60 leading-relaxed max-w-sm mx-auto mb-6",children:a.networkEmptyDesc}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-3",children:[(0,r.jsxs)("button",{type:"button",onClick:e,className:"inline-flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-lg bg-foreground text-background hover:bg-foreground/90 transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[(0,r.jsx)(f.A,{size:12}),a.networkDiscoverBtn]}),(0,r.jsxs)("button",{type:"button",onClick:t,className:"inline-flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-lg border border-border text-foreground hover:bg-muted transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[(0,r.jsx)(ed,{size:12}),a.networkBrowseBtn]})]})]})}function eR({delegations:e}){let{t}=(0,l.Y)(),s=t.panels.agents;return(0,r.jsxs)("section",{className:"space-y-2","aria-labelledby":"delegation-section-title",children:[(0,r.jsxs)("h3",{id:"delegation-section-title",className:"text-xs font-medium text-muted-foreground uppercase tracking-wide flex items-center gap-2",children:[(0,r.jsx)("div",{className:"flex items-center justify-center w-6 h-6 rounded-md bg-[var(--amber-subtle)] text-[var(--amber)]",children:(0,r.jsx)(T.A,{size:13})}),s.a2aDelegations]}),0===e.length?(0,r.jsx)("p",{className:"text-xs text-muted-foreground/50 py-3",children:s.a2aDelegationsEmpty}):(0,r.jsx)("ul",{role:"list",className:"space-y-1.5",children:e.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(e$,{record:e})},e.id))})]})}let eE={pending:"bg-muted text-muted-foreground",completed:"bg-[var(--success)]/15 text-[var(--success)]",failed:"bg-[var(--error)]/15 text-[var(--error)]"};function e$({record:e}){let{t}=(0,l.Y)(),s=t.panels.agents,a={pending:s.a2aDelegationPending,completed:s.a2aDelegationCompleted,failed:s.a2aDelegationFailed},n=e.completedAt?function(e,t){let s=t.getTime()-e.getTime();if(s<1e3)return`${s}ms`;let r=Math.round(s/1e3);if(r<60)return`${r}s`;let a=Math.floor(r/60),n=r%60;return n>0?`${a}m ${n}s`:`${a}m`}(new Date(e.startedAt),new Date(e.completedAt)):null;return(0,r.jsxs)("div",{className:"rounded-lg border border-border/40 bg-card/60 px-3 py-2.5 flex items-center gap-2",children:[(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsx)("p",{className:"text-xs font-medium text-foreground truncate",children:e.agentName}),(0,r.jsx)("p",{className:"text-2xs text-muted-foreground/50 truncate",title:e.message,children:e.message.length>60?e.message.slice(0,60)+"...":e.message})]}),(0,r.jsx)("span",{className:`text-2xs px-1.5 py-0.5 rounded font-medium shrink-0 ${eE[e.status]}`,children:a[e.status]}),n&&(0,r.jsxs)("span",{className:"text-2xs text-muted-foreground/40 shrink-0 flex items-center gap-0.5",children:[(0,r.jsx)(T.A,{size:10,"aria-hidden":"true"}),n]})]})}function eL({agent:e,onRemove:t,removeCopy:s,skillsCopy:a}){let n=e.reachable?ec.A:eu.A,l=e.reachable?"text-[var(--success)]":"text-muted-foreground/50";return(0,r.jsxs)("div",{className:"group rounded-lg border border-border bg-card p-4 hover:border-[var(--amber)]/30 transition-colors duration-150",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"w-8 h-8 rounded-lg bg-muted/50 flex items-center justify-center shrink-0",children:(0,r.jsx)(f.A,{size:14,className:"text-muted-foreground"})}),(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsx)("p",{className:"text-base font-semibold text-foreground truncate leading-tight",children:e.card.name}),(0,r.jsx)("p",{className:"text-2xs text-muted-foreground/50 truncate mt-0.5",children:e.card.description})]}),(0,r.jsx)(n,{size:13,className:l,"aria-hidden":"true"}),(0,r.jsx)("button",{type:"button",onClick:()=>t(e.id),className:"p-1.5 rounded-md text-muted-foreground/50 hover:text-[var(--error)] hover:bg-[var(--error)]/10 transition-colors duration-150 opacity-0 group-hover:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:opacity-100","aria-label":s,title:s,children:(0,r.jsx)(R.A,{size:12})})]}),e.card.skills.length>0&&(0,r.jsxs)("div",{className:"mt-3 pt-2.5 border-t border-border/30 flex items-center gap-1.5",children:[(0,r.jsx)(g.A,{size:11,className:"text-muted-foreground/40 shrink-0","aria-hidden":"true"}),(0,r.jsxs)("span",{className:"text-2xs text-muted-foreground/60",children:[a,": ",e.card.skills.length]}),(0,r.jsxs)("div",{className:"flex flex-wrap gap-1 ml-1",children:[e.card.skills.slice(0,3).map(e=>(0,r.jsx)("span",{className:"text-2xs px-1.5 py-0.5 rounded bg-muted/60 text-muted-foreground border border-border/30",title:e.description,children:e.name},e.id)),e.card.skills.length>3&&(0,r.jsxs)("span",{className:"text-2xs text-muted-foreground/40",children:["+",e.card.skills.length-3]})]})]})]})}var eP=s(50538);function eI(){let[e,t]=(0,a.useState)([]),[s,n]=(0,a.useState)(!0),[l,i]=(0,a.useState)(null),o=(0,a.useCallback)(async()=>{try{n(!0);let e=await fetch("/api/acp/session");if(!e.ok)throw Error(`Failed to fetch sessions: ${e.status}`);let s=await e.json();t(s.sessions??[]),i(null)}catch(e){i(e.message)}finally{n(!1)}},[]);(0,a.useEffect)(()=>{o();let e=()=>{"visible"===document.visibilityState&&o()};return document.addEventListener("visibilitychange",e),()=>{document.removeEventListener("visibilitychange",e)}},[o]);let d=(0,a.useCallback)(async e=>{try{await fetch("/api/acp/session",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:e})}),t(t=>t.filter(t=>t.id!==e))}catch(e){console.error("Failed to close session:",e)}},[]);return s?(0,r.jsx)("div",{className:"space-y-3 animate-pulse",children:Array.from({length:3}).map((e,t)=>(0,r.jsx)("div",{className:"rounded-lg border border-border bg-card p-4",children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"w-8 h-8 rounded-full bg-muted"}),(0,r.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,r.jsx)("div",{className:"h-4 w-32 bg-muted rounded"}),(0,r.jsx)("div",{className:"h-3 w-48 bg-muted rounded"})]})]})},t))}):l?(0,r.jsxs)("div",{className:"rounded-lg border border-border bg-card p-6 text-center",children:[(0,r.jsx)("p",{className:"text-sm text-muted-foreground mb-3",children:l}),(0,r.jsx)("button",{onClick:o,className:"text-sm text-[var(--amber)] hover:underline",children:"Retry"})]}):0===e.length?(0,r.jsxs)("div",{className:"rounded-lg border border-border bg-card p-8 text-center",children:[(0,r.jsx)(eP.A,{size:32,className:"mx-auto mb-3 text-muted-foreground/40"}),(0,r.jsx)("p",{className:"text-sm font-medium text-foreground mb-1",children:"No active sessions"}),(0,r.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Sessions appear here when you chat with ACP agents.",(0,r.jsx)("br",{}),"Select an agent from the Network tab and send a message to start."]})]}):(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,r.jsxs)("p",{className:"text-xs text-muted-foreground font-medium uppercase tracking-wider",children:["Active Sessions (",e.length,")"]}),(0,r.jsx)("button",{onClick:o,className:"text-xs text-muted-foreground hover:text-foreground transition-colors",children:"Refresh"})]}),e.map(e=>{var t;let s;return(0,r.jsx)("div",{className:"group rounded-lg border border-border bg-card hover:border-[var(--amber)]/30 transition-colors p-3.5",children:(0,r.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,r.jsx)("span",{className:`inline-block w-2 h-2 rounded-full ${"active"===e.state?"bg-[var(--success)]":"error"===e.state?"bg-[var(--error)]":"bg-muted-foreground/40"}`}),(0,r.jsx)("span",{className:"text-sm font-medium text-foreground truncate",children:e.agentId}),(0,r.jsx)("span",{className:"text-2xs text-muted-foreground/60 px-1.5 py-0.5 rounded bg-muted/40",children:e.state})]}),e.cwd&&(0,r.jsx)("p",{className:"text-xs text-muted-foreground truncate font-mono",children:e.cwd}),(0,r.jsx)("p",{className:"text-2xs text-muted-foreground/60 mt-1",children:(t=e.lastActivityAt,(s=Date.now()-new Date(t).getTime())<6e4?"just now":s<36e5?`${Math.floor(s/6e4)}m ago`:s<864e5?`${Math.floor(s/36e5)}h ago`:`${Math.floor(s/864e5)}d ago`)})]}),(0,r.jsx)("div",{className:"flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:(0,r.jsx)("button",{onClick:()=>d(e.id),className:"p-1.5 rounded-md hover:bg-muted/60 text-muted-foreground hover:text-[var(--error)] transition-colors",title:"Close session",children:(0,r.jsx)(R.A,{size:14})})})]})},e.id)})]})}var eO=s(73321);function eX({op:e,copy:t}){let s=(0,eO.useRouter)(),{locale:n}=(0,l.Y)(),[i,o]=(0,a.useState)(!1),d=L(e.tool);I[d];let c=_(e.params);return(0,r.jsxs)("div",{style:{background:"var(--card)",border:"1px solid var(--border)",borderRadius:10,overflow:"hidden",marginBottom:8},children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10,padding:"10px 14px",cursor:"pointer",userSelect:"none"},onClick:()=>o(e=>!e),children:[(0,r.jsx)(B,{kind:d,locale:n}),c&&(0,r.jsx)("span",{style:{fontSize:"0.72rem",color:"var(--amber)",flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",cursor:"pointer"},onClick:e=>{e.stopPropagation(),s.push("/view/"+c.split("/").map(encodeURIComponent).join("/"))},title:c,className:"font-display",children:c}),(0,r.jsxs)("div",{style:{marginLeft:"auto",display:"flex",alignItems:"center",gap:8,flexShrink:0},children:[e.agentName&&(0,r.jsx)("span",{className:"font-display",style:{fontSize:"0.62rem",fontWeight:500,padding:"1px 6px",borderRadius:999,background:"var(--muted)",color:"var(--muted-foreground)",whiteSpace:"nowrap",maxWidth:120,overflow:"hidden",textOverflow:"ellipsis"},title:e.agentName,children:e.agentName.length>30?e.agentName.slice(0,30)+"...":e.agentName}),"ok"===e.result?(0,r.jsx)(z.A,{size:13,style:{color:"var(--success)"}}):(0,r.jsx)(M.A,{size:13,style:{color:"var(--error)"}}),(0,r.jsx)("span",{className:"font-display",style:{fontSize:"0.68rem",color:"var(--muted-foreground)",opacity:.6},title:X(e.ts),children:K(e.ts)}),(0,r.jsx)(j.A,{size:12,style:{color:"var(--muted-foreground)",transform:i?"rotate(180deg)":"none",transition:"transform .15s"}})]})]}),i&&(0,r.jsxs)("div",{style:{borderTop:"1px solid var(--border)",padding:"10px 14px",background:"var(--background)"},children:[(0,r.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:4,marginBottom:8*!!e.message},children:Object.entries(e.params).map(([e,t])=>(0,r.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"flex-start"},children:[(0,r.jsx)("span",{className:"font-display",style:{fontSize:"0.68rem",color:"var(--muted-foreground)",opacity:.7,flexShrink:0,minWidth:80},children:e}),(0,r.jsx)("span",{className:"font-display",style:{fontSize:"0.72rem",color:"var(--foreground)",wordBreak:"break-all",lineHeight:1.5},children:function(e,t=120){let s="string"==typeof e?e:JSON.stringify(e);return s.length>t?s.slice(0,t)+"…":s}(t)})]},e))}),e.message&&(0,r.jsx)("div",{className:"font-display",style:{marginTop:6,padding:"5px 9px",borderRadius:5,fontSize:"0.72rem",background:"error"===e.result?"rgba(200,80,80,0.08)":"rgba(122,173,128,0.08)",color:"error"===e.result?"var(--error)":"var(--success)",border:`1px solid ${"error"===e.result?"rgba(200,80,80,0.2)":"rgba(122,173,128,0.2)"}`},children:e.message}),e.agentName&&(0,r.jsxs)("div",{className:"font-display",style:{marginTop:6,fontSize:"0.68rem",color:"var(--muted-foreground)"},children:[t?.agentLabel??"Agent",": ",(0,r.jsx)("span",{style:{color:"var(--foreground)",fontWeight:500},children:e.agentName})]}),(0,r.jsx)("div",{className:"font-display",style:{marginTop:6,fontSize:"0.65rem",color:"var(--muted-foreground)",opacity:.5},children:X(e.ts)})]})]})}let eK=["all","write","create","delete","read","search"];function e_(){let{t:e,locale:t}=(0,l.Y)(),[s,n]=(0,a.useState)([]),[i,o]=(0,a.useState)(!0),[d,c]=(0,a.useState)("all");(0,a.useEffect)(()=>{let e=!1,t=()=>{fetch("/api/agent-activity?limit=200").then(e=>e.json()).then(t=>{e||n(t.events??[])}).catch(()=>{}).finally(()=>{e||o(!1)})};t();let s=()=>{"visible"===document.visibilityState&&t()};return document.addEventListener("visibilitychange",s),()=>{e=!0,document.removeEventListener("visibilitychange",s)}},[]);let u=(0,a.useMemo)(()=>"all"===d?s:s.filter(e=>L(e.tool)===d),[s,d]),m=(0,a.useMemo)(()=>{let e={all:s.length};for(let t of s){let s=L(t.tool);e[s]=(e[s]??0)+1}return e},[s]),x=e.agentsContent?.activity;return i?(0,r.jsx)("div",{className:"flex items-center justify-center py-16 text-muted-foreground/50",children:(0,r.jsx)("div",{className:"animate-pulse text-sm font-display",children:x?.loading??"Loading activity..."})}):0===s.length?(0,r.jsxs)("div",{className:"font-display",style:{padding:"3rem 1rem",textAlign:"center",color:"var(--muted-foreground)",fontSize:12},children:[(0,r.jsx)($.A,{size:28,style:{margin:"0 auto 10px",opacity:.3}}),(0,r.jsx)("p",{children:x?.empty??"No agent operations logged yet."}),(0,r.jsx)("p",{style:{marginTop:6,opacity:.6,fontSize:11},children:x?.emptyHint??"Operations from connected agents will appear here."})]}):(0,r.jsxs)("div",{style:{maxWidth:760,margin:"0 auto",padding:"1.5rem 1rem"},children:[(0,r.jsx)("div",{style:{display:"flex",alignItems:"center",gap:6,marginBottom:"1.2rem",flexWrap:"wrap"},children:eK.map(e=>{let s=m[e]??0;if("all"!==e&&!s)return null;let a="all"!==e?I[e]:void 0,n=d===e;return(0,r.jsxs)("button",{onClick:()=>c(e),className:"font-display",style:{display:"inline-flex",alignItems:"center",gap:4,padding:"3px 10px",borderRadius:999,fontSize:"0.7rem",cursor:"pointer",border:"none",background:n?a?.bg??"var(--accent)":"var(--muted)",color:n?a?.text??"var(--foreground)":"var(--muted-foreground)",outline:n?`1px solid ${a?.border??"var(--border)"}`:"none",transition:"all .1s"},children:["all"!==e&&(0,r.jsx)(O,{kind:e,size:10}),"all"===e?t?.startsWith("zh")?"全部":"All":P[t?.startsWith("zh")?"zh":"en"][e]," ",(0,r.jsxs)("span",{style:{opacity:.6},children:["(",s,")"]})]},e)})}),(0,r.jsx)("div",{children:u.map((e,t)=>(0,r.jsx)(eX,{op:e,copy:x},e.id??t))})]})}var eB=s(6296),eH=s(16950),eU=s(12413),eW=s(80723),eJ=s(15411),eq=s(7915),eY=s(62791),eV=s(56204),eG=s(22164);function eQ({platformId:e}){let{t}=(0,l.Y)(),s=t.panels.im,n=(0,eU.u)(e),[i,o]=(0,a.useState)(null),[d,c]=(0,a.useState)(!0),[u,m]=(0,a.useState)(!1),[g,p]=(0,a.useState)({}),[b,h]=(0,a.useState)(!1),[f,j]=(0,a.useState)(!1),[y,N]=(0,a.useState)(null),[k,w]=(0,a.useState)(""),[S,C]=(0,a.useState)("Hello from MindOS"),[A,T]=(0,a.useState)("idle"),[F,D]=(0,a.useState)(""),[E,$]=(0,a.useState)(!1),[L,P]=(0,a.useState)(!1),I=(0,a.useCallback)(async()=>{m(!1);try{let t=await fetch("/api/im/status");if(!t.ok){m(!0),c(!1);return}let s=(await t.json()).platforms??[];o(s.find(t=>t.platform===e)??null)}catch{m(!0)}c(!1)},[e]);if((0,a.useEffect)(()=>{I()},[I]),!n)return(0,r.jsxs)("div",{className:"text-center py-16",children:[(0,r.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Unknown platform: ",e]}),(0,r.jsxs)(x(),{href:"/agents?tab=channels",className:"text-xs text-[var(--amber)] hover:underline mt-2 inline-block",children:["← ",s.backToChannels]})]});let O=i?.connected??!1,X=async()=>{j(!0),N(null);try{let t=await fetch("/api/im/config",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({platform:e,credentials:g})}),r=await t.json();r.ok?(N({ok:!0,msg:s.saved}),p({}),await I()):N({ok:!1,msg:r.error||"Failed"})}catch(e){N({ok:!1,msg:e instanceof Error?e.message:"Network error"})}j(!1)},K=async()=>{if(k.trim()&&S.trim()){T("sending"),D("");try{let t=await fetch("/api/im/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({platform:e,recipient_id:k,message:S})}),r=await t.json();r.ok?(T("success"),D(r.messageId?`Sent (ID: ${r.messageId})`:s.sentOk)):(T("error"),D(r.error||"Failed"))}catch(e){T("error"),D(e instanceof Error?e.message:"Network error")}}},_=async()=>{if(!L)return void P(!0);$(!0),P(!1);try{(await fetch(`/api/im/config?platform=${e}`,{method:"DELETE"})).ok&&await I()}catch{}$(!1)},B=n.fields.every(e=>g[e.key]?.trim());return d?(0,r.jsx)("div",{className:"flex justify-center py-16",children:(0,r.jsx)(eB.A,{size:20,className:"animate-spin text-muted-foreground"})}):u?(0,r.jsxs)("div",{className:"text-center py-16",children:[(0,r.jsx)(M.A,{size:24,className:"mx-auto mb-3 text-muted-foreground"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground mb-3",children:s.fetchError}),(0,r.jsxs)("button",{type:"button",onClick:()=>{c(!0),I()},className:"inline-flex items-center gap-1.5 px-3 py-1.5 text-xs rounded-md border border-border text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",children:[(0,r.jsx)(Y.A,{size:12})," ",s.retry]})]}):(0,r.jsxs)("div",{className:"max-w-2xl",children:[(0,r.jsxs)(x(),{href:"/agents?tab=channels",className:"inline-flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors mb-6",children:[(0,r.jsx)(eW.A,{size:14}),s.backToChannels]}),(0,r.jsxs)("div",{className:"flex items-start gap-3 mb-6",children:[(0,r.jsx)("span",{className:"text-3xl shrink-0",children:n.icon}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:n.name}),O?(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 mt-1 text-xs font-medium px-2 py-0.5 rounded-md bg-success/10 text-success",children:[(0,r.jsx)(z.A,{size:14})," ",s.statusConnected]}):(0,r.jsx)("span",{className:"inline-flex items-center gap-1.5 mt-1 text-xs font-medium px-2 py-0.5 rounded-md bg-muted text-muted-foreground",children:s.notConfigured})]})]}),O?(0,r.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,r.jsxs)("div",{className:"rounded-lg border border-border bg-muted/30 p-4 shadow-sm",children:[(0,r.jsx)("h3",{className:"text-sm font-medium text-foreground mb-3",children:s.tabStatus}),i?.botName&&(0,r.jsxs)("div",{className:"flex items-center gap-2 mb-3",children:[(0,r.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:"Bot"}),(0,r.jsx)("span",{className:"text-sm text-foreground font-mono",children:i.botName})]}),i?.capabilities&&i.capabilities.length>0&&(0,r.jsx)("div",{className:"flex flex-wrap gap-1.5",children:i.capabilities.map(e=>(0,r.jsx)("span",{className:"text-xs px-2 py-1 rounded-md bg-muted text-muted-foreground",children:e},e))})]}),(0,r.jsxs)("div",{className:"rounded-lg border border-border bg-card p-4 shadow-sm",children:[(0,r.jsx)("h3",{className:"text-sm font-medium text-foreground mb-2",children:s.editCredentials}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground leading-6 mb-4 max-w-prose",children:n.editHint||s.editCredentialsHint}),O&&(0,r.jsx)("p",{className:"text-xs text-muted-foreground/80 leading-5 mb-4 max-w-prose",children:s.savedValuesHint}),(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[n.fields.map(e=>(0,r.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,r.jsxs)("label",{className:"text-xs font-medium text-muted-foreground",children:[e.label,(0,r.jsxs)("span",{className:"text-muted-foreground/50 font-normal",children:[" (",s.required,")"]})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{type:b?"text":"password",placeholder:e.placeholder,value:g[e.key]??"",onChange:t=>p(s=>({...s,[e.key]:t.target.value})),className:"h-11 w-full px-3 pr-10 text-sm font-mono bg-background border border-border rounded-md focus:outline-none focus-visible:ring-1 focus-visible:ring-ring",autoComplete:"off","aria-required":"true","aria-describedby":e.hint?`connected-hint-${e.key}`:void 0}),(0,r.jsx)("button",{type:"button",onClick:()=>h(!b),className:"absolute right-2.5 top-1/2 -translate-y-1/2 p-1.5 text-muted-foreground hover:text-foreground rounded transition-colors","aria-label":b?s.hideSecret:s.showSecret,title:b?s.hideSecret:s.showSecret,children:b?(0,r.jsx)(eJ.A,{size:16}):(0,r.jsx)(eq.A,{size:16})})]}),e.hint&&(0,r.jsx)("span",{id:`connected-hint-${e.key}`,className:"text-xs text-muted-foreground",children:e.hint})]},e.key)),(0,r.jsx)("div",{className:"flex items-center gap-3 pt-1",children:(0,r.jsxs)("button",{type:"button",onClick:X,disabled:f||!B,className:"h-11 px-4 text-sm rounded-md inline-flex items-center gap-1.5 bg-[var(--amber)] text-[var(--amber-foreground)] shadow-sm hover:opacity-90 hover:shadow disabled:opacity-50 disabled:cursor-not-allowed transition-all","aria-label":f?s.saving:s.saveConfig,children:[f?(0,r.jsx)(eB.A,{size:14,className:"animate-spin"}):(0,r.jsx)(ev.A,{size:14}),f?s.saving:s.saveConfig]})}),y&&(0,r.jsxs)("div",{role:"alert","aria-live":"polite",className:`flex items-start gap-1.5 text-sm ${y.ok?"text-success":"text-error"}`,children:[y.ok?(0,r.jsx)(z.A,{size:16,className:"shrink-0 mt-0.5"}):(0,r.jsx)(eY.A,{size:16,className:"shrink-0 mt-0.5"}),(0,r.jsx)("span",{className:"break-all",children:y.msg})]})]})]}),(0,r.jsxs)("div",{className:"rounded-lg border border-border bg-card p-4 shadow-sm",children:[(0,r.jsx)("h3",{className:"text-sm font-medium text-foreground mb-3",children:s.testSend}),(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"text-xs font-medium text-muted-foreground block mb-1.5",children:s.recipientPlaceholder}),(0,r.jsx)("input",{type:"text",placeholder:s.recipientPlaceholder,value:k,onChange:e=>w(e.target.value),className:"h-11 w-full px-3 text-sm bg-background border border-border rounded-md focus:outline-none focus-visible:ring-1 focus-visible:ring-ring","aria-label":s.recipientPlaceholder}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-1.5 leading-5",children:s.recipientHint})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"text-xs font-medium text-muted-foreground block mb-1.5",children:s.messagePlaceholder}),(0,r.jsx)("input",{type:"text",placeholder:s.messagePlaceholder,value:S,onChange:e=>C(e.target.value),className:"h-11 w-full px-3 text-sm bg-background border border-border rounded-md focus:outline-none focus-visible:ring-1 focus-visible:ring-ring","aria-label":s.messagePlaceholder})]}),(0,r.jsx)("div",{className:"flex items-center gap-3 pt-1",children:(0,r.jsxs)("button",{type:"button",onClick:K,disabled:"sending"===A||!k.trim(),className:"h-11 px-4 text-sm rounded-md inline-flex items-center gap-1.5 bg-[var(--amber)] text-[var(--amber-foreground)] shadow-sm hover:opacity-90 hover:shadow disabled:opacity-50 disabled:cursor-not-allowed transition-all","aria-label":s.sendTest,children:["sending"===A?(0,r.jsx)(eB.A,{size:14,className:"animate-spin"}):(0,r.jsx)(eV.A,{size:14}),s.sendTest]})}),F&&(0,r.jsxs)("div",{role:"alert","aria-live":"polite",className:`flex items-start gap-1.5 text-sm ${"success"===A?"text-success":"text-error"}`,children:["success"===A?(0,r.jsx)(z.A,{size:16,className:"shrink-0 mt-0.5"}):(0,r.jsx)(eY.A,{size:16,className:"shrink-0 mt-0.5"}),(0,r.jsx)("span",{className:"break-all",children:F})]})]})]}),(0,r.jsxs)("div",{className:"rounded-lg border border-error/20 bg-card p-4 shadow-sm",children:[(0,r.jsx)("h3",{className:"text-sm font-medium text-foreground mb-2",children:s.disconnect}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mb-3",children:s.disconnectHint}),(0,r.jsxs)("button",{type:"button",onClick:_,disabled:E,className:`h-11 px-4 text-sm rounded-md inline-flex items-center gap-1.5 border transition-colors ${L?"text-error border-error/40 bg-error/5 hover:bg-error/10":"text-muted-foreground border-border hover:text-error hover:border-error/30"}`,"aria-label":s.disconnect,children:[E?(0,r.jsx)(eB.A,{size:14,className:"animate-spin"}):L?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v.A,{size:14})," ",s.confirmDisconnect]}):(0,r.jsx)(R.A,{size:14}),!L&&!E&&s.disconnect]})]})]}):(0,r.jsxs)("div",{className:"flex flex-col gap-6",children:[n.guide&&(0,r.jsxs)("div",{className:"rounded-lg border border-border border-l-4 border-l-[var(--amber)] bg-card p-4 shadow-sm",children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3 mb-3",children:[(0,r.jsx)("h3",{className:"text-sm font-medium text-foreground",children:s.setupGuide}),n.guideUrl&&(0,r.jsxs)(x(),{href:n.guideUrl,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs bg-[var(--amber-dim)] text-[var(--amber)] hover:bg-[var(--amber-dim)]/80 shrink-0 transition-colors",children:[s.guideLink,(0,r.jsx)(eG.A,{size:12})]})]}),(0,r.jsx)("div",{className:"text-sm text-muted-foreground leading-7 space-y-1.5 max-w-prose",children:n.guide.split("\n").map((e,t)=>(0,r.jsx)("div",{children:e},t))})]}),(0,r.jsxs)("div",{className:"rounded-lg border border-border bg-card p-4 shadow-sm",children:[(0,r.jsx)("h3",{className:"text-sm font-medium text-foreground mb-4",children:s.tabConfigure}),(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[n.fields.map(e=>(0,r.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,r.jsxs)("label",{className:"text-xs font-medium text-muted-foreground",children:[e.label,(0,r.jsxs)("span",{className:"text-muted-foreground/50 font-normal",children:[" (",s.required,")"]})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{type:b?"text":"password",placeholder:e.placeholder,value:g[e.key]??"",onChange:t=>p(s=>({...s,[e.key]:t.target.value})),className:"h-11 w-full px-3 pr-10 text-sm font-mono bg-background border border-border rounded-md focus:outline-none focus-visible:ring-1 focus-visible:ring-ring",autoComplete:"off","aria-required":"true","aria-describedby":e.hint?`hint-${e.key}`:void 0}),(0,r.jsx)("button",{type:"button",onClick:()=>h(!b),className:"absolute right-2.5 top-1/2 -translate-y-1/2 p-1.5 text-muted-foreground hover:text-foreground rounded transition-colors","aria-label":b?s.hideSecret:s.showSecret,title:b?s.hideSecret:s.showSecret,children:b?(0,r.jsx)(eJ.A,{size:16}):(0,r.jsx)(eq.A,{size:16})})]}),e.hint&&(0,r.jsx)("span",{id:`hint-${e.key}`,className:"text-xs text-muted-foreground",children:e.hint})]},e.key)),(0,r.jsx)("div",{className:"flex items-center gap-3 pt-2",children:(0,r.jsxs)("button",{type:"button",onClick:X,disabled:f||!B,className:"h-11 px-4 text-sm rounded-md inline-flex items-center gap-1.5 bg-[var(--amber)] text-[var(--amber-foreground)] shadow-sm hover:opacity-90 hover:shadow disabled:opacity-50 disabled:cursor-not-allowed transition-all","aria-label":f?s.saving:s.saveConfig,children:[f?(0,r.jsx)(eB.A,{size:14,className:"animate-spin"}):(0,r.jsx)(ev.A,{size:14}),f?s.saving:s.saveConfig]})}),y&&(0,r.jsx)("div",{role:"alert","aria-live":"polite",className:`flex items-start gap-1.5 text-sm ${y.ok?"text-success":"text-error"}`,children:y.ok?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(z.A,{size:16,className:"shrink-0 mt-0.5"}),(0,r.jsx)("span",{className:"break-all",children:y.msg})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eY.A,{size:16,className:"shrink-0 mt-0.5"}),(0,r.jsx)("span",{className:"break-all",children:y.msg})]})})]})]})]})]})}function eZ(){let{t:e}=(0,l.Y)();e.panels.im;let t=(0,eO.useSearchParams)().get("platform");return t?(0,r.jsx)(eQ,{platformId:t}):(0,r.jsx)(e0,{})}function e0(){let{t:e}=(0,l.Y)(),t=e.panels.im,[s,n]=(0,a.useState)([]),[i,o]=(0,a.useState)(!0),[d,c]=(0,a.useState)(!1),u=(0,a.useCallback)(async()=>{c(!1);try{let e=await fetch("/api/im/status");if(e.ok){let t=await e.json();n(t.platforms??[])}else c(!0)}catch{c(!0)}o(!1)},[]);if((0,a.useEffect)(()=>{u()},[u]),i)return(0,r.jsx)("div",{className:"flex justify-center py-16",children:(0,r.jsx)(eB.A,{size:20,className:"animate-spin text-muted-foreground"})});if(d)return(0,r.jsxs)("div",{className:"text-center py-16",children:[(0,r.jsx)(M.A,{size:24,className:"mx-auto mb-3 text-muted-foreground"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground mb-3",children:t.fetchError}),(0,r.jsxs)("button",{type:"button",onClick:()=>{o(!0),u()},className:"inline-flex items-center gap-1.5 px-3 py-1.5 text-xs rounded-md border border-border text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",children:[(0,r.jsx)(Y.A,{size:12})," ",t.retry]})]});let m=s.filter(e=>e.connected).length,g=eU.P.length;return(0,r.jsxs)("div",{className:"max-w-4xl",children:[(0,r.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4 mb-8",children:[(0,r.jsxs)("div",{className:"rounded-lg border border-border bg-card p-4 shadow-sm",children:[(0,r.jsx)("div",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide mb-2",children:t.statsConnected}),(0,r.jsxs)("div",{className:"text-3xl font-semibold text-foreground tabular-nums",children:[m,(0,r.jsxs)("span",{className:"text-sm text-muted-foreground font-normal ml-1",children:["/ ",g]})]})]}),(0,r.jsxs)("div",{className:"rounded-lg border border-border bg-card p-4 shadow-sm",children:[(0,r.jsx)("div",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide mb-2",children:t.statsSupported}),(0,r.jsx)("div",{className:"text-3xl font-semibold text-foreground tabular-nums",children:g})]}),(0,r.jsxs)("div",{className:"rounded-lg border border-border bg-card p-4 shadow-sm",children:[(0,r.jsx)("div",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide mb-2",children:t.statsStatus}),(0,r.jsx)("div",{className:"text-sm text-foreground",children:m>0?(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-success",children:[(0,r.jsx)(z.A,{size:14})," ",t.statsReady]}):(0,r.jsx)("span",{className:"text-muted-foreground",children:t.statsNotConfigured})})]})]}),(0,r.jsx)("h2",{className:"text-sm font-medium text-foreground mb-4",children:t.platformsTitle}),(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:eU.P.map(({id:e,name:a,icon:n})=>{let l=s.find(t=>t.platform===e),i=l?.connected??!1;return(0,r.jsxs)(x(),{href:`/agents?tab=channels&platform=${e}`,className:"flex items-center gap-3 rounded-lg border border-border bg-card px-4 py-3 shadow-sm hover:border-[var(--amber)]/50 hover:bg-card/80 hover:shadow transition-all",children:[(0,r.jsx)("span",{className:"text-xl shrink-0",children:n}),(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsx)("div",{className:"text-sm font-medium text-foreground",children:a}),i&&l?.botName?(0,r.jsx)("div",{className:"text-xs text-muted-foreground font-mono truncate",children:l.botName}):(0,r.jsx)("div",{className:"text-xs text-muted-foreground",children:i?t.statusConnected:t.notConfigured}),i&&l?.capabilities&&l.capabilities.length>0&&(0,r.jsx)("div",{className:"flex flex-wrap gap-1 mt-1.5",children:l.capabilities.slice(0,3).map(e=>(0,r.jsx)("span",{className:"text-xs px-2 py-0.5 rounded-md bg-muted text-muted-foreground",children:e},e))})]}),i?(0,r.jsx)(z.A,{size:18,className:"text-success shrink-0"}):(0,r.jsx)(eH.A,{size:18,className:"text-border shrink-0"})]},e)})})]})}var e1=s(90777);function e2({tab:e}){let{t}=(0,l.Y)(),s=t.agentsContent,m=(0,i.kr)(),x=(0,o.V)(),g=(0,a.useMemo)(()=>"channels"===e?{title:s.navChannels??"Channels",subtitle:s.channelsSubtitle??"Connect messaging platforms to let MindOS Agent send messages on your behalf."}:"activity"===e?{title:s.navActivity??"Activity",subtitle:s.activitySubtitle??"Agent operations audit log."}:"sessions"===e?{title:"Sessions",subtitle:"Active ACP agent sessions."}:"a2a"===e?{title:s.navNetwork,subtitle:s.a2aTabEmptyHint}:"skills"===e?{title:s.navSkills,subtitle:s.skills.capabilityGroups}:"mcp"===e?{title:s.navMcp,subtitle:s.mcp.connectionGraph}:{title:s.title,subtitle:s.subtitle},[s,e]),p=(0,a.useMemo)(()=>(0,u.$t)(m.agents),[m.agents]),b=m.status?.connectionMode?.mcp??!1,h=(0,a.useMemo)(()=>(0,u.zK)({mcpRunning:!!m.status?.running,mcpEnabled:b,detectedCount:p.detected.length,notFoundCount:p.notFound.length,allSkillsDisabled:m.skills.length>0&&m.skills.every(e=>!e.enabled),copy:s.overview}),[m.skills,m.status?.running,b,p.detected.length,p.notFound.length,s.overview]),f=(0,a.useMemo)(()=>m.skills.filter(e=>e.enabled).length,[m.skills]),[v,j]=(0,a.useState)(!1),[y,N]=(0,a.useState)(null),[k,w]=(0,a.useState)(null),[C,A]=(0,a.useState)(!1),z=(0,a.useCallback)(()=>{N(null),j(!0)},[]),M=(0,a.useCallback)(e=>{N(e),j(!0)},[]),T=(0,a.useCallback)(e=>{w(e)},[]),F=(0,a.useCallback)(async()=>{if(k){A(!0);try{let e=await fetch("/api/agents/custom",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({key:k.key})});if(e.ok)n.oR.success(s.overview.customAgentRemoved(k.name)),m.refresh();else{let t=await e.json();n.oR.error(t.error||s.overview.customAgentFailedRemove)}}catch{n.oR.error(s.overview.customAgentNetworkError)}finally{A(!1),w(null)}}},[k,m,s.overview]),D=(0,a.useCallback)(()=>{m.refresh()},[m]),R=async e=>{let t=m.agents.find(t=>t.key===e);if(!t)return;let s=(0,c.$k)(t,m.status,t.preferredTransport);await (0,d.l)(s.snippet)&&n.oR.copy()};return(0,r.jsxs)("div",{className:"content-width px-4 md:px-6 py-8 md:py-10",children:[(0,r.jsxs)("header",{className:"mb-6",children:[(0,r.jsx)("h1",{className:"text-2xl font-semibold tracking-tight text-foreground",children:g.title}),(0,r.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:g.subtitle})]}),m.loading&&"overview"===e&&(0,r.jsx)(e5,{}),!m.loading&&"overview"===e&&(0,r.jsx)(U,{copy:s.overview,buckets:p,riskQueue:h,mcpRunning:!!m.status?.running,mcpPort:m.status?.port??null,mcpToolCount:m.status?.toolCount??0,mcpEnabled:b,enabledSkillCount:f,allAgents:m.agents,pulseCopy:s.workspacePulse,a2aCount:x.agents.length,onAddCustomAgent:z,onEditCustomAgent:M,onRemoveCustomAgent:T}),"mcp"===e&&b&&(0,r.jsx)(G,{copy:{...s.mcp,status:s.status},mcp:m,buckets:p,copyState:null,onCopySnippet:R}),"mcp"===e&&!b&&!m.loading&&(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center py-16 text-center",children:[(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:s.mcp?.mcpDisabledMessage??"MCP mode is not enabled."}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground/60 mt-1",children:s.mcp?.mcpDisabledHint??"Enable it in Settings → Connections to use MCP agents."})]}),"skills"===e&&(0,r.jsx)(el,{copy:s.skills,mcp:m,buckets:p}),"a2a"===e&&(0,r.jsx)(eF,{agents:x.agents,discovering:x.discovering,error:x.error,onDiscover:x.discover,onRemove:x.remove}),"sessions"===e&&(0,r.jsx)(eI,{}),"activity"===e&&(0,r.jsx)(e_,{}),"channels"===e&&(0,r.jsx)(eZ,{}),(0,r.jsx)(e1.A,{open:v,onClose:()=>{j(!1),N(null)},onSuccess:D,existingAgents:m.agents,editAgent:y}),(0,r.jsx)(S.TM,{open:!!k,title:k?s.overview.customAgentRemoveTitle(k.name):"",message:s.overview.customAgentRemoveMessage,confirmLabel:s.overview.customAgentRemoveConfirm,cancelLabel:s.overview.customAgentCancel,onConfirm:F,onCancel:()=>w(null),variant:"destructive"})]})}function e5(){return(0,r.jsxs)("div",{className:"space-y-5 animate-pulse","aria-busy":"true","aria-label":"Loading",children:[(0,r.jsxs)("div",{className:"rounded-xl border border-border bg-card overflow-hidden",children:[(0,r.jsx)("div",{className:"px-4 py-2.5 border-b border-border bg-muted/10",children:(0,r.jsx)("div",{className:"h-4 w-32 bg-muted rounded"})}),(0,r.jsx)("div",{className:"grid grid-cols-3 md:grid-cols-6 divide-x divide-border",children:Array.from({length:6}).map((e,t)=>(0,r.jsxs)("div",{className:"px-3 py-3.5 flex flex-col items-center gap-2",children:[(0,r.jsx)("div",{className:"h-3 w-16 bg-muted rounded"}),(0,r.jsx)("div",{className:"h-5 w-8 bg-muted rounded"})]},t))})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:Array.from({length:2}).map((e,t)=>(0,r.jsxs)("div",{className:"rounded-xl border border-border bg-card p-4 flex items-start gap-3.5",children:[(0,r.jsx)("div",{className:"w-10 h-10 rounded-lg bg-muted"}),(0,r.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,r.jsx)("div",{className:"h-4 w-20 bg-muted rounded"}),(0,r.jsx)("div",{className:"h-3 w-full bg-muted rounded"})]})]},t))}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,r.jsx)("div",{className:"h-4 w-24 bg-muted rounded"}),(0,r.jsx)("div",{className:"h-3 w-16 bg-muted rounded"})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3",children:Array.from({length:6}).map((e,t)=>(0,r.jsxs)("div",{className:"rounded-xl border border-border bg-card p-3.5",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2.5 mb-3",children:[(0,r.jsx)("div",{className:"w-7 h-7 rounded-full bg-muted"}),(0,r.jsx)("div",{className:"flex-1 h-4 bg-muted rounded"}),(0,r.jsx)("div",{className:"h-4 w-16 bg-muted rounded"})]}),(0,r.jsx)("div",{className:"h-3 w-2/3 bg-muted rounded"})]},t))})]})]})}},73035:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(90425).A)("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]])},77800:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(90425).A)("toggle-left",[["circle",{cx:"9",cy:"12",r:"3",key:"u3jwor"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]])},80723:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(90425).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},93219:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(90425).A)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])}},e=>{e.O(0,[4237,8409,4327,5581,8252,6636,7249,8441,3794,7358],()=>e(e.s=64616)),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
package/_standalone/.next/static/chunks/app/api/agents/custom/detect/route-930dfa67e2789df5.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
package/_standalone/.next/static/chunks/app/api/settings/list-models/route-930dfa67e2789df5.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
package/_standalone/.next/static/chunks/app/api/settings/reset-token/route-930dfa67e2789df5.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
package/_standalone/.next/static/chunks/app/api/setup/generate-token/route-930dfa67e2789df5.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44,160,165,635,706,910,1124,1131,1150,1165,1212,1288,2036,2092,2191,2229,2287,2437,2522,2772,2920,2950,3358,3390,3757,3896,3945,4048,4209,4230,4473,4503,4558,4828,4888,4896,5177,5245,5411,5620,5684,5704,5931,6047,6202,6306,6540,6819,6828,6988,7113,7330,7538,7581,7607,7646,7711,7822,7839,7851,7858,8167,8181,8232,8372,8616,8641,9120,9188,9249,9303,9336,9491,9596,9725,9861,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|