auramaxx 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +75 -75
- package/.next/app-path-routes-manifest.json +7 -7
- package/.next/build-manifest.json +5 -5
- package/.next/prerender-manifest.json +31 -31
- package/.next/react-loadable-manifest.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/api/[...doc]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/api/agent-requests/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/apps/install/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/apps/manifests/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/apps/static/[...path]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/docs/plain/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/events/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/page_client-reference-manifest.js +1 -1
- package/.next/server/app/api/restart/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/update/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/version/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/workspace/[id]/apps/[wid]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/workspace/[id]/apps/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/workspace/[id]/export/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/workspace/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/workspace/config/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/workspace/import/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/workspace/route_client-reference-manifest.js +1 -1
- package/.next/server/app/app-legacy-do-not-use/page_client-reference-manifest.js +1 -1
- package/.next/server/app/app-legacy-do-not-use.html +1 -1
- package/.next/server/app/app-legacy-do-not-use.rsc +2 -2
- package/.next/server/app/approve/[actionId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/docs/[...doc]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/docs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/health/page_client-reference-manifest.js +1 -1
- package/.next/server/app/health.html +1 -1
- package/.next/server/app/health.rsc +1 -1
- package/.next/server/app/hello/page_client-reference-manifest.js +1 -1
- package/.next/server/app/hello.html +1 -1
- package/.next/server/app/hello.rsc +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +2 -2
- package/.next/server/app/page.js +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/privacy/page_client-reference-manifest.js +1 -1
- package/.next/server/app/privacy.html +1 -1
- package/.next/server/app/privacy.rsc +1 -1
- package/.next/server/app/share/[token]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/terms/page_client-reference-manifest.js +1 -1
- package/.next/server/app/terms.html +1 -1
- package/.next/server/app/terms.rsc +1 -1
- package/.next/server/app-paths-manifest.json +7 -7
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/2927.e7e9e2a1b8d2dc61.js +1 -0
- package/.next/static/chunks/7411-3ca797c21b722ccd.js +1 -0
- package/.next/static/chunks/8614-2b239837100108a8.js +59 -0
- package/.next/static/chunks/app/app-legacy-do-not-use/page-984b44219e827f20.js +1 -0
- package/.next/static/chunks/app/page-202668d41c2b1c70.js +1 -0
- package/.next/static/chunks/{webpack-d3f28b35c037373d.js → webpack-66e03877d6fdcbf0.js} +1 -1
- package/.next/trace +4 -4
- package/package.json +1 -1
- package/src/components/vault/CredentialVault.tsx +4 -3
- package/src/server/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -1
- package/.next/static/chunks/2927.9f1b221489693fa6.js +0 -1
- package/.next/static/chunks/7411-2cdac9a42dad0323.js +0 -1
- package/.next/static/chunks/8614-946e68e30ed95636.js +0 -59
- package/.next/static/chunks/app/app-legacy-do-not-use/page-c38eba9a354eaf8c.js +0 -1
- package/.next/static/chunks/app/page-e5cf8222673d3bd9.js +0 -1
- /package/.next/static/{nAKFZuKu1HIUU3yPTafeu → D6gXZ612zYsWYHv6fu0JE}/_buildManifest.js +0 -0
- /package/.next/static/{nAKFZuKu1HIUU3yPTafeu → D6gXZ612zYsWYHv6fu0JE}/_ssgManifest.js +0 -0
package/package.json
CHANGED
|
@@ -1051,9 +1051,10 @@ export const CredentialVault: React.FC<CredentialVaultProps> = ({
|
|
|
1051
1051
|
options?: { applyFilters?: boolean; prefillType?: CreatePrefill['type'] },
|
|
1052
1052
|
) => {
|
|
1053
1053
|
const nextPrefill: CreatePrefill = {};
|
|
1054
|
+
const preferredVaultId = filters.vaultId || primaryVaultId || vaults[0]?.id;
|
|
1054
1055
|
|
|
1055
|
-
if (
|
|
1056
|
-
nextPrefill.vaultId =
|
|
1056
|
+
if (preferredVaultId) {
|
|
1057
|
+
nextPrefill.vaultId = preferredVaultId;
|
|
1057
1058
|
}
|
|
1058
1059
|
|
|
1059
1060
|
if (options?.applyFilters) {
|
|
@@ -1071,7 +1072,7 @@ export const CredentialVault: React.FC<CredentialVaultProps> = ({
|
|
|
1071
1072
|
setCreateCredentialStart(start);
|
|
1072
1073
|
setCreatePrefill(Object.keys(nextPrefill).length > 0 ? nextPrefill : null);
|
|
1073
1074
|
setShowCreateForm(true);
|
|
1074
|
-
}, [filters]);
|
|
1075
|
+
}, [filters, primaryVaultId, vaults]);
|
|
1075
1076
|
|
|
1076
1077
|
const handleFormSaved = useCallback(async (credentialId?: string) => {
|
|
1077
1078
|
setShowCreateForm(false);
|
package/src/server/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"4.0.18","results":[[":tests/send.test.ts",{"duration":162.08154100000002,"failed":false}],[":tests/approve.test.ts",{"duration":257.27824999999996,"failed":false}],[":tests/unlock.test.ts",{"duration":213.61050000000003,"failed":false}],[":tests/setup.test.ts",{"duration":128.30779199999998,"failed":false}],[":tests/e2e.test.ts",{"duration":5642.993041,"failed":false}],[":tests/wallet.test.ts",{"duration":1768.446334,"failed":false}],[":tests/auth.test.ts",{"duration":174.709292,"failed":false}],[":tests/fund.test.ts",{"duration":820.6141660000001,"failed":false}],[":tests/integration/agent-flow.test.ts",{"duration":8187.006292,"failed":false}],[":tests/auth/permissions.test.ts",{"duration":10028.780791000001,"failed":false}],[":tests/auth/middleware.test.ts",{"duration":11329.5375,"failed":false}],[":tests/lib/sessions.test.ts",{"duration":84.89004099999988,"failed":false}],[":tests/lib/auth.test.ts",{"duration":6135.863249999999,"failed":false}],[":tests/endpoints/unlock.test.ts",{"duration":11115.341083000001,"failed":false}],[":tests/endpoints/wallet.test.ts",{"duration":4878.060583,"failed":false}],[":tests/endpoints/approve.test.ts",{"duration":497.64808300000004,"failed":false}],[":tests/endpoints/fund.test.ts",{"duration":2411.77425,"failed":false}],[":tests/endpoints/send.test.ts",{"duration":2628.598417,"failed":false}],[":tests/endpoints/auth.test.ts",{"duration":1595.863792,"failed":false}],[":tests/endpoints/setup.test.ts",{"duration":6896.523958,"failed":false}],[":tests/lib/uniswap.test.ts",{"duration":14.531207999999992,"failed":false}],[":tests/auth/apikeys.test.ts",{"duration":15912.029499999999,"failed":false}],[":tests/endpoints/wallet-data.test.ts",{"duration":2597.89675,"failed":false}],[":tests/endpoints/swap.test.ts",{"duration":2406.872666,"failed":false}],[":tests/endpoints/token-clearing.test.ts",{"duration":1604.1872920000003,"failed":false}],[":tests/endpoints/rate-limit.test.ts",{"duration":2646.534208,"failed":false}],[":tests/endpoints/solana-swap.test.ts",{"duration":1475.774833,"failed":false}],[":tests/endpoints/solana-wallet.test.ts",{"duration":1683.229166,"failed":false}],[":tests/endpoints/solana-send.test.ts",{"duration":1408.622209,"failed":false}],[":tests/lib/sessions-currency.test.ts",{"duration":62.75483299999996,"failed":false}],[":tests/endpoints/solana-fund.test.ts",{"duration":1955.7072910000002,"failed":false}],[":tests/lib/solana-wallet.test.ts",{"duration":163.64545900000002,"failed":false}],[":tests/lib/address.test.ts",{"duration":2.154167000000001,"failed":false}],[":tests/lib/strategy/sources.test.ts",{"duration":18.50183299999999,"failed":false}],[":tests/lib/strategy/loader.test.ts",{"duration":14.179375000000022,"failed":false}],[":tests/lib/strategy/executor.test.ts",{"duration":7.517333000000008,"failed":false}],[":tests/lib/strategy/state.test.ts",{"duration":6.432208000000003,"failed":false}],[":tests/lib/strategy/hooks.test.ts",{"duration":12.499625000000037,"failed":false}],[":tests/endpoints/widgets.test.ts",{"duration":2127.785625,"failed":false}],[":tests/lib/strategy/message.test.ts",{"duration":115.76070800000002,"failed":false}],[":tests/endpoints/actions.test.ts",{"duration":3144.0009170000003,"failed":false}],[":tests/endpoints/vault.test.ts",{"duration":7234.95525,"failed":false}],[":tests/integration/adapter-resolve.test.ts",{"duration":4903.576209,"failed":false}],[":tests/lib/adapters.test.ts",{"duration":26.90308299999998,"failed":false}],[":tests/lib/strategy/tick.test.ts",{"duration":6.839500000000001,"failed":false}],[":tests/lib/relay.test.ts",{"duration":7.262083000000018,"failed":false}],[":tests/lib/ai.test.ts",{"duration":5.396874999999994,"failed":false}],[":tests/endpoints/launch.test.ts",{"duration":39780.161833,"failed":false}],[":tests/widget-installer.test.ts",{"duration":154.704459,"failed":false}],[":tests/mcp/tools.test.ts",{"duration":15.090666999999996,"failed":false}],[":tests/ai-integration/scenarios.test.ts",{"duration":7.4487499999999045,"failed":true}],[":tests/mcp/server.test.ts",{"duration":307.932375,"failed":false}],[":tests/ai-integration/live.test.ts",{"duration":77572.38508299999,"failed":false}],[":tests/auth/apikeys-validate.test.ts",{"duration":14630.5875,"failed":false}],[":tests/lib/adapters-test.test.ts",{"duration":21955.126209000002,"failed":false}],[":tests/setup-integration/wizard-flow.test.ts",{"duration":124.21662500000002,"failed":false}],[":tests/setup-integration/adapter-test.test.ts",{"duration":166.0367080000001,"failed":false}],[":tests/setup-integration/edge-cases.test.ts",{"duration":156.02324999999996,"failed":false}],[":tests/setup-integration/apikey-validation.test.ts",{"duration":147.53583400000002,"failed":false}],[":tests/setup-integration/fresh-setup.test.ts",{"duration":107.81912499999999,"failed":false}],[":tests/lib/network.test.ts",{"duration":7.853082999999998,"failed":false}],[":tests/cli/process.test.ts",{"duration":56.45575000000001,"failed":false}],[":tests/cli/init-steps.test.ts",{"duration":4.755291,"failed":false}],[":tests/cli/init-flow.test.ts",{"duration":2950.444042,"failed":false}],[":tests/cli/http.test.ts",{"duration":1762.561375,"failed":false}],[":tests/lib/verified-summary.test.ts",{"duration":7.134375000000006,"failed":false}],[":tests/lib/defaults.test.ts",{"duration":48.51108399999998,"failed":false}],[":tests/endpoints/defaults.test.ts",{"duration":8672.846417,"failed":false}],[":tests/lib/adapters-chat.test.ts",{"duration":26.06570800000003,"failed":false}],[":tests/setup-integration/terminal-flow.test.ts",{"duration":248.770042,"failed":false}],[":tests/endpoints/transactions.test.ts",{"duration":1445.257583,"failed":false}],[":tests/cron/scheduler.test.ts",{"duration":9.297125000000008,"failed":false}],[":tests/endpoints/portfolio.test.ts",{"duration":164.57249999999988,"failed":false}],[":tests/cron/native-price.test.ts",{"duration":59.44100000000003,"failed":false}],[":tests/resolve.test.ts",{"duration":15.13329200000021,"failed":false}],[":tests/lib/prices.test.ts",{"duration":55.405666999999994,"failed":false}],[":tests/swap-quote.test.ts",{"duration":1375.053417,"failed":false}],[":tests/send-token.test.ts",{"duration":1376.2600409999998,"failed":false}],[":tests/endpoints/price.test.ts",{"duration":33.249000000000024,"failed":false}],[":tests/lib/price.test.ts",{"duration":4.224541000000002,"failed":false}],[":tests/endpoints/token-search.test.ts",{"duration":27.024832999999944,"failed":false}],[":tests/lib/token-search.test.ts",{"duration":67.01583399999998,"failed":false}],[":tests/lib/token-safety.test.ts",{"duration":4.150083000000002,"failed":false}],[":tests/endpoints/token-safety.test.ts",{"duration":26.90599999999995,"failed":false}],[":tests/lib/batch.test.ts",{"duration":5.358542,"failed":false}],[":tests/endpoints/batch.test.ts",{"duration":45.515333000000055,"failed":false}],[":tests/endpoints/token-balance.test.ts",{"duration":23.32483400000001,"failed":false}],[":tests/lib/events-decoder.test.ts",{"duration":4.6544999999999845,"failed":false}],[":tests/lib/events-enricher.test.ts",{"duration":4.258500000000026,"failed":false}],[":tests/endpoints/address-transactions.test.ts",{"duration":1488.634708,"failed":false}],[":tests/endpoints/bookmarks.test.ts",{"duration":1581.585625,"failed":false}],[":tests/endpoints/addressbook.test.ts",{"duration":1392.6154169999998,"failed":false}],[":tests/lib/strategy/session-logger.test.ts",{"duration":1517.128875,"failed":false}],[":tests/cron/incoming-scan.test.ts",{"duration":479.897833,"failed":false}],[":tests/lib/auto-unlock.test.ts",{"duration":1063.128708,"failed":false}],[":tests/lib/widget-tokens-tier.test.ts",{"duration":226.36699999999996,"failed":false}],[":tests/cron/strategy-runner.test.ts",{"duration":6.41145800000001,"failed":false}],[":tests/endpoints/strategy-routes.test.ts",{"duration":15967.925333000001,"failed":false}],[":tests/endpoints/apps.test.ts",{"duration":30428.047540999996,"failed":false}],[":tests/lib/events-fetcher.test.ts",{"duration":6.838374999999985,"failed":false}],[":tests/app-installer.test.ts",{"duration":90.58025,"failed":false}],[":tests/lib/app-tokens-tier.test.ts",{"duration":279.35925,"failed":false}],[":tests/setup-integration/onboarding-e2e.test.ts",{"duration":13.635041000000001,"failed":true}],[":tests/cron/orphan-cleanup.test.ts",{"duration":4.512750000000011,"failed":false}],[":tests/lib/strategy/repository.test.ts",{"duration":14.50383399999987,"failed":false}],[":tests/setup-integration/autonomous-agent.test.ts",{"duration":12.969625000000065,"failed":true}],[":tests/lib/websocket-auth.test.ts",{"duration":228.889417,"failed":false}],[":tests/lib/credentials.test.ts",{"duration":10815.584333,"failed":false}],[":tests/lib/credential-access.test.ts",{"duration":3.340457999999998,"failed":false}],[":tests/lib/credential-scope.test.ts",{"duration":3.075249999999997,"failed":false}],[":tests/endpoints/credential-ops.test.ts",{"duration":2467.306208,"failed":false}],[":tests/endpoints/credentials.test.ts",{"duration":33966.976583,"failed":false}],[":tests/lib/credential-transport.test.ts",{"duration":87.659875,"failed":false}],[":tests/lib/credential-vault.test.ts",{"duration":4438.184499999999,"failed":false}],[":tests/lib/resolve-action.test.ts",{"duration":4.439332999999991,"failed":false}],[":tests/credential-import.test.ts",{"duration":16.651999999999987,"failed":false}],[":tests/endpoints/passkey.test.ts",{"duration":20558.277666,"failed":false}],[":tests/lib/oauth2-refresh.test.ts",{"duration":3.7202079999999853,"failed":false}],[":tests/lib/totp.test.ts",{"duration":5.377874999999996,"failed":false}],[":tests/lib/passkey-credential.test.ts",{"duration":6.845333999999994,"failed":false}],[":tests/cli/env.test.ts",{"duration":4.784000000000006,"failed":false}],[":tests/dotenv-parser.test.ts",{"duration":4.396458999999993,"failed":false}],[":tests/cli/socket.test.ts",{"duration":128.16895899999997,"failed":false}],[":tests/cli/vault.test.ts",{"duration":4.098458999999991,"failed":false}],[":tests/cli/credential-resolve.test.ts",{"duration":2.771957999999998,"failed":false}],[":tests/cli/env-check-server-vault.test.ts",{"duration":284.507208,"failed":false}],[":tests/e2e-agent/validation.test.ts",{"duration":8.096000000000004,"failed":false}],[":tests/e2e-agent/artifacts.test.ts",{"duration":2.204250000000002,"failed":false}],[":tests/e2e-agent/ci-lanes.test.ts",{"duration":1.1261250000000018,"failed":false}],[":tests/lib/api-registry/validation.test.ts",{"duration":5.290000000000006,"failed":false}],[":tests/lib/aura-parser.test.ts",{"duration":8.45975,"failed":false}],[":tests/lib/agent-auth/contracts.test.ts",{"duration":7.2955419999999975,"failed":false}],[":tests/cli/doctor.test.ts",{"duration":3.1414590000000118,"failed":false}],[":tests/endpoints/import.test.ts",{"duration":12341.364292,"failed":false}],[":tests/endpoints/passkey-credentials.test.ts",{"duration":3690.714,"failed":false}],[":tests/lib/credential-health.test.ts",{"duration":2.6602080000000115,"failed":false}],[":tests/lib/agent-profiles.test.ts",{"duration":2.9368750000000006,"failed":false}],[":tests/mcp/profile-policy.test.ts",{"duration":2.9230420000000024,"failed":false}],[":tests/endpoints/profile-parity.test.ts",{"duration":9.213209000000006,"failed":true}],[":tests/lib/profile-parity.test.ts",{"duration":1.667082999999991,"failed":false}],[":tests/endpoints/credential-access-audit.test.ts",{"duration":2518.969125,"failed":false}],[":tests/lib/project-scope.test.ts",{"duration":5.154042000000004,"failed":false}],[":tests/docs/job-docs-validation.test.ts",{"duration":32.69,"failed":false}],[":tests/endpoints/credential-shares.test.ts",{"duration":8740.207542,"failed":false}],[":tests/lib/task-lifecycle.test.ts",{"duration":7.928124999999994,"failed":false}],[":tests/endpoints/tasks-lifecycle.test.ts",{"duration":191.46470899999997,"failed":false}],[":tests/cli/local-agent-trust.test.ts",{"duration":2.504209000000003,"failed":false}],[":tests/cli/token.test.ts",{"duration":1.4830829999999935,"failed":false}],[":tests/endpoints/heartbeat.test.ts",{"duration":6134.208708,"failed":false}],[":tests/cli/bin-entrypoint.test.ts",{"duration":2356.6729579999997,"failed":false}],[":tests/sandbox/cli.test.ts",{"duration":330.127208,"failed":false}],[":tests/cli/vault-auth.test.ts",{"duration":12.235790999999992,"failed":false}],[":tests/lib/encrypt.test.ts",{"duration":751.334375,"failed":false}],[":tests/cli/vault-share-gist.test.ts",{"duration":13.399875000000009,"failed":false}],[":tests/lib/secret-gist-share.test.ts",{"duration":1.6420000000000101,"failed":false}],[":tests/cli/vault-list-filters.test.ts",{"duration":11.936207999999993,"failed":false}],[":tests/cli/start.test.ts",{"duration":1.5904170000000022,"failed":false}],[":tests/cli/wallet.test.ts",{"duration":1.4838330000000042,"failed":false}],[":tests/cli/prompt-select.test.ts",{"duration":3.351666999999992,"failed":false}],[":tests/cli/quickhack.test.ts",{"duration":1.8282920000000047,"failed":false}],[":tests/lib/human-action-summary.test.ts",{"duration":2.337417000000002,"failed":false}],[":tests/pipeline-db/paths.test.ts",{"duration":5.902790999999979,"failed":false}],[":tests/pipeline-db/bootstrap.test.ts",{"duration":39.007125,"failed":false}],[":tests/pipeline-db/snapshot.test.ts",{"duration":29.974833999999987,"failed":false}],[":tests/pipeline-db/dual-write.test.ts",{"duration":60.147583,"failed":false}],[":tests/pipeline-db/importer.test.ts",{"duration":33.614417,"failed":false}],[":tests/pipeline-lifecycle/service.test.ts",{"duration":32.389666000000005,"failed":false}],[":tests/pipeline-lifecycle/taskctl.test.ts",{"duration":2885.294625,"failed":false}],[":tests/pipeline-lifecycle/agent-cron-integration.test.ts",{"duration":28.44970900000004,"failed":false}],[":tests/pipeline-db/cutover-plan.test.ts",{"duration":2.5047919999999806,"failed":false}],[":tests/lib/approval-link.test.ts",{"duration":1.1218749999999957,"failed":false}],[":tests/lib/dont-ask-again-policy.test.ts",{"duration":1.1678750000000022,"failed":false}],[":tests/lib/update-check.test.ts",{"duration":1.1884170000000012,"failed":false}],[":tests/lib/auto-execute.test.ts",{"duration":106.62849999999999,"failed":false}],[":tests/lib/auth-action.test.ts",{"duration":2726.3536249999997,"failed":false}],[":tests/cli/auth-action-flag.test.ts",{"duration":2.728625000000008,"failed":false}],[":tests/pipeline-lifecycle/tags.test.ts",{"duration":321.27825,"failed":false}],[":tests/endpoints/nuke.test.ts",{"duration":69.0028749999999,"failed":false}],[":tests/endpoints/apikeys.test.ts",{"duration":11085.063833,"failed":false}],[":tests/endpoints/security.test.ts",{"duration":9164.535417000001,"failed":false}],[":tests/endpoints/dashboard.test.ts",{"duration":103.2655420000001,"failed":false}],[":tests/endpoints/logs.test.ts",{"duration":183.44812500000035,"failed":false}],[":tests/endpoints/views.test.ts",{"duration":17.28716600000007,"failed":false}],[":tests/endpoints/flags.test.ts",{"duration":12.482625000000098,"failed":false}],[":tests/endpoints/lock.test.ts",{"duration":11063.760583,"failed":false}],[":tests/endpoints/backup.test.ts",{"duration":6926.148333000001,"failed":false}],[":tests/auth/approval-permissions-regression.test.ts",{"duration":3115.176916,"failed":false}],[":tests/sandbox/cli-cd-suite.test.ts",{"duration":636.654083,"failed":false}],[":tests/mcp/contract.test.ts",{"duration":118.792334,"failed":false}],[":tests/lib/credential-paths.test.ts",{"duration":5431.254583,"failed":false}],[":tests/runtime-vault-smoke.test.ts",{"duration":1489.8287910000001,"failed":false}],[":tests/cli/taskctl-lock-smoke.test.ts",{"duration":0,"failed":false}],[":tests/cli/start-run.test.ts",{"duration":3.226124999999996,"failed":false}],[":tests/cli/restart-run.test.ts",{"duration":2.490250000000003,"failed":false}]]}
|
|
1
|
+
{"version":"4.0.18","results":[[":tests/send.test.ts",{"duration":162.08154100000002,"failed":false}],[":tests/approve.test.ts",{"duration":257.27824999999996,"failed":false}],[":tests/unlock.test.ts",{"duration":213.61050000000003,"failed":false}],[":tests/setup.test.ts",{"duration":128.30779199999998,"failed":false}],[":tests/e2e.test.ts",{"duration":5542.1355,"failed":false}],[":tests/wallet.test.ts",{"duration":1768.446334,"failed":false}],[":tests/auth.test.ts",{"duration":174.709292,"failed":false}],[":tests/fund.test.ts",{"duration":820.6141660000001,"failed":false}],[":tests/integration/agent-flow.test.ts",{"duration":8043.96775,"failed":false}],[":tests/auth/permissions.test.ts",{"duration":9921.893,"failed":false}],[":tests/auth/middleware.test.ts",{"duration":11251.2305,"failed":false}],[":tests/lib/sessions.test.ts",{"duration":66.52629200000001,"failed":false}],[":tests/lib/auth.test.ts",{"duration":6056.760333,"failed":false}],[":tests/endpoints/unlock.test.ts",{"duration":10998.830624999999,"failed":false}],[":tests/endpoints/wallet.test.ts",{"duration":4641.078583,"failed":false}],[":tests/endpoints/approve.test.ts",{"duration":497.64808300000004,"failed":false}],[":tests/endpoints/fund.test.ts",{"duration":2246.339125,"failed":false}],[":tests/endpoints/send.test.ts",{"duration":2710.9561249999997,"failed":false}],[":tests/endpoints/auth.test.ts",{"duration":1415.0362080000002,"failed":false}],[":tests/endpoints/setup.test.ts",{"duration":6810.38675,"failed":false}],[":tests/lib/uniswap.test.ts",{"duration":11.758040999999992,"failed":false}],[":tests/auth/apikeys.test.ts",{"duration":15780.48475,"failed":false}],[":tests/endpoints/wallet-data.test.ts",{"duration":2606.291084,"failed":false}],[":tests/endpoints/swap.test.ts",{"duration":2211.5143749999997,"failed":false}],[":tests/endpoints/token-clearing.test.ts",{"duration":1528.4631250000002,"failed":false}],[":tests/endpoints/rate-limit.test.ts",{"duration":2578.602459,"failed":false}],[":tests/endpoints/solana-swap.test.ts",{"duration":1394.993167,"failed":false}],[":tests/endpoints/solana-wallet.test.ts",{"duration":1605.440083,"failed":false}],[":tests/endpoints/solana-send.test.ts",{"duration":1401.5203339999998,"failed":false}],[":tests/lib/sessions-currency.test.ts",{"duration":69.8163340000001,"failed":false}],[":tests/endpoints/solana-fund.test.ts",{"duration":1899.7350829999998,"failed":false}],[":tests/lib/solana-wallet.test.ts",{"duration":148.233459,"failed":false}],[":tests/lib/address.test.ts",{"duration":2.4245829999999984,"failed":false}],[":tests/lib/strategy/sources.test.ts",{"duration":19.827208999999996,"failed":false}],[":tests/lib/strategy/loader.test.ts",{"duration":13.460875000000001,"failed":false}],[":tests/lib/strategy/executor.test.ts",{"duration":7.6014590000000055,"failed":false}],[":tests/lib/strategy/state.test.ts",{"duration":6.630915999999999,"failed":false}],[":tests/lib/strategy/hooks.test.ts",{"duration":11.513958000000002,"failed":false}],[":tests/endpoints/widgets.test.ts",{"duration":2127.785625,"failed":false}],[":tests/lib/strategy/message.test.ts",{"duration":112.48124999999999,"failed":false}],[":tests/endpoints/actions.test.ts",{"duration":2974.7610409999998,"failed":false}],[":tests/endpoints/vault.test.ts",{"duration":7040.740875,"failed":false}],[":tests/integration/adapter-resolve.test.ts",{"duration":4876.991833,"failed":false}],[":tests/lib/adapters.test.ts",{"duration":30.563458000000026,"failed":false}],[":tests/lib/strategy/tick.test.ts",{"duration":6.21029200000001,"failed":false}],[":tests/lib/relay.test.ts",{"duration":4.986625000000004,"failed":false}],[":tests/lib/ai.test.ts",{"duration":7.112666000000004,"failed":false}],[":tests/endpoints/launch.test.ts",{"duration":31373.419291,"failed":false}],[":tests/widget-installer.test.ts",{"duration":154.704459,"failed":false}],[":tests/mcp/tools.test.ts",{"duration":17.773958000000007,"failed":false}],[":tests/ai-integration/scenarios.test.ts",{"duration":7.4487499999999045,"failed":true}],[":tests/mcp/server.test.ts",{"duration":253.838708,"failed":false}],[":tests/ai-integration/live.test.ts",{"duration":77572.38508299999,"failed":false}],[":tests/auth/apikeys-validate.test.ts",{"duration":14544.0785,"failed":false}],[":tests/lib/adapters-test.test.ts",{"duration":21605.211208,"failed":false}],[":tests/setup-integration/wizard-flow.test.ts",{"duration":124.21662500000002,"failed":false}],[":tests/setup-integration/adapter-test.test.ts",{"duration":166.0367080000001,"failed":false}],[":tests/setup-integration/edge-cases.test.ts",{"duration":156.02324999999996,"failed":false}],[":tests/setup-integration/apikey-validation.test.ts",{"duration":147.53583400000002,"failed":false}],[":tests/setup-integration/fresh-setup.test.ts",{"duration":107.81912499999999,"failed":false}],[":tests/lib/network.test.ts",{"duration":10.113332999999997,"failed":false}],[":tests/cli/process.test.ts",{"duration":43.565667000000005,"failed":false}],[":tests/cli/init-steps.test.ts",{"duration":4.7961250000000035,"failed":false}],[":tests/cli/init-flow.test.ts",{"duration":2953.181,"failed":false}],[":tests/cli/http.test.ts",{"duration":1751.5994580000001,"failed":false}],[":tests/lib/verified-summary.test.ts",{"duration":7.368291999999997,"failed":false}],[":tests/lib/defaults.test.ts",{"duration":62.19125000000008,"failed":false}],[":tests/endpoints/defaults.test.ts",{"duration":8737.033667,"failed":false}],[":tests/lib/adapters-chat.test.ts",{"duration":27.71641600000001,"failed":false}],[":tests/setup-integration/terminal-flow.test.ts",{"duration":248.770042,"failed":false}],[":tests/endpoints/transactions.test.ts",{"duration":1432.0227919999998,"failed":false}],[":tests/cron/scheduler.test.ts",{"duration":13.380291,"failed":false}],[":tests/endpoints/portfolio.test.ts",{"duration":319.17729099999997,"failed":false}],[":tests/cron/native-price.test.ts",{"duration":81.55558300000007,"failed":false}],[":tests/resolve.test.ts",{"duration":19.26333299999999,"failed":false}],[":tests/lib/prices.test.ts",{"duration":74.10825,"failed":false}],[":tests/swap-quote.test.ts",{"duration":1306.3028330000002,"failed":false}],[":tests/send-token.test.ts",{"duration":1320.8559999999998,"failed":false}],[":tests/endpoints/price.test.ts",{"duration":37.36933299999998,"failed":false}],[":tests/lib/price.test.ts",{"duration":4.5745000000000005,"failed":false}],[":tests/endpoints/token-search.test.ts",{"duration":34.110874999999965,"failed":false}],[":tests/lib/token-search.test.ts",{"duration":63.18429099999999,"failed":false}],[":tests/lib/token-safety.test.ts",{"duration":4.000667000000007,"failed":false}],[":tests/endpoints/token-safety.test.ts",{"duration":37.34512500000005,"failed":false}],[":tests/lib/batch.test.ts",{"duration":5.793709000000007,"failed":false}],[":tests/endpoints/batch.test.ts",{"duration":45.922416999999996,"failed":false}],[":tests/endpoints/token-balance.test.ts",{"duration":29.823167000000012,"failed":false}],[":tests/lib/events-decoder.test.ts",{"duration":5.750207999999986,"failed":false}],[":tests/lib/events-enricher.test.ts",{"duration":5.026082999999971,"failed":false}],[":tests/endpoints/address-transactions.test.ts",{"duration":1309.8184579999997,"failed":false}],[":tests/endpoints/bookmarks.test.ts",{"duration":1555.5624579999999,"failed":false}],[":tests/endpoints/addressbook.test.ts",{"duration":1382.1184580000001,"failed":false}],[":tests/lib/strategy/session-logger.test.ts",{"duration":1494.328042,"failed":false}],[":tests/cron/incoming-scan.test.ts",{"duration":248.59550000000013,"failed":false}],[":tests/lib/auto-unlock.test.ts",{"duration":1041.5020000000002,"failed":false}],[":tests/lib/widget-tokens-tier.test.ts",{"duration":226.36699999999996,"failed":false}],[":tests/cron/strategy-runner.test.ts",{"duration":6.326374999999999,"failed":false}],[":tests/endpoints/strategy-routes.test.ts",{"duration":15938.946708000001,"failed":false}],[":tests/endpoints/apps.test.ts",{"duration":29924.5905,"failed":false}],[":tests/lib/events-fetcher.test.ts",{"duration":6.55845800000003,"failed":false}],[":tests/app-installer.test.ts",{"duration":93.010583,"failed":false}],[":tests/lib/app-tokens-tier.test.ts",{"duration":271.63308399999994,"failed":false}],[":tests/setup-integration/onboarding-e2e.test.ts",{"duration":13.635041000000001,"failed":true}],[":tests/cron/orphan-cleanup.test.ts",{"duration":4.333790999999991,"failed":false}],[":tests/lib/strategy/repository.test.ts",{"duration":11.721957999999972,"failed":false}],[":tests/setup-integration/autonomous-agent.test.ts",{"duration":12.969625000000065,"failed":true}],[":tests/lib/websocket-auth.test.ts",{"duration":228.69291599999997,"failed":false}],[":tests/lib/credentials.test.ts",{"duration":10919.058042,"failed":false}],[":tests/lib/credential-access.test.ts",{"duration":3.304832999999988,"failed":false}],[":tests/lib/credential-scope.test.ts",{"duration":3.1159580000000062,"failed":false}],[":tests/endpoints/credential-ops.test.ts",{"duration":2425.9035,"failed":false}],[":tests/endpoints/credentials.test.ts",{"duration":33323.499209,"failed":false}],[":tests/lib/credential-transport.test.ts",{"duration":66.86329199999999,"failed":false}],[":tests/lib/credential-vault.test.ts",{"duration":4276.836458,"failed":false}],[":tests/lib/resolve-action.test.ts",{"duration":8.908958000000013,"failed":false}],[":tests/credential-import.test.ts",{"duration":27.031874999999985,"failed":false}],[":tests/endpoints/passkey.test.ts",{"duration":20264.414292,"failed":false}],[":tests/lib/oauth2-refresh.test.ts",{"duration":3.7727920000000097,"failed":false}],[":tests/lib/totp.test.ts",{"duration":5.5882079999999945,"failed":false}],[":tests/lib/passkey-credential.test.ts",{"duration":7.255499999999998,"failed":false}],[":tests/cli/env.test.ts",{"duration":5.699083000000002,"failed":false}],[":tests/dotenv-parser.test.ts",{"duration":3.2051249999999953,"failed":false}],[":tests/cli/socket.test.ts",{"duration":195.23025,"failed":false}],[":tests/cli/vault.test.ts",{"duration":4.143040999999997,"failed":false}],[":tests/cli/credential-resolve.test.ts",{"duration":3.847082999999998,"failed":false}],[":tests/cli/env-check-server-vault.test.ts",{"duration":276.242375,"failed":false}],[":tests/e2e-agent/validation.test.ts",{"duration":7.621374999999986,"failed":false}],[":tests/e2e-agent/artifacts.test.ts",{"duration":1.976040999999995,"failed":false}],[":tests/e2e-agent/ci-lanes.test.ts",{"duration":1.1224169999999987,"failed":false}],[":tests/lib/api-registry/validation.test.ts",{"duration":6.315958000000009,"failed":false}],[":tests/lib/aura-parser.test.ts",{"duration":8.663333000000009,"failed":false}],[":tests/lib/agent-auth/contracts.test.ts",{"duration":8.790000000000006,"failed":false}],[":tests/cli/doctor.test.ts",{"duration":2.7008329999999887,"failed":false}],[":tests/endpoints/import.test.ts",{"duration":12217.2965,"failed":false}],[":tests/endpoints/passkey-credentials.test.ts",{"duration":3571.411916,"failed":false}],[":tests/lib/credential-health.test.ts",{"duration":2.7256249999999937,"failed":false}],[":tests/lib/agent-profiles.test.ts",{"duration":3.8460420000000113,"failed":false}],[":tests/mcp/profile-policy.test.ts",{"duration":3.2767079999999993,"failed":false}],[":tests/endpoints/profile-parity.test.ts",{"duration":9.213209000000006,"failed":true}],[":tests/lib/profile-parity.test.ts",{"duration":1.638292000000007,"failed":false}],[":tests/endpoints/credential-access-audit.test.ts",{"duration":2440.763542,"failed":false}],[":tests/lib/project-scope.test.ts",{"duration":5.47037499999999,"failed":false}],[":tests/docs/job-docs-validation.test.ts",{"duration":34.79616700000001,"failed":false}],[":tests/endpoints/credential-shares.test.ts",{"duration":8664.787834,"failed":false}],[":tests/lib/task-lifecycle.test.ts",{"duration":7.928124999999994,"failed":false}],[":tests/endpoints/tasks-lifecycle.test.ts",{"duration":191.46470899999997,"failed":false}],[":tests/cli/local-agent-trust.test.ts",{"duration":2.7045420000000036,"failed":false}],[":tests/cli/token.test.ts",{"duration":1.5372500000000002,"failed":false}],[":tests/endpoints/heartbeat.test.ts",{"duration":6067.912917,"failed":false}],[":tests/cli/bin-entrypoint.test.ts",{"duration":1803.103708,"failed":false}],[":tests/sandbox/cli.test.ts",{"duration":275.04775,"failed":false}],[":tests/cli/vault-auth.test.ts",{"duration":15.430624999999992,"failed":false}],[":tests/lib/encrypt.test.ts",{"duration":723.609167,"failed":false}],[":tests/cli/vault-share-gist.test.ts",{"duration":13.568374999999989,"failed":false}],[":tests/lib/secret-gist-share.test.ts",{"duration":1.9059579999999983,"failed":false}],[":tests/cli/vault-list-filters.test.ts",{"duration":11.13624999999999,"failed":false}],[":tests/cli/start.test.ts",{"duration":1.710125000000005,"failed":false}],[":tests/cli/wallet.test.ts",{"duration":1.3889579999999881,"failed":false}],[":tests/cli/prompt-select.test.ts",{"duration":3.0894579999999934,"failed":false}],[":tests/cli/quickhack.test.ts",{"duration":1.917541,"failed":false}],[":tests/lib/human-action-summary.test.ts",{"duration":2.073166999999998,"failed":false}],[":tests/pipeline-db/paths.test.ts",{"duration":5.902790999999979,"failed":false}],[":tests/pipeline-db/bootstrap.test.ts",{"duration":39.007125,"failed":false}],[":tests/pipeline-db/snapshot.test.ts",{"duration":29.974833999999987,"failed":false}],[":tests/pipeline-db/dual-write.test.ts",{"duration":60.147583,"failed":false}],[":tests/pipeline-db/importer.test.ts",{"duration":33.614417,"failed":false}],[":tests/pipeline-lifecycle/service.test.ts",{"duration":32.389666000000005,"failed":false}],[":tests/pipeline-lifecycle/taskctl.test.ts",{"duration":2885.294625,"failed":false}],[":tests/pipeline-lifecycle/agent-cron-integration.test.ts",{"duration":28.44970900000004,"failed":false}],[":tests/pipeline-db/cutover-plan.test.ts",{"duration":2.5047919999999806,"failed":false}],[":tests/lib/approval-link.test.ts",{"duration":1.0357500000000002,"failed":false}],[":tests/lib/dont-ask-again-policy.test.ts",{"duration":1.1983330000000052,"failed":false}],[":tests/lib/update-check.test.ts",{"duration":1.2242079999999973,"failed":false}],[":tests/lib/auto-execute.test.ts",{"duration":107.58679199999999,"failed":false}],[":tests/lib/auth-action.test.ts",{"duration":2706.842333,"failed":false}],[":tests/cli/auth-action-flag.test.ts",{"duration":6.480958999999999,"failed":false}],[":tests/pipeline-lifecycle/tags.test.ts",{"duration":321.27825,"failed":false}],[":tests/endpoints/nuke.test.ts",{"duration":69.0028749999999,"failed":false}],[":tests/endpoints/apikeys.test.ts",{"duration":11085.063833,"failed":false}],[":tests/endpoints/security.test.ts",{"duration":9164.535417000001,"failed":false}],[":tests/endpoints/dashboard.test.ts",{"duration":103.2655420000001,"failed":false}],[":tests/endpoints/logs.test.ts",{"duration":183.44812500000035,"failed":false}],[":tests/endpoints/views.test.ts",{"duration":17.28716600000007,"failed":false}],[":tests/endpoints/flags.test.ts",{"duration":12.482625000000098,"failed":false}],[":tests/endpoints/lock.test.ts",{"duration":11063.760583,"failed":false}],[":tests/endpoints/backup.test.ts",{"duration":6926.148333000001,"failed":false}],[":tests/auth/approval-permissions-regression.test.ts",{"duration":2894.353,"failed":false}],[":tests/sandbox/cli-cd-suite.test.ts",{"duration":725.647875,"failed":false}],[":tests/mcp/contract.test.ts",{"duration":188.68249999999998,"failed":false}],[":tests/lib/credential-paths.test.ts",{"duration":5384.8385,"failed":false}],[":tests/runtime-vault-smoke.test.ts",{"duration":1512.8284169999997,"failed":false}],[":tests/cli/taskctl-lock-smoke.test.ts",{"duration":0,"failed":false}],[":tests/cli/start-run.test.ts",{"duration":3.4813339999999897,"failed":false}],[":tests/cli/restart-run.test.ts",{"duration":3.6471659999999986,"failed":false}]]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2927],{318:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(1847).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},1360:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(1847).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},2927:(e,t,a)=>{a.r(t),a.d(t,{SetupWizardApp:()=>A,default:()=>I});var l=a(5155),s=a(2115),r=a(5917),o=a(4033),c=a(318),n=a(5299),i=a(8192);let d=(0,a(1847).A)("FlaskConical",[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]]);var x=a(1360),p=a(5229),u=a(5867),m=a(9068),v=a(7586),h=a(5880),y=a(3667),f=a(960);let g={"claude-cli":null,"claude-api":"anthropic","codex-cli":null,"openai-api":"openai"},j={anthropic:"Anthropic",openai:"OpenAI"},b={anthropic:"sk-ant-...",openai:"sk-..."},k={"claude-cli":"Make sure the `claude` CLI is installed and you're logged in (`claude login`).","codex-cli":"Make sure the `codex` CLI is installed and you're authenticated."};function N(e){let{number:t,title:a,subtitle:s,icon:n,done:i,expanded:d,onToggle:x,children:p,doneContent:u}=e;return(0,l.jsxs)("div",{style:{border:"1px solid var(--color-border)",background:"var(--color-surface)"},children:[(0,l.jsxs)("button",{onClick:x,className:"w-full flex items-center gap-3 p-3 text-left",children:[(0,l.jsx)("div",{className:"w-6 h-6 flex items-center justify-center flex-shrink-0",style:{background:i?"var(--color-success)":"var(--color-background-alt)",border:i?"none":"1px solid var(--color-border)"},children:i?(0,l.jsx)(r.A,{size:12,style:{color:"white"}}):(0,l.jsx)("span",{className:"font-mono text-[10px] font-bold",style:{color:"var(--color-text-muted)"},children:t})}),(0,l.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{style:{color:i?"var(--color-success)":"var(--color-text)"},children:n}),(0,l.jsx)("span",{className:"font-mono text-[11px] font-bold",style:{color:i?"var(--color-success)":"var(--color-text)"},children:a})]}),(0,l.jsx)("div",{className:"font-mono text-[9px]",style:{color:"var(--color-text-muted)"},children:s})]}),d?(0,l.jsx)(o.A,{size:14,style:{color:"var(--color-text-muted)"}}):(0,l.jsx)(c.A,{size:14,style:{color:"var(--color-text-muted)"}})]}),d&&(0,l.jsx)("div",{className:"px-3 pb-3 border-t",style:{borderColor:"var(--color-border)"},children:i?u:p})]})}let A=()=>{let[e,t]=(0,s.useState)(null),[a,o]=(0,s.useState)(!0),[c,A]=(0,s.useState)(null),[I,C]=(0,s.useState)(!1),[w,S]=(0,s.useState)(null),[z,F]=(0,s.useState)(!0),[T,E]=(0,s.useState)("claude-cli"),[H,P]=(0,s.useState)(""),[W,M]=(0,s.useState)(!1),[D,V]=(0,s.useState)(""),[L,R]=(0,s.useState)(!1),[$,O]=(0,s.useState)(null),[_,q]=(0,s.useState)(!1),[U,K]=(0,s.useState)("admin"),[Y,B]=(0,s.useState)(!1),[G,X]=(0,s.useState)(""),[J,Q]=(0,s.useState)(!1),[Z,ee]=(0,s.useState)(""),[et,ea]=(0,s.useState)(""),[el,es]=(0,s.useState)(""),[er,eo]=(0,s.useState)(""),[ec,en]=(0,s.useState)(!0),[ei,ed]=(0,s.useState)("token"),[ex,ep]=(0,s.useState)(!1),[eu,em]=(0,s.useState)(""),[ev,eh]=(0,s.useState)(""),[,ey]=(0,s.useState)(""),[ef,eg]=(0,s.useState)(""),ej=(0,s.useRef)(null),[eb,ek]=(0,s.useState)(null),[eN,eA]=(0,s.useState)(!1),[eI,eC]=(0,s.useState)(null),[ew,eS]=(0,s.useState)(!1),[ez,eF]=(0,s.useState)(!1),[eT,eE]=(0,s.useState)("provider"),[eH,eP]=(0,s.useState)(!1),eW=(0,s.useCallback)(async()=>{try{let e=await f.FH.get(f.jI.Wallet,"/ai/status");return S(e),E(e.activeProvider),e}catch(e){return null}finally{F(!1)}},[]),eM=(0,s.useCallback)(e=>{if(!e)return!1;let t=e.providers.find(t=>t.mode===e.activeProvider);return!!(null==t?void 0:t.available)},[]),eD=(0,s.useCallback)(async()=>{try{let e=await f.FH.get(f.jI.Wallet,"/setup");return t(e),e}catch(e){return null}},[]),eV=(0,s.useCallback)((e,t,a)=>{eM(e)||(null!=a?a:eH)?(null==t?void 0:t.apiKeys.alchemy)?(null==t?void 0:t.adapters.telegram)?A(null):A(3):A(2):A(1)},[eM,eH]);(0,s.useEffect)(()=>{(async()=>{try{let[e,t]=await Promise.all([eD(),eW(),f.FH.get(f.jI.Wallet,"/defaults").then(e=>{let t=(e.permissions||[]).find(e=>"permissions.agent_tier"===e.key);t&&K(t.value)}).catch(()=>{})]),a=(null==e?void 0:e.address)||"unknown",l="true"===localStorage.getItem("agentPaired:".concat(a));eP(l),l&&eE("agent"),eV(t,e,l)}finally{o(!1)}})()},[eD,eW,eV]);let eL=async e=>{K(e),B(!0);try{await f.FH.patch(f.jI.Wallet,"/defaults/".concat(encodeURIComponent("permissions.agent_tier")),{value:e})}catch(t){K("admin"===e?"restricted":"admin")}finally{B(!1)}},eR=async()=>{let t=g[T];if(t){V(""),M(!0);try{let a=await f.FH.post(f.jI.Wallet,"/apikeys/validate",{service:t,key:H.trim()});if(!a.valid)return void V(a.error||"Invalid key");await f.FH.post(f.jI.Wallet,"/apikeys",{service:t,name:"default",key:H.trim()}),P(""),await f.FH.patch(f.jI.Wallet,"/defaults/".concat(encodeURIComponent("ai.provider")),{value:T}),ek(null);let l=await eW();eV(l,e)}catch(e){V(e instanceof Error?e.message:"Failed to validate")}finally{M(!1)}}},e$=async()=>{V(""),R(!0),O(null);try{let t=await f.FH.get(f.jI.Wallet,"/ai/status");S(t);let a=t.providers.find(e=>e.mode===T);(null==a?void 0:a.available)?(O("success"),q(!0),await f.FH.patch(f.jI.Wallet,"/defaults/".concat(encodeURIComponent("ai.provider")),{value:T}),ek(null),eV(t,e),q(!1)):(O("fail"),V((null==a?void 0:a.reason)||"Provider not available"))}catch(e){O("fail"),V(e instanceof Error?e.message:"Test failed")}finally{R(!1)}},eO=async()=>{ee(""),Q(!0);try{let e=await f.FH.post(f.jI.Wallet,"/apikeys/validate",{service:"alchemy",key:G});if(!e.valid)return void ee(e.error||"Invalid key");await f.FH.post(f.jI.Wallet,"/apikeys",{service:"alchemy",name:"default",key:G}),X(""),ek(null);let t=await eD();eV(w,t)}catch(e){ee(e instanceof Error?e.message:"Failed to validate")}finally{Q(!1)}},e_=async()=>{em(""),ep(!0);try{var e;let t=await f.FH.post(f.jI.Wallet,"/apikeys/validate",{service:"adapter:telegram",key:et});if(!t.valid)return void em(t.error||"Invalid bot token");es((null==(e=t.info)?void 0:e.botUsername)||"");let a=await f.FH.post(f.jI.Wallet,"/adapters/telegram/setup-link",{botToken:et});if(!a.success){em(a.error||"Failed to generate setup link"),ed("chatId");return}eh(a.link),ey(a.setupToken),es(a.botUsername),ed("detecting"),eq(a.setupToken)}catch(e){em(e instanceof Error?e.message:"Failed to validate")}finally{ep(!1)}},eq=async e=>{let t=new AbortController;ej.current=t;for(let a=0;a<3;a++){if(t.signal.aborted)return;try{let a=await f.FH.post(f.jI.Wallet,"/adapters/telegram/detect-chat",{setupToken:e});if(t.signal.aborted)return;if(a.chatId){eo(a.chatId);let e=a.username?"@".concat(a.username):a.firstName||"";eg(e),ed("testing");try{await f.FH.post(f.jI.Wallet,"/apikeys",{service:"adapter:telegram",name:"botToken",key:et}),await f.FH.post(f.jI.Wallet,"/adapters",{type:"telegram",enabled:!0,config:{chatId:a.chatId},chat:{enabled:!0}}),await f.FH.post(f.jI.Wallet,"/adapters/restart");try{await f.FH.post(f.jI.Wallet,"/adapters/test",{type:"telegram"})}catch(e){}ed("done"),ea(""),ek(null);let e=await eD();eV(w,e)}catch(e){ed("chatId")}return}}catch(e){if(t.signal.aborted)return;break}}t.signal.aborted||(ed("chatId"),em("Auto-detection timed out. Enter your chat ID manually."))};(0,s.useEffect)(()=>()=>{var e;null==(e=ej.current)||e.abort()},[]);let eU=async()=>{em(""),ep(!0),ed("testing");try{await f.FH.post(f.jI.Wallet,"/apikeys",{service:"adapter:telegram",name:"botToken",key:et}),await f.FH.post(f.jI.Wallet,"/adapters",{type:"telegram",enabled:!0,config:{chatId:er},...ec?{chat:{enabled:!0}}:{}}),await f.FH.post(f.jI.Wallet,"/adapters/restart");let e=await f.FH.post(f.jI.Wallet,"/adapters/test",{type:"telegram"});if(!e.success){em(e.error||"Test message failed"),ed("chatId");return}ed("done"),ea(""),eo(""),ek(null);let t=await eD();eV(w,t)}catch(e){em(e instanceof Error?e.message:"Activation failed"),ed("chatId")}finally{ep(!1)}},eK=async e=>{let{apiKeys:t}=await f.FH.get(f.jI.Wallet,"/apikeys"),a=t.find(t=>t.service===e);a&&await f.FH.delete(f.jI.Wallet,"/apikeys/".concat(a.id))},eY=async()=>{eS(!0);try{await eK("alchemy"),ek(2);let e=await eD();eV(w,e)}finally{eS(!1)}},eB=async()=>{eF(!0);try{var e;null==(e=ej.current)||e.abort(),await f.FH.delete(f.jI.Wallet,"/adapters/telegram"),await eK("adapter:telegram"),await f.FH.post(f.jI.Wallet,"/adapters/restart"),ea(""),es(""),eo(""),en(!1),eh(""),ey(""),eg(""),ed("token"),em(""),ek(3);let t=await eD();eV(w,t)}finally{eF(!1)}},eG=()=>{let t=(null==e?void 0:e.address)||"unknown";localStorage.setItem("setupWizardDismissed:".concat(t),"true"),C(!0)};if(I)return(0,l.jsx)("div",{className:"flex items-center justify-center py-8",children:(0,l.jsx)("div",{className:"font-mono text-[10px]",style:{color:"var(--color-text-muted)"},children:"Dismissed. Close this app with the X button above."})});if(a)return(0,l.jsx)("div",{className:"flex items-center justify-center py-8",children:(0,l.jsx)(n.A,{size:20,className:"animate-spin",style:{color:"var(--color-text-muted)"}})});let eX=eM(w),eJ=(eX||eH)&&(null==e?void 0:e.apiKeys.alchemy)&&(null==e?void 0:e.adapters.telegram),eQ=null==w?void 0:w.providers.find(e=>e.mode===T),eZ=null==w?void 0:w.providers.find(e=>e.mode===w.activeProvider),e0=g[T],e1=null===e0;return(0,l.jsxs)("div",{className:"space-y-1 p-1",children:[(0,l.jsx)("div",{className:"text-center mb-3",children:(0,l.jsx)("div",{className:"font-mono text-[10px] tracking-widest",style:{color:"var(--color-text-muted)"},children:eJ?"SETUP COMPLETE":"FINISH YOUR SETUP"})}),eJ&&(0,l.jsxs)("div",{className:"text-center py-4 space-y-3",children:[(0,l.jsx)("div",{className:"w-10 h-10 mx-auto flex items-center justify-center",style:{background:"var(--color-success)",color:"white"},children:(0,l.jsx)(r.A,{size:20})}),(0,l.jsx)("div",{className:"font-mono text-xs",style:{color:"var(--color-text)"},children:"All set! Your wallet is fully configured."})]}),(0,l.jsx)(N,{number:1,title:"AI Agent",subtitle:"Connect an AI provider or pair with an agent",icon:(0,l.jsx)(i.A,{size:14}),done:(eX||eH)&&1!==eb,expanded:1===c,onToggle:()=>A(1===c?null:1),doneContent:(0,l.jsxs)("div",{className:"space-y-2 pt-2",children:[eX&&!eH&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 p-2",style:{background:"var(--color-background-alt)",border:"1px solid var(--color-border)"},children:[(0,l.jsx)(r.A,{size:12,style:{color:"var(--color-success)"}}),(0,l.jsxs)("span",{className:"font-mono text-[10px]",style:{color:"var(--color-success)"},children:[(null==eZ?void 0:eZ.label)||(null==w?void 0:w.activeProvider)||"AI provider"," configured"]})]}),"success"===eI&&(0,l.jsxs)("div",{className:"flex items-center gap-2 p-1.5",style:{border:"1px solid var(--color-success)",color:"var(--color-success)"},children:[(0,l.jsx)(r.A,{size:10}),(0,l.jsx)("span",{className:"font-mono text-[9px]",children:"Provider available"})]}),"fail"===eI&&(0,l.jsx)("div",{className:"font-mono text-[9px]",style:{color:"var(--color-warning)"},children:"Provider not available"}),(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(y.$n,{variant:"ghost",size:"sm",onClick:async()=>{eA(!0),eC(null);try{let e=await f.FH.get(f.jI.Wallet,"/ai/status");S(e);let t=e.providers.find(t=>t.mode===e.activeProvider);eC((null==t?void 0:t.available)?"success":"fail")}catch(e){eC("fail")}finally{eA(!1)}},disabled:eN,loading:eN,icon:(0,l.jsx)(d,{size:10}),children:"TEST"}),(0,l.jsx)(y.$n,{variant:"ghost",size:"sm",onClick:()=>{P(""),V(""),O(null),eC(null),ek(1)},icon:(0,l.jsx)(x.A,{size:10}),children:"CHANGE"})]})]}),eH&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 p-2",style:{background:"var(--color-background-alt)",border:"1px solid var(--color-border)"},children:[(0,l.jsx)(r.A,{size:12,style:{color:"var(--color-success)"}}),(0,l.jsx)("span",{className:"font-mono text-[10px]",style:{color:"var(--color-success)"},children:"Agent paired externally"})]}),(0,l.jsx)(y.$n,{variant:"ghost",size:"sm",onClick:()=>{let t=(null==e?void 0:e.address)||"unknown";localStorage.removeItem("agentPaired:".concat(t)),eP(!1),ek(1)},icon:(0,l.jsx)(x.A,{size:10}),children:"CHANGE"})]})]}),children:(0,l.jsxs)("div",{className:"space-y-3 pt-2",children:[(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsxs)("button",{onClick:()=>eE("provider"),className:"flex-1 p-1.5 font-mono text-[9px] text-left",style:{border:"provider"===eT?"1px solid var(--color-accent, #ccff00)":"1px solid var(--color-border)",background:"provider"===eT?"var(--color-background-alt)":"transparent",color:"provider"===eT?"var(--color-text)":"var(--color-text-muted)"},children:[(0,l.jsx)("div",{className:"font-bold",children:"AI Provider"}),(0,l.jsx)("div",{className:"text-[8px]",style:{color:"var(--color-text-muted)"},children:"Claude Max, API keys"})]}),(0,l.jsxs)("button",{onClick:()=>eE("agent"),className:"flex-1 p-1.5 font-mono text-[9px] text-left",style:{border:"agent"===eT?"1px solid var(--color-accent, #ccff00)":"1px solid var(--color-border)",background:"agent"===eT?"var(--color-background-alt)":"transparent",color:"agent"===eT?"var(--color-text)":"var(--color-text-muted)"},children:[(0,l.jsx)("div",{className:"font-bold",children:"Pair with Agent"}),(0,l.jsx)("div",{className:"text-[8px]",style:{color:"var(--color-text-muted)"},children:"MCP, skill, CLI, API"})]})]}),"provider"===eT&&(0,l.jsx)(l.Fragment,{children:z?(0,l.jsx)("div",{className:"py-3 flex items-center justify-center",children:(0,l.jsx)(n.A,{size:14,className:"animate-spin",style:{color:"var(--color-text-muted)"}})}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"space-y-1",children:[(0,l.jsx)("div",{className:"font-mono text-[9px] font-bold",style:{color:"var(--color-text)"},children:"Provider"}),null==w?void 0:w.providers.map(e=>(0,l.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer py-1 px-1.5",style:{border:T===e.mode?"1px solid var(--color-accent, #ccff00)":"1px solid transparent",background:T===e.mode?"var(--color-background-alt, #f4f4f5)":"transparent"},children:[(0,l.jsx)("input",{type:"radio",name:"setup-ai-provider",value:e.mode,checked:T===e.mode,onChange:()=>{E(e.mode),P(""),V(""),O(null)},className:"accent-[var(--color-accent,#ccff00)]"}),(0,l.jsx)("span",{className:"font-mono text-[9px] flex-1",style:{color:"var(--color-text)"},children:e.label}),e.available?(0,l.jsx)(r.A,{size:10,style:{color:"var(--color-success, #22c55e)"}}):(0,l.jsx)(p.A,{size:10,style:{color:"var(--color-text-muted)"}}),!e.available&&(0,l.jsx)("span",{className:"font-mono text-[8px]",style:{color:"var(--color-text-muted)"},children:e.reason})]},e.mode))]}),e1&&eQ&&(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)("div",{className:"p-1.5 font-mono text-[8px]",style:{background:"var(--color-background-alt)",border:"1px solid var(--color-border)",color:"var(--color-text-muted)"},children:k[T]||"Make sure the CLI is installed and authenticated."}),"success"===$&&(0,l.jsxs)("div",{className:"flex items-center gap-2 p-1.5",style:{border:"1px solid var(--color-success)",color:"var(--color-success)"},children:[(0,l.jsx)(r.A,{size:10}),(0,l.jsx)("span",{className:"font-mono text-[9px]",children:"Available! Provider saved."})]}),(0,l.jsx)(y.$n,{size:"sm",onClick:e$,disabled:L||_,loading:L||_,icon:(0,l.jsx)(d,{size:10}),children:"TEST"})]}),!e1&&e0&&(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)(y.ks,{label:"".concat(j[e0]||e0," API Key"),type:"password",value:H,onChange:e=>{P(e.target.value),V("")},placeholder:b[e0]||"Paste your API key...",compact:!0,rightElement:(0,l.jsx)(u.A,{size:10,style:{color:"var(--color-text-muted)"}})}),(0,l.jsx)(y.$n,{size:"sm",onClick:eR,disabled:W||!H.trim(),loading:W,children:"VALIDATE & SAVE"})]}),D&&(0,l.jsx)("div",{className:"font-mono text-[9px]",style:{color:"var(--color-warning)"},children:D}),(0,l.jsxs)("div",{className:"space-y-1 pt-2 mt-2",style:{borderTop:"1px solid var(--color-border)"},children:[(0,l.jsx)("div",{className:"font-mono text-[9px] font-bold",style:{color:"var(--color-text)"},children:"Permission Level"}),(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsxs)("button",{onClick:()=>eL("admin"),disabled:Y,className:"flex-1 p-1.5 font-mono text-[9px] text-left",style:{border:"admin"===U?"1px solid var(--color-accent, #ccff00)":"1px solid var(--color-border)",background:"admin"===U?"var(--color-background-alt)":"transparent",color:"admin"===U?"var(--color-text)":"var(--color-text-muted)",opacity:Y?.5:1},children:[(0,l.jsx)("div",{className:"font-bold",children:"Full Admin"}),(0,l.jsx)("div",{className:"text-[8px]",style:{color:"var(--color-text-muted)"},children:"Recommended"})]}),(0,l.jsxs)("button",{onClick:()=>eL("restricted"),disabled:Y,className:"flex-1 p-1.5 font-mono text-[9px] text-left",style:{border:"restricted"===U?"1px solid var(--color-accent, #ccff00)":"1px solid var(--color-border)",background:"restricted"===U?"var(--color-background-alt)":"transparent",color:"restricted"===U?"var(--color-text)":"var(--color-text-muted)",opacity:Y?.5:1},children:[(0,l.jsx)("div",{className:"font-bold",children:"Restricted"}),(0,l.jsx)("div",{className:"text-[8px]",style:{color:"var(--color-text-muted)"},children:"Approval required"})]})]})]})]})}),"agent"===eT&&(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)("div",{className:"font-mono text-[9px]",style:{color:"var(--color-text-muted)"},children:"Choose the path that matches your setup:"}),[{label:"Agent Skill",desc:"Claude Code, Cursor, VS Code, Windsurf",cmd:"npx skills add Aura-Industry/auramaxx",note:'Then ask: "Set up my wallet"'},{label:"MCP Server",desc:"Claude Desktop or any MCP client",cmd:"npx auramaxx mcp --install",note:"Auto-configures your IDE"},{label:"Headless CLI",desc:"Local bots, CI/CD, containers",cmd:"npx tsx src/server/cli/index.ts",note:"Approve agent requests in terminal"},{label:"Direct API",desc:"Any language or platform",cmd:"curl http://localhost:4242/health",note:"POST /auth to bootstrap a token"}].map(e=>(0,l.jsxs)("div",{className:"p-2",style:{background:"var(--color-background-alt)",border:"1px solid var(--color-border)"},children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("span",{className:"font-mono text-[10px] font-bold",style:{color:"var(--color-text)"},children:e.label}),(0,l.jsx)("span",{className:"font-mono text-[8px]",style:{color:"var(--color-text-muted)"},children:e.desc})]}),(0,l.jsx)("div",{className:"font-mono text-[9px] mt-1 px-1.5 py-1",style:{background:"var(--color-surface)",border:"1px solid var(--color-border)",color:"var(--color-text-muted)"},children:e.cmd}),(0,l.jsx)("div",{className:"font-mono text-[8px] mt-1",style:{color:"var(--color-text-faint, #9ca3af)"},children:e.note})]},e.label)),(0,l.jsx)(y.$n,{size:"sm",onClick:()=>{let t=(null==e?void 0:e.address)||"unknown";localStorage.setItem("agentPaired:".concat(t),"true"),eP(!0),ek(null),eV(w,e)},className:"w-full",children:"I'VE CONNECTED"})]})]})}),(0,l.jsx)(N,{number:2,title:"RPC Provider",subtitle:"Add Alchemy for reliable RPC",icon:(0,l.jsx)(m.A,{size:14}),done:!!(null==e?void 0:e.apiKeys.alchemy)&&2!==eb,expanded:2===c,onToggle:()=>A(2===c?null:2),doneContent:(0,l.jsxs)("div",{className:"space-y-2 pt-2",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 p-2",style:{background:"var(--color-background-alt)",border:"1px solid var(--color-border)"},children:[(0,l.jsx)(r.A,{size:12,style:{color:"var(--color-success)"}}),(0,l.jsx)("span",{className:"font-mono text-[10px]",style:{color:"var(--color-success)"},children:"Alchemy key configured"})]}),(0,l.jsx)(y.$n,{variant:"ghost",size:"sm",onClick:eY,disabled:ew,loading:ew,icon:(0,l.jsx)(x.A,{size:10}),children:"REMOVE"})]}),children:(0,l.jsxs)("div",{className:"space-y-2 pt-2",children:[(0,l.jsx)(y.ks,{label:"ALCHEMY_KEY",type:"password",value:G,onChange:e=>X(e.target.value),placeholder:"Paste your Alchemy API key...",compact:!0}),Z&&(0,l.jsx)("div",{className:"font-mono text-[9px]",style:{color:"var(--color-warning)"},children:Z}),(0,l.jsx)(y.$n,{size:"sm",onClick:eO,disabled:J||!G,loading:J,children:"VALIDATE & SAVE"})]})}),(0,l.jsx)(N,{number:3,title:"Mobile Approvals",subtitle:"Approve agent actions via Telegram",icon:(0,l.jsx)(v.A,{size:14}),done:!!(null==e?void 0:e.adapters.telegram)&&3!==eb,expanded:3===c,onToggle:()=>A(3===c?null:3),doneContent:(0,l.jsxs)("div",{className:"space-y-2 pt-2",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 p-2",style:{background:"var(--color-background-alt)",border:"1px solid var(--color-border)"},children:[(0,l.jsx)(r.A,{size:12,style:{color:"var(--color-success)"}}),(0,l.jsx)("span",{className:"font-mono text-[10px]",style:{color:"var(--color-success)"},children:"Telegram connected"})]}),(0,l.jsx)("div",{className:"font-mono text-[8px]",style:{color:"var(--color-text-muted)"},children:"Agent chat is enabled by default. You can toggle it in System Defaults → Adapter Chat."}),(0,l.jsx)(y.$n,{variant:"ghost",size:"sm",onClick:eB,disabled:ez,loading:ez,icon:(0,l.jsx)(x.A,{size:10}),children:"REMOVE"})]}),children:(0,l.jsxs)("div",{className:"space-y-2 pt-2",children:["token"===ei&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"font-mono text-[8px]",style:{color:"var(--color-text-muted)"},children:"Approve agent actions from your phone via Telegram. Optionally, chat with your AI agent directly."}),(0,l.jsx)(y.ks,{label:"BOT_TOKEN",type:"password",value:et,onChange:e=>ea(e.target.value),placeholder:"123456:ABC-DEF...",compact:!0}),(0,l.jsx)("div",{className:"font-mono text-[8px]",style:{color:"var(--color-text-faint)"},children:"Create a bot via @BotFather on Telegram"}),(0,l.jsx)(y.$n,{size:"sm",onClick:e_,disabled:ex||!et,loading:ex,children:"VALIDATE BOT"})]}),"detecting"===ei&&(0,l.jsxs)(l.Fragment,{children:[el&&(0,l.jsxs)("div",{className:"flex items-center gap-2 p-2",style:{background:"var(--color-background-alt)",border:"1px solid var(--color-border)"},children:[(0,l.jsx)(r.A,{size:12,style:{color:"var(--color-success)"}}),(0,l.jsxs)("span",{className:"font-mono text-[10px]",style:{color:"var(--color-text)"},children:["@",el]})]}),(0,l.jsxs)(y.$n,{variant:"secondary",size:"sm",icon:(0,l.jsx)(h.A,{size:10}),onClick:()=>window.open(ev,"_blank"),children:["Open @",el," in Telegram"]}),(0,l.jsx)("div",{className:"font-mono text-[8px]",style:{color:"var(--color-text-faint)"},children:"Click the link above, then press Start in Telegram"}),(0,l.jsxs)("div",{className:"flex items-center gap-2 py-2",children:[(0,l.jsx)(n.A,{size:14,className:"animate-spin",style:{color:"var(--color-info)"}}),(0,l.jsx)("span",{className:"font-mono text-[10px]",style:{color:"var(--color-text-muted)"},children:"Waiting for you to press Start..."})]}),(0,l.jsx)(y.$n,{variant:"ghost",size:"sm",onClick:()=>{var e;null==(e=ej.current)||e.abort(),ed("chatId")},children:"ENTER MANUALLY"})]}),"chatId"===ei&&(0,l.jsxs)(l.Fragment,{children:[el&&(0,l.jsxs)("div",{className:"flex items-center gap-2 p-2",style:{background:"var(--color-background-alt)",border:"1px solid var(--color-border)"},children:[(0,l.jsx)(r.A,{size:12,style:{color:"var(--color-success)"}}),(0,l.jsxs)("span",{className:"font-mono text-[10px]",style:{color:"var(--color-text)"},children:["@",el]})]}),ef&&er&&(0,l.jsxs)("div",{className:"flex items-center gap-2 p-2",style:{background:"var(--color-background-alt)",border:"1px solid var(--color-success)"},children:[(0,l.jsx)(r.A,{size:12,style:{color:"var(--color-success)"}}),(0,l.jsxs)("span",{className:"font-mono text-[10px]",style:{color:"var(--color-success)"},children:["Detected: ",ef," (",er,")"]})]}),!ef&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(y.ks,{label:"CHAT_ID",type:"text",value:er,onChange:e=>eo(e.target.value),placeholder:"Your Telegram chat ID...",compact:!0}),(0,l.jsx)("div",{className:"font-mono text-[8px]",style:{color:"var(--color-text-faint)"},children:"Send /start to your bot, then use @userinfobot to get your chat ID"})]}),(0,l.jsxs)("label",{className:"flex items-center gap-2 py-1 cursor-pointer",children:[(0,l.jsx)("input",{type:"checkbox",checked:ec,onChange:e=>en(e.target.checked),className:"accent-[var(--color-accent)]"}),(0,l.jsx)("span",{className:"font-mono text-[10px]",style:{color:"var(--color-text)"},children:"Enable agent chat"})]}),(0,l.jsx)("div",{className:"font-mono text-[8px]",style:{color:"var(--color-text-faint)"},children:"Enable this to chat with your agent via Telegram. Your AI agent will respond to messages you send in this chat."}),(0,l.jsx)(y.$n,{size:"sm",onClick:eU,disabled:ex||!er,loading:ex,children:"ACTIVATE & TEST"})]}),"testing"===ei&&(0,l.jsxs)("div",{className:"flex items-center gap-2 py-2",children:[(0,l.jsx)(n.A,{size:14,className:"animate-spin",style:{color:"var(--color-info)"}}),(0,l.jsx)("span",{className:"font-mono text-[10px]",style:{color:"var(--color-text-muted)"},children:"Testing connection..."})]}),"done"===ei&&(0,l.jsxs)("div",{className:"flex items-center gap-2 py-2",children:[(0,l.jsx)(r.A,{size:14,style:{color:"var(--color-success)"}}),(0,l.jsx)("span",{className:"font-mono text-[10px]",style:{color:"var(--color-success)"},children:"Telegram connected!"})]}),eu&&(0,l.jsx)("div",{className:"font-mono text-[9px]",style:{color:"var(--color-warning)"},children:eu})]})}),!eJ&&(0,l.jsx)("div",{className:"pt-3 flex justify-end",children:(0,l.jsx)(y.$n,{variant:"ghost",size:"sm",onClick:eG,children:"SKIP FOR NOW"})}),eJ&&(0,l.jsx)("div",{className:"pt-3 flex justify-end",children:(0,l.jsx)(y.$n,{variant:"ghost",size:"sm",onClick:eG,children:"DISMISS"})})]})},I=A},5867:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(1847).A)("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]])},5880:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(1847).A)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},7586:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(1847).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},8192:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(1847).A)("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7411],{1190:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Pen",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]])},1226:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("PanelLeftOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]])},1456:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]])},3166:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).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"}]])},3341:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("ArrowUpDown",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]])},3581:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]])},3738:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("WifiOff",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},4114:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("ScrollText",[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]])},4472:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("LockKeyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]])},4916:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("ArrowDownToLine",[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]])},5740:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},5993:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},6046:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])},6140:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]])},6550:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]])},6577:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Brush",[["path",{d:"m9.06 11.9 8.07-8.06a2.85 2.85 0 1 1 4.03 4.03l-8.06 8.08",key:"1styjt"}],["path",{d:"M7.07 14.94c-1.66 0-3 1.35-3 3.02 0 1.33-2.5 1.52-2 2.02 1.08 1.1 2.49 2.02 4 2.02 2.2 0 4-1.8 4-4.04a3.01 3.01 0 0 0-3-3.02z",key:"z0l1mu"}]])},7494:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]])},7586:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},7937:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},8055:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]])},8085:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},8150:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("CodeXml",[["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"}]])},8198:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]])},8514:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},9068:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},9427:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},9476:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]])},9602:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]])},9867:(e,a,t)=>{t.d(a,{A:()=>y});let y=(0,t(1847).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])}}]);
|