auramaxx 0.0.20 → 0.1.1
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/README.md +92 -53
- package/bin/auramaxx.js +114 -92
- package/package.json +18 -94
- package/src/server/cli/commands/create.ts +20 -24
- package/src/server/cli/commands/onboard.ts +18 -2
- package/src/server/cli/commands/play.ts +303 -34
- package/src/server/cli/lib/theme.ts +58 -0
- package/.next/BUILD_ID +0 -1
- package/.next/app-build-manifest.json +0 -303
- package/.next/app-path-routes-manifest.json +0 -38
- package/.next/build-manifest.json +0 -33
- package/.next/diagnostics/build-diagnostics.json +0 -6
- package/.next/diagnostics/framework.json +0 -1
- package/.next/export-marker.json +0 -6
- package/.next/images-manifest.json +0 -58
- package/.next/next-minimal-server.js.nft.json +0 -1
- package/.next/next-server.js.nft.json +0 -1
- package/.next/package.json +0 -1
- package/.next/prerender-manifest.json +0 -292
- package/.next/react-loadable-manifest.json +0 -80
- package/.next/required-server-files.json +0 -330
- package/.next/routes-manifest.json +0 -209
- package/.next/server/app/_not-found/page.js +0 -2
- package/.next/server/app/_not-found/page.js.nft.json +0 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +0 -1
- package/.next/server/app/_not-found.html +0 -1
- package/.next/server/app/_not-found.meta +0 -8
- package/.next/server/app/_not-found.rsc +0 -19
- package/.next/server/app/api/[...doc]/page.js +0 -2
- package/.next/server/app/api/[...doc]/page.js.nft.json +0 -1
- package/.next/server/app/api/[...doc]/page_client-reference-manifest.js +0 -1
- package/.next/server/app/api/agent-requests/route.js +0 -1
- package/.next/server/app/api/agent-requests/route.js.nft.json +0 -1
- package/.next/server/app/api/agent-requests/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/apps/install/route.js +0 -25
- package/.next/server/app/api/apps/install/route.js.nft.json +0 -1
- package/.next/server/app/api/apps/install/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/apps/manifests/route.js +0 -1
- package/.next/server/app/api/apps/manifests/route.js.nft.json +0 -1
- package/.next/server/app/api/apps/manifests/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/apps/static/[...path]/route.js +0 -1
- package/.next/server/app/api/apps/static/[...path]/route.js.nft.json +0 -1
- package/.next/server/app/api/apps/static/[...path]/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/docs/plain/route.js +0 -4
- package/.next/server/app/api/docs/plain/route.js.nft.json +0 -1
- package/.next/server/app/api/docs/plain/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/events/route.js +0 -1
- package/.next/server/app/api/events/route.js.nft.json +0 -1
- package/.next/server/app/api/events/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/import-from-openclaw/[channel]/route.js +0 -1
- package/.next/server/app/api/import-from-openclaw/[channel]/route.js.nft.json +0 -1
- package/.next/server/app/api/import-from-openclaw/[channel]/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/import-from-openclaw/route.js +0 -1
- package/.next/server/app/api/import-from-openclaw/route.js.nft.json +0 -1
- package/.next/server/app/api/import-from-openclaw/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/import-from-openclaw/validate/[channel]/route.js +0 -1
- package/.next/server/app/api/import-from-openclaw/validate/[channel]/route.js.nft.json +0 -1
- package/.next/server/app/api/import-from-openclaw/validate/[channel]/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/page.js +0 -2
- package/.next/server/app/api/page.js.nft.json +0 -1
- package/.next/server/app/api/page_client-reference-manifest.js +0 -1
- package/.next/server/app/api/restart/route.js +0 -57
- package/.next/server/app/api/restart/route.js.nft.json +0 -1
- package/.next/server/app/api/restart/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/update/route.js +0 -94
- package/.next/server/app/api/update/route.js.nft.json +0 -1
- package/.next/server/app/api/update/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/version/route.js +0 -1
- package/.next/server/app/api/version/route.js.nft.json +0 -1
- package/.next/server/app/api/version/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/workspace/[id]/apps/[wid]/route.js +0 -1
- package/.next/server/app/api/workspace/[id]/apps/[wid]/route.js.nft.json +0 -1
- package/.next/server/app/api/workspace/[id]/apps/[wid]/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/workspace/[id]/apps/route.js +0 -1
- package/.next/server/app/api/workspace/[id]/apps/route.js.nft.json +0 -1
- package/.next/server/app/api/workspace/[id]/apps/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/workspace/[id]/export/route.js +0 -1
- package/.next/server/app/api/workspace/[id]/export/route.js.nft.json +0 -1
- package/.next/server/app/api/workspace/[id]/export/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/workspace/[id]/route.js +0 -1
- package/.next/server/app/api/workspace/[id]/route.js.nft.json +0 -1
- package/.next/server/app/api/workspace/[id]/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/workspace/config/route.js +0 -1
- package/.next/server/app/api/workspace/config/route.js.nft.json +0 -1
- package/.next/server/app/api/workspace/config/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/workspace/import/route.js +0 -1
- package/.next/server/app/api/workspace/import/route.js.nft.json +0 -1
- package/.next/server/app/api/workspace/import/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/workspace/route.js +0 -1
- package/.next/server/app/api/workspace/route.js.nft.json +0 -1
- package/.next/server/app/api/workspace/route_client-reference-manifest.js +0 -1
- package/.next/server/app/app-legacy-do-not-use/page.js +0 -17
- package/.next/server/app/app-legacy-do-not-use/page.js.nft.json +0 -1
- package/.next/server/app/app-legacy-do-not-use/page_client-reference-manifest.js +0 -1
- package/.next/server/app/app-legacy-do-not-use.html +0 -1
- package/.next/server/app/app-legacy-do-not-use.meta +0 -7
- package/.next/server/app/app-legacy-do-not-use.rsc +0 -23
- package/.next/server/app/apple-icon.png/route.js +0 -1
- package/.next/server/app/apple-icon.png/route.js.nft.json +0 -1
- package/.next/server/app/apple-icon.png.body +0 -0
- package/.next/server/app/apple-icon.png.meta +0 -1
- package/.next/server/app/approve/[actionId]/page.js +0 -2
- package/.next/server/app/approve/[actionId]/page.js.nft.json +0 -1
- package/.next/server/app/approve/[actionId]/page_client-reference-manifest.js +0 -1
- package/.next/server/app/docs/[...doc]/page.js +0 -2
- package/.next/server/app/docs/[...doc]/page.js.nft.json +0 -1
- package/.next/server/app/docs/[...doc]/page_client-reference-manifest.js +0 -1
- package/.next/server/app/docs/page.js +0 -2
- package/.next/server/app/docs/page.js.nft.json +0 -1
- package/.next/server/app/docs/page_client-reference-manifest.js +0 -1
- package/.next/server/app/favicon.ico/route.js +0 -1
- package/.next/server/app/favicon.ico/route.js.nft.json +0 -1
- package/.next/server/app/favicon.ico.body +0 -0
- package/.next/server/app/favicon.ico.meta +0 -1
- package/.next/server/app/health/page.js +0 -2
- package/.next/server/app/health/page.js.nft.json +0 -1
- package/.next/server/app/health/page_client-reference-manifest.js +0 -1
- package/.next/server/app/health.html +0 -1
- package/.next/server/app/health.meta +0 -7
- package/.next/server/app/health.rsc +0 -20
- package/.next/server/app/hello/page.js +0 -2
- package/.next/server/app/hello/page.js.nft.json +0 -1
- package/.next/server/app/hello/page_client-reference-manifest.js +0 -1
- package/.next/server/app/hello.html +0 -1
- package/.next/server/app/hello.meta +0 -7
- package/.next/server/app/hello.rsc +0 -23
- package/.next/server/app/icon.png/route.js +0 -1
- package/.next/server/app/icon.png/route.js.nft.json +0 -1
- package/.next/server/app/icon.png.body +0 -0
- package/.next/server/app/icon.png.meta +0 -1
- package/.next/server/app/index.html +0 -1
- package/.next/server/app/index.meta +0 -7
- package/.next/server/app/index.rsc +0 -20
- package/.next/server/app/page.js +0 -14
- package/.next/server/app/page.js.nft.json +0 -1
- package/.next/server/app/page_client-reference-manifest.js +0 -1
- package/.next/server/app/privacy/page.js +0 -2
- package/.next/server/app/privacy/page.js.nft.json +0 -1
- package/.next/server/app/privacy/page_client-reference-manifest.js +0 -1
- package/.next/server/app/privacy.html +0 -1
- package/.next/server/app/privacy.meta +0 -7
- package/.next/server/app/privacy.rsc +0 -24
- package/.next/server/app/share/[token]/page.js +0 -2
- package/.next/server/app/share/[token]/page.js.nft.json +0 -1
- package/.next/server/app/share/[token]/page_client-reference-manifest.js +0 -1
- package/.next/server/app/terms/page.js +0 -2
- package/.next/server/app/terms/page.js.nft.json +0 -1
- package/.next/server/app/terms/page_client-reference-manifest.js +0 -1
- package/.next/server/app/terms.html +0 -1
- package/.next/server/app/terms.meta +0 -7
- package/.next/server/app/terms.rsc +0 -24
- package/.next/server/app/yo/page.js +0 -2
- package/.next/server/app/yo/page.js.nft.json +0 -1
- package/.next/server/app/yo/page_client-reference-manifest.js +0 -1
- package/.next/server/app/yo.html +0 -1
- package/.next/server/app/yo.meta +0 -7
- package/.next/server/app/yo.rsc +0 -23
- package/.next/server/app-paths-manifest.json +0 -38
- package/.next/server/chunks/1194.js +0 -4
- package/.next/server/chunks/1196.js +0 -1
- package/.next/server/chunks/1331.js +0 -22
- package/.next/server/chunks/1503.js +0 -2
- package/.next/server/chunks/1644.js +0 -1
- package/.next/server/chunks/1692.js +0 -1
- package/.next/server/chunks/2123.js +0 -59
- package/.next/server/chunks/2145.js +0 -1
- package/.next/server/chunks/2234.js +0 -1
- package/.next/server/chunks/2269.js +0 -1
- package/.next/server/chunks/2395.js +0 -9
- package/.next/server/chunks/2945.js +0 -1
- package/.next/server/chunks/335.js +0 -1
- package/.next/server/chunks/372.js +0 -1
- package/.next/server/chunks/4224.js +0 -1
- package/.next/server/chunks/4337.js +0 -1
- package/.next/server/chunks/4600.js +0 -1
- package/.next/server/chunks/4697.js +0 -1
- package/.next/server/chunks/5347.js +0 -1
- package/.next/server/chunks/5482.js +0 -1
- package/.next/server/chunks/5611.js +0 -6
- package/.next/server/chunks/5678.js +0 -4
- package/.next/server/chunks/5784.js +0 -1
- package/.next/server/chunks/5991.js +0 -7
- package/.next/server/chunks/6086.js +0 -2
- package/.next/server/chunks/6470.js +0 -1
- package/.next/server/chunks/6572.js +0 -59
- package/.next/server/chunks/7585.js +0 -1
- package/.next/server/chunks/7935.js +0 -101
- package/.next/server/chunks/8011.js +0 -1
- package/.next/server/chunks/8468.js +0 -1
- package/.next/server/chunks/9323.js +0 -8
- package/.next/server/chunks/9971.js +0 -1
- package/.next/server/functions-config-manifest.json +0 -8
- package/.next/server/instrumentation.js +0 -1
- package/.next/server/instrumentation.js.nft.json +0 -1
- package/.next/server/interception-route-rewrite-manifest.js +0 -1
- package/.next/server/middleware-build-manifest.js +0 -1
- package/.next/server/middleware-manifest.json +0 -6
- package/.next/server/middleware-react-loadable-manifest.js +0 -1
- package/.next/server/next-font-manifest.js +0 -1
- package/.next/server/next-font-manifest.json +0 -1
- package/.next/server/pages/404.html +0 -1
- package/.next/server/pages/500.html +0 -1
- package/.next/server/pages/_app.js +0 -1
- package/.next/server/pages/_app.js.nft.json +0 -1
- package/.next/server/pages/_document.js +0 -1
- package/.next/server/pages/_document.js.nft.json +0 -1
- package/.next/server/pages/_error.js +0 -19
- package/.next/server/pages/_error.js.nft.json +0 -1
- package/.next/server/pages-manifest.json +0 -6
- package/.next/server/server-reference-manifest.js +0 -1
- package/.next/server/server-reference-manifest.json +0 -1
- package/.next/server/webpack-runtime.js +0 -1
- package/.next/static/chunks/1168.bb1c93965872e980.js +0 -1
- package/.next/static/chunks/1255-7999eac54f80a49f.js +0 -1
- package/.next/static/chunks/142-fa9752f53a551f63.js +0 -1
- package/.next/static/chunks/2505.d54ccadc42f4e3d1.js +0 -1
- package/.next/static/chunks/2619-04bc32f026a0d946.js +0 -1
- package/.next/static/chunks/2891-bf010357841c9ce9.js +0 -1
- package/.next/static/chunks/2927.3976471e61df966e.js +0 -1
- package/.next/static/chunks/3573-667bc4c8f56afcff.js +0 -1
- package/.next/static/chunks/3609.ded5a5306e18af9c.js +0 -1
- package/.next/static/chunks/3826.a73d4a88d8c09030.js +0 -1
- package/.next/static/chunks/3a91511d-da2c74cad6c6fc33.js +0 -7
- package/.next/static/chunks/4114-a375178fd94c4d8a.js +0 -1
- package/.next/static/chunks/4256.aa831e4d8c3f65bc.js +0 -1
- package/.next/static/chunks/4901-ba6a32818662e70a.js +0 -1
- package/.next/static/chunks/4919-0e698cd95504e355.js +0 -1
- package/.next/static/chunks/4bd1b696-100b9d70ed4e49c1.js +0 -1
- package/.next/static/chunks/5336-b775f449d7433604.js +0 -1
- package/.next/static/chunks/5362-2e8fcdd0bc6273ca.js +0 -59
- package/.next/static/chunks/6233-97a810aa272af547.js +0 -1
- package/.next/static/chunks/626.a5109d16f9eca1f6.js +0 -1
- package/.next/static/chunks/67-cb9bbb430499e803.js +0 -1
- package/.next/static/chunks/7616-1129bcb3eee8d315.js +0 -1
- package/.next/static/chunks/786-26deffb41572cbb3.js +0 -1
- package/.next/static/chunks/8273-3b9d882c5dd6a9a8.js +0 -1
- package/.next/static/chunks/8291-8f6fb6554e692552.js +0 -1
- package/.next/static/chunks/8357.5dee1e0c4e5bb091.js +0 -1
- package/.next/static/chunks/8370-6537b6b27df58b23.js +0 -1
- package/.next/static/chunks/9062-2bc2d089f9c9c6ba.js +0 -1
- package/.next/static/chunks/9380.f198afbf0c6b5369.js +0 -1
- package/.next/static/chunks/app/_not-found/page-5a8c6a29f762fa58.js +0 -1
- package/.next/static/chunks/app/api/[...doc]/page-f0852f35f0fd1d44.js +0 -1
- package/.next/static/chunks/app/api/agent-requests/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/apps/install/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/apps/manifests/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/apps/static/[...path]/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/docs/plain/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/events/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/import-from-openclaw/[channel]/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/import-from-openclaw/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/import-from-openclaw/validate/[channel]/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/page-cc59bebcc0d2c01d.js +0 -1
- package/.next/static/chunks/app/api/restart/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/update/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/version/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/workspace/[id]/apps/[wid]/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/workspace/[id]/apps/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/workspace/[id]/export/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/workspace/[id]/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/workspace/config/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/workspace/import/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/api/workspace/route-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/app-legacy-do-not-use/page-efa348da049c5873.js +0 -1
- package/.next/static/chunks/app/approve/[actionId]/page-c862645e19371cea.js +0 -1
- package/.next/static/chunks/app/docs/[...doc]/page-8e2a2d036caab242.js +0 -1
- package/.next/static/chunks/app/docs/page-acf872a03ff79893.js +0 -1
- package/.next/static/chunks/app/error-04a18fd49a89ee17.js +0 -1
- package/.next/static/chunks/app/health/page-c9185854ed9c86d0.js +0 -1
- package/.next/static/chunks/app/hello/page-74c9f4deaa4b03dd.js +0 -1
- package/.next/static/chunks/app/layout-7093dda0d106f34d.js +0 -1
- package/.next/static/chunks/app/page-0ec7cf48550f71e6.js +0 -1
- package/.next/static/chunks/app/privacy/page-8e2d17079355c2cc.js +0 -1
- package/.next/static/chunks/app/share/[token]/page-5dd9b0418eee411f.js +0 -1
- package/.next/static/chunks/app/terms/page-8e2d17079355c2cc.js +0 -1
- package/.next/static/chunks/app/yo/layout-cf84f975aad4c719.js +0 -1
- package/.next/static/chunks/app/yo/page-48930746b135037e.js +0 -1
- package/.next/static/chunks/framework-a32a2a465584c0bc.js +0 -1
- package/.next/static/chunks/main-0f0f9142f74e7215.js +0 -1
- package/.next/static/chunks/main-app-24f0c92ba10af457.js +0 -1
- package/.next/static/chunks/pages/_app-4b3fb5e477a0267f.js +0 -1
- package/.next/static/chunks/pages/_error-c970d8b55ace1b48.js +0 -1
- package/.next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
- package/.next/static/chunks/webpack-15ec0114c9d658c2.js +0 -1
- package/.next/static/css/35991998d1b5eff0.css +0 -3
- package/.next/static/q3rrQEmg9jZ5Lt-BCTiTK/_buildManifest.js +0 -1
- package/.next/static/q3rrQEmg9jZ5Lt-BCTiTK/_ssgManifest.js +0 -1
- package/.next/trace +0 -28
- package/.next/types/app/api/[...doc]/page.ts +0 -84
- package/.next/types/app/api/agent-requests/route.ts +0 -347
- package/.next/types/app/api/apps/install/route.ts +0 -347
- package/.next/types/app/api/apps/manifests/route.ts +0 -347
- package/.next/types/app/api/apps/static/[...path]/route.ts +0 -347
- package/.next/types/app/api/docs/plain/route.ts +0 -347
- package/.next/types/app/api/events/route.ts +0 -347
- package/.next/types/app/api/import-from-openclaw/[channel]/route.ts +0 -347
- package/.next/types/app/api/import-from-openclaw/route.ts +0 -347
- package/.next/types/app/api/import-from-openclaw/validate/[channel]/route.ts +0 -347
- package/.next/types/app/api/restart/route.ts +0 -347
- package/.next/types/app/api/update/route.ts +0 -347
- package/.next/types/app/api/version/route.ts +0 -347
- package/.next/types/app/api/workspace/[id]/apps/[wid]/route.ts +0 -347
- package/.next/types/app/api/workspace/[id]/apps/route.ts +0 -347
- package/.next/types/app/api/workspace/[id]/export/route.ts +0 -347
- package/.next/types/app/api/workspace/[id]/route.ts +0 -347
- package/.next/types/app/api/workspace/config/route.ts +0 -347
- package/.next/types/app/api/workspace/import/route.ts +0 -347
- package/.next/types/app/api/workspace/route.ts +0 -347
- package/.next/types/app/app-legacy-do-not-use/page.ts +0 -84
- package/.next/types/app/approve/[actionId]/page.ts +0 -84
- package/.next/types/app/docs/[...doc]/page.ts +0 -84
- package/.next/types/app/docs/page.ts +0 -84
- package/.next/types/app/health/page.ts +0 -84
- package/.next/types/app/hello/page.ts +0 -84
- package/.next/types/app/page.ts +0 -84
- package/.next/types/app/privacy/page.ts +0 -84
- package/.next/types/app/share/[token]/page.ts +0 -84
- package/.next/types/app/terms/page.ts +0 -84
- package/.next/types/app/yo/layout.ts +0 -84
- package/.next/types/app/yo/page.ts +0 -84
- package/.next/types/cache-life.d.ts +0 -141
- package/.next/types/package.json +0 -1
- package/.next/types/routes.d.ts +0 -105
- package/.next/types/validator.ts +0 -358
- package/apps/desktop-electron/main.js +0 -428
- package/docs/README.md +0 -38
- package/docs/ai-agents-workflow/API.md +0 -127
- package/docs/ai-agents-workflow/AUTH.md +0 -460
- package/docs/ai-agents-workflow/BEST-PRACTICES.md +0 -82
- package/docs/ai-agents-workflow/CLI.md +0 -189
- package/docs/ai-agents-workflow/MCP.md +0 -223
- package/docs/ai-agents-workflow/POLICY.md +0 -194
- package/docs/ai-agents-workflow/SKILLS.md +0 -135
- package/docs/ai-agents-workflow/credentials.md +0 -122
- package/docs/api/authentication.md +0 -80
- package/docs/api/secrets/api-keys.md +0 -28
- package/docs/api/secrets/credentials.md +0 -88
- package/docs/api/secrets/sharing.md +0 -48
- package/docs/api/system.md +0 -42
- package/docs/api/wallets/apps-strategies.md +0 -66
- package/docs/api/wallets/core.md +0 -46
- package/docs/api/wallets/data-portfolio.md +0 -42
- package/docs/how-to-auramaxx/TROUBLESHOOTING.md +0 -477
- package/docs/how-to-auramaxx/WORKING_WITH_SECRETS.md +0 -96
- package/docs/how-to-auramaxx/share-secret.md +0 -74
- package/docs/legacy/ADAPTERS.md +0 -471
- package/docs/legacy/APPS.md +0 -199
- package/docs/legacy/DESKTOP_ELECTRON.md +0 -26
- package/docs/legacy/DEVELOPING-APPS.md +0 -453
- package/docs/legacy/PACKAGING_POLICY.md +0 -19
- package/docs/legacy/PERMISSION.md +0 -138
- package/docs/legacy/PROTOCOL.md +0 -142
- package/docs/legacy/README.md +0 -21
- package/docs/legacy/WORKSPACE.md +0 -673
- package/docs/legacy/agent-auth.md +0 -13
- package/docs/legacy/aura-file.md +0 -48
- package/docs/legacy/external/HOW_TO_AURAMAXX/README.md +0 -45
- package/docs/legacy/external/README.md +0 -7
- package/docs/legacy/external/getting-started.md +0 -10
- package/docs/legacy/external/overview.md +0 -19
- package/docs/legacy/external/persona-paths.md +0 -7
- package/docs/legacy/external/why-aura.md +0 -7
- package/docs/legacy/specs/README.md +0 -6
- package/docs/legacy/specs/aura-open-protocol.md +0 -61
- package/docs/legacy/specs/aura-provider-plugin.md +0 -24
- package/docs/legacy/specs/aura-registry-model.md +0 -31
- package/docs/legacy/specs/fixtures/invalid-bad-key.aura +0 -1
- package/docs/legacy/specs/fixtures/invalid-bad-unicode-escape.aura +0 -1
- package/docs/legacy/specs/fixtures/invalid-duplicate-key.aura +0 -2
- package/docs/legacy/specs/fixtures/valid-basic.aura +0 -4
- package/docs/legacy/specs/fixtures/valid-provider-ref.aura +0 -1
- package/docs/legacy/specs/fixtures/valid-quoted-escapes.aura +0 -2
- package/docs/legacy/specs/task-256-create-edit-ui.md +0 -65
- package/docs/legacy/templates/README.md +0 -3
- package/docs/legacy/templates/RELEASE_NOTES_TEMPLATE.md +0 -22
- package/docs/legacy/wallet/AI.md +0 -508
- package/docs/legacy/wallet/DEVELOPING-STRATEGIES.md +0 -713
- package/docs/legacy/wallet/README.md +0 -47
- package/docs/legacy/wallet/STRATEGY.md +0 -89
- package/docs/quickstart/AGENT_SETUP.md +0 -181
- package/docs/why-auramaxx/ARCHITECTURE.md +0 -248
- package/docs/why-auramaxx/FEATURES.md +0 -117
- package/docs/why-auramaxx/security.md +0 -362
- package/next.config.ts +0 -38
- package/postcss.config.mjs +0 -8
- package/prisma/migrations/20260214170000_baseline/migration.sql +0 -511
- package/prisma/migrations/20260216214537_add_passkey_model/migration.sql +0 -18
- package/prisma/migrations/20260217150500_add_credential_access_audit/migration.sql +0 -31
- package/prisma/migrations/20260222090000_update_admin_ttl_default/migration.sql +0 -10
- package/prisma/migrations/20260227214000_update_agent_action_ttl_defaults/migration.sql +0 -19
- package/prisma/migrations/20260301225214_social_tables/migration.sql +0 -81
- package/prisma/migrations/20260302120000_add_notification_hash/migration.sql +0 -8
- package/prisma/migrations/20260302160000_add_public_key_hex/migration.sql +0 -5
- package/prisma/migrations/20260302170000_add_inbound_author_public_key/migration.sql +0 -5
- package/prisma/migrations/migration_lock.toml +0 -3
- package/prisma/schema.prisma +0 -542
- package/public/0a167e5e-4f52-4715-ae23-bf63d259a6b1.png +0 -0
- package/public/141ec92c-6780-4b23-838f-9a7bf1e91bb8.png +0 -0
- package/public/3afc4935-92cb-42af-9624-0b1341c12a5e.png +0 -0
- package/public/43947df5-dbcf-4e49-ab8b-41b9162c0410.png +0 -0
- package/public/5aeae9ce-0d38-49ea-8fd1-167892a04a85.png +0 -0
- package/public/660e4ea3-a3a6-4be4-a8ca-2cb74c51dfb5.png +0 -0
- package/public/733f02d7-6b58-4ba6-a5c8-d062cd205e1d.png +0 -0
- package/public/README.png +0 -0
- package/public/a32d65cb-95b0-4977-be6b-cf69f515afbe.png +0 -0
- package/public/agent1.png +0 -0
- package/public/agent10.png +0 -0
- package/public/agent2.png +0 -0
- package/public/agent3.png +0 -0
- package/public/agent4.png +0 -0
- package/public/agent5.png +0 -0
- package/public/agent6.png +0 -0
- package/public/agent7.png +0 -0
- package/public/agent8.png +0 -0
- package/public/agent9.png +0 -0
- package/public/c4938305-b811-4ccc-91db-94d309734827.png +0 -0
- package/public/f2ca6825-a4f3-4107-815c-51ee740dfc09.png +0 -0
- package/public/install.ps1 +0 -10
- package/public/install.sh +0 -11
- package/public/llm.txt +0 -2
- package/public/llms.txt +0 -39
- package/public/logo.webp +0 -0
- package/public/opengraph.webp +0 -0
- package/public/ss-dark1.png +0 -0
- package/public/ss-dark1.webp +0 -0
- package/public/ss-dark2.png +0 -0
- package/public/ss-dark2.webp +0 -0
- package/public/ss-dark3.png +0 -0
- package/public/ss-dark3.webp +0 -0
- package/public/ss-light1.png +0 -0
- package/public/ss-light1.webp +0 -0
- package/public/ss-light2.png +0 -0
- package/public/ss-light2.webp +0 -0
- package/public/ss-light3.png +0 -0
- package/public/ss-light3.webp +0 -0
- package/scripts/add-app.js +0 -245
- package/shared/credential-field-schema.ts +0 -270
- package/skills/auramaxx/HEARTBEAT.md +0 -97
- package/skills/auramaxx/SKILL.md +0 -136
- package/skills/auramaxx/docs/AGENT_SETUP.md +0 -160
- package/skills/auramaxx/docs/API.md +0 -127
- package/skills/auramaxx/docs/AUTH.md +0 -318
- package/skills/auramaxx/docs/CLI.md +0 -130
- package/skills/auramaxx/docs/MCP.md +0 -192
- package/skills/auramaxx/docs/TROUBLESHOOTING.md +0 -357
- package/skills/auramaxx/docs/WORKSPACE.md +0 -673
- package/skills/auramaxx/docs/security.md +0 -227
- package/skills/task-lifecycle/SKILL.md +0 -366
- package/src/app/UnlockPageClient.tsx +0 -2344
- package/src/app/api/[...doc]/page.tsx +0 -36
- package/src/app/api/agent-requests/route.ts +0 -30
- package/src/app/api/apps/install/route.ts +0 -132
- package/src/app/api/apps/manifests/route.ts +0 -16
- package/src/app/api/apps/static/[...path]/route.ts +0 -57
- package/src/app/api/docs/plain/route.ts +0 -74
- package/src/app/api/events/route.ts +0 -92
- package/src/app/api/import-from-openclaw/[channel]/route.ts +0 -62
- package/src/app/api/import-from-openclaw/lib.ts +0 -672
- package/src/app/api/import-from-openclaw/route.ts +0 -88
- package/src/app/api/import-from-openclaw/validate/[channel]/route.ts +0 -88
- package/src/app/api/page.tsx +0 -299
- package/src/app/api/restart/route.ts +0 -111
- package/src/app/api/update/route.ts +0 -268
- package/src/app/api/version/route.ts +0 -79
- package/src/app/api/workspace/[id]/apps/[wid]/route.ts +0 -119
- package/src/app/api/workspace/[id]/apps/route.ts +0 -81
- package/src/app/api/workspace/[id]/export/route.ts +0 -67
- package/src/app/api/workspace/[id]/route.ts +0 -168
- package/src/app/api/workspace/auth.ts +0 -40
- package/src/app/api/workspace/config/route.ts +0 -121
- package/src/app/api/workspace/import/route.ts +0 -127
- package/src/app/api/workspace/route.ts +0 -116
- package/src/app/app-legacy-do-not-use/page.tsx +0 -2247
- package/src/app/apple-icon.png +0 -0
- package/src/app/approve/[actionId]/page.tsx +0 -428
- package/src/app/docs/DocsPageContent.tsx +0 -283
- package/src/app/docs/[...doc]/page.tsx +0 -41
- package/src/app/docs/page.tsx +0 -38
- package/src/app/error.tsx +0 -125
- package/src/app/favicon.ico +0 -0
- package/src/app/globals.css +0 -940
- package/src/app/health/page.tsx +0 -5
- package/src/app/hello/page.tsx +0 -102
- package/src/app/icon.png +0 -0
- package/src/app/layout.tsx +0 -40
- package/src/app/page.tsx +0 -38
- package/src/app/privacy/page.tsx +0 -63
- package/src/app/providers.tsx +0 -87
- package/src/app/share/[token]/page.tsx +0 -295
- package/src/app/terms/page.tsx +0 -80
- package/src/app/yo/layout.tsx +0 -38
- package/src/app/yo/page.tsx +0 -614
- package/src/components/AgentPicker.tsx +0 -278
- package/src/components/ChainSelector.tsx +0 -44
- package/src/components/CreateAgentModal.tsx +0 -192
- package/src/components/HumanActionBar.tsx +0 -865
- package/src/components/NotificationDrawer.tsx +0 -455
- package/src/components/PasskeyEnrollmentPrompt.tsx +0 -974
- package/src/components/UpdateBanner.tsx +0 -171
- package/src/components/agent/AgentSidebar.tsx +0 -921
- package/src/components/agent/ApiKeysConsole.tsx +0 -1272
- package/src/components/agent/AuditConsole.tsx +0 -600
- package/src/components/agent/CredentialAgent.tsx +0 -1718
- package/src/components/agent/CredentialDetail.tsx +0 -710
- package/src/components/agent/CredentialEmpty.tsx +0 -55
- package/src/components/agent/CredentialField.tsx +0 -594
- package/src/components/agent/CredentialForm.tsx +0 -1867
- package/src/components/agent/CredentialList.tsx +0 -299
- package/src/components/agent/CredentialRow.tsx +0 -138
- package/src/components/agent/CredentialShareModal.tsx +0 -285
- package/src/components/agent/CredentialWalletWidget.tsx +0 -103
- package/src/components/agent/DocsConsole.tsx +0 -113
- package/src/components/agent/ImportCredentialsModal.tsx +0 -578
- package/src/components/agent/LargeTypeModal.tsx +0 -88
- package/src/components/agent/PasswordGenerator.tsx +0 -232
- package/src/components/agent/TOTPDisplay.tsx +0 -108
- package/src/components/agent/TotpSetupPanel.tsx +0 -198
- package/src/components/agent/credentialDisplayName.ts +0 -42
- package/src/components/agent/credentialFormName.ts +0 -150
- package/src/components/agent/credentialListSort.ts +0 -56
- package/src/components/agent/hooks/useAgentKeyboardShortcuts.ts +0 -69
- package/src/components/agent/types.ts +0 -56
- package/src/components/agents/AgentsView.tsx +0 -1035
- package/src/components/apps/AgentKeysApp.tsx +0 -490
- package/src/components/apps/App.tsx +0 -153
- package/src/components/apps/AppGrid.tsx +0 -15
- package/src/components/apps/DetailedAddressDrawer.tsx +0 -325
- package/src/components/apps/DraggableApp.tsx +0 -562
- package/src/components/apps/IFrameApp.tsx +0 -73
- package/src/components/apps/LogsApp.tsx +0 -360
- package/src/components/apps/SendApp.tsx +0 -394
- package/src/components/apps/SetupWizardApp.tsx +0 -1004
- package/src/components/apps/SystemDefaultsApp.tsx +0 -845
- package/src/components/apps/ThirdPartyApp.tsx +0 -428
- package/src/components/apps/TokenApp.tsx +0 -319
- package/src/components/apps/TransactionsApp.tsx +0 -438
- package/src/components/apps/WalletDetailApp.tsx +0 -1505
- package/src/components/apps/index.ts +0 -13
- package/src/components/design-system/Button.tsx +0 -88
- package/src/components/design-system/ChainIndicator.tsx +0 -65
- package/src/components/design-system/ChainSelector.tsx +0 -147
- package/src/components/design-system/ConfirmationModal.tsx +0 -107
- package/src/components/design-system/ConfirmationPopover.tsx +0 -81
- package/src/components/design-system/DownloadButton.tsx +0 -149
- package/src/components/design-system/Drawer.tsx +0 -133
- package/src/components/design-system/FilterDropdown.tsx +0 -183
- package/src/components/design-system/ItemPicker.tsx +0 -157
- package/src/components/design-system/Modal.tsx +0 -314
- package/src/components/design-system/Popover.tsx +0 -142
- package/src/components/design-system/TextAreaInput.tsx +0 -78
- package/src/components/design-system/TextInput.tsx +0 -85
- package/src/components/design-system/Toggle.tsx +0 -65
- package/src/components/design-system/TyvekCollapsibleSection.tsx +0 -55
- package/src/components/design-system/index.ts +0 -15
- package/src/components/docs/ClientSideMarkdown.tsx +0 -51
- package/src/components/docs/DocsSearchBar.tsx +0 -118
- package/src/components/docs/DocsThemeToggle.tsx +0 -38
- package/src/components/docs/PersistentDocGroup.tsx +0 -91
- package/src/components/docs/ShareUrlButton.tsx +0 -33
- package/src/components/docs/SidebarScrollMemory.tsx +0 -56
- package/src/components/health/CredentialHealthDashboard.tsx +0 -214
- package/src/components/hub/HubView.tsx +0 -58
- package/src/components/icons/ChainIcons.tsx +0 -72
- package/src/components/layout/AppStoreDrawer.tsx +0 -369
- package/src/components/layout/ContentArea.tsx +0 -21
- package/src/components/layout/CreateViewModal.tsx +0 -88
- package/src/components/layout/LeftRail.tsx +0 -407
- package/src/components/layout/SettingsDrawer.tsx +0 -1200
- package/src/components/layout/TabBar.tsx +0 -284
- package/src/components/layout/ViewShell.tsx +0 -125
- package/src/components/layout/WalletSidebar.tsx +0 -1043
- package/src/components/layout/index.ts +0 -7
- package/src/components/marketing/AuraMaxxSpecOverlay.tsx +0 -653
- package/src/components/marketing/DeviceMorphExperience.tsx +0 -216
- package/src/components/social/PrimaryHubRegistrationGate.tsx +0 -260
- package/src/components/social/SocialView.tsx +0 -904
- package/src/context/AuthContext.tsx +0 -365
- package/src/context/PriceContext.tsx +0 -113
- package/src/context/ThemeContext.tsx +0 -164
- package/src/context/WebSocketContext.tsx +0 -269
- package/src/context/WorkspaceContext.tsx +0 -668
- package/src/hooks/index.ts +0 -4
- package/src/hooks/useAgentActions.ts +0 -552
- package/src/hooks/useBalance.ts +0 -103
- package/src/hooks/useBalances.ts +0 -129
- package/src/hooks/useSocialNotifications.ts +0 -123
- package/src/hooks/useTheme.ts +0 -156
- package/src/hooks/useUpdateChecker.ts +0 -245
- package/src/instrumentation.ts +0 -12
- package/src/lib/agent-crypto.ts +0 -129
- package/src/lib/api-docs.ts +0 -158
- package/src/lib/api.ts +0 -474
- package/src/lib/app-loader.ts +0 -148
- package/src/lib/app-registry.ts +0 -178
- package/src/lib/app-sdk.ts +0 -157
- package/src/lib/audit-console-adapter.ts +0 -151
- package/src/lib/auth-client.ts +0 -75
- package/src/lib/config.ts +0 -74
- package/src/lib/credential-field-schema.ts +0 -11
- package/src/lib/crypto.ts +0 -112
- package/src/lib/db.ts +0 -21
- package/src/lib/docs.ts +0 -617
- package/src/lib/events.ts +0 -372
- package/src/lib/markdown.ts +0 -39
- package/src/lib/pino.ts +0 -82
- package/src/lib/social-client.ts +0 -319
- package/src/lib/theme-handlers.ts +0 -168
- package/src/lib/theme.ts +0 -351
- package/src/lib/tokenData.ts +0 -378
- package/src/lib/totp-import.ts +0 -57
- package/src/lib/view-registry.ts +0 -75
- package/src/lib/websocket-server.ts +0 -302
- package/src/lib/websocket-setup.ts +0 -79
- package/src/lib/wordlist.ts +0 -2050
- package/src/lib/workspace-handlers.ts +0 -285
- package/src/server/abi/SwapHelper.json +0 -438
- package/src/server/cli/approval.ts +0 -447
- package/src/server/cli/commands/actions.ts +0 -469
- package/src/server/cli/commands/agent.ts +0 -1760
- package/src/server/cli/commands/api.ts +0 -181
- package/src/server/cli/commands/apikey.ts +0 -278
- package/src/server/cli/commands/app.ts +0 -204
- package/src/server/cli/commands/approve.ts +0 -209
- package/src/server/cli/commands/auth.ts +0 -885
- package/src/server/cli/commands/cron.ts +0 -24
- package/src/server/cli/commands/diary.ts +0 -273
- package/src/server/cli/commands/doctor.ts +0 -1267
- package/src/server/cli/commands/env.ts +0 -476
- package/src/server/cli/commands/experimental.ts +0 -69
- package/src/server/cli/commands/init.ts +0 -973
- package/src/server/cli/commands/lock.ts +0 -109
- package/src/server/cli/commands/mcp.ts +0 -285
- package/src/server/cli/commands/nuke.ts +0 -156
- package/src/server/cli/commands/quickhack.ts +0 -86
- package/src/server/cli/commands/register-agent.ts +0 -181
- package/src/server/cli/commands/release-check.ts +0 -231
- package/src/server/cli/commands/restart.ts +0 -61
- package/src/server/cli/commands/restore.ts +0 -314
- package/src/server/cli/commands/service.ts +0 -406
- package/src/server/cli/commands/shell-hook.ts +0 -512
- package/src/server/cli/commands/skill.ts +0 -280
- package/src/server/cli/commands/social.ts +0 -648
- package/src/server/cli/commands/start.ts +0 -260
- package/src/server/cli/commands/status.ts +0 -59
- package/src/server/cli/commands/stop.ts +0 -36
- package/src/server/cli/commands/token.ts +0 -180
- package/src/server/cli/commands/unlock.ts +0 -50
- package/src/server/cli/commands/wallet.ts +0 -210
- package/src/server/cli/index.ts +0 -285
- package/src/server/cli/lib/approval-actions.ts +0 -21
- package/src/server/cli/lib/approval-context.ts +0 -347
- package/src/server/cli/lib/approval-poll.ts +0 -142
- package/src/server/cli/lib/aura-parser.ts +0 -64
- package/src/server/cli/lib/auth-bootstrap.ts +0 -72
- package/src/server/cli/lib/credential-create.ts +0 -74
- package/src/server/cli/lib/credential-resolve.ts +0 -300
- package/src/server/cli/lib/dotenv-migrate.ts +0 -116
- package/src/server/cli/lib/dotenv-parser.ts +0 -146
- package/src/server/cli/lib/escalation.ts +0 -238
- package/src/server/cli/lib/http.ts +0 -105
- package/src/server/cli/lib/init-steps.ts +0 -76
- package/src/server/cli/lib/local-agent-trust.ts +0 -46
- package/src/server/cli/lib/lock-unlock-helper.ts +0 -71
- package/src/server/cli/lib/process.ts +0 -536
- package/src/server/cli/socket.ts +0 -583
- package/src/server/cli/transport-client.ts +0 -47
- package/src/server/cron/index.ts +0 -133
- package/src/server/cron/job.ts +0 -31
- package/src/server/cron/jobs/balance-sync.ts +0 -436
- package/src/server/cron/jobs/incoming-scan.ts +0 -506
- package/src/server/cron/jobs/native-price.ts +0 -70
- package/src/server/cron/jobs/orphan-cleanup.ts +0 -40
- package/src/server/cron/jobs/social-inbound.ts +0 -596
- package/src/server/cron/jobs/social-outbound.ts +0 -70
- package/src/server/cron/jobs/strategy-runner.ts +0 -175
- package/src/server/cron/scheduler.ts +0 -125
- package/src/server/index.ts +0 -438
- package/src/server/lib/adapters/delivery.ts +0 -508
- package/src/server/lib/adapters/discord.ts +0 -141
- package/src/server/lib/adapters/factory.ts +0 -123
- package/src/server/lib/adapters/index.ts +0 -21
- package/src/server/lib/adapters/router.ts +0 -297
- package/src/server/lib/adapters/telegram.ts +0 -646
- package/src/server/lib/adapters/types.ts +0 -89
- package/src/server/lib/adapters/webhook.ts +0 -95
- package/src/server/lib/adapters/whatsapp-native.ts +0 -276
- package/src/server/lib/adapters/whatsapp.ts +0 -904
- package/src/server/lib/address.ts +0 -49
- package/src/server/lib/agent-auth/contracts.ts +0 -1194
- package/src/server/lib/agent-profiles.ts +0 -430
- package/src/server/lib/ai.ts +0 -286
- package/src/server/lib/api-registry/contracts.ts +0 -86
- package/src/server/lib/api-registry/validation.ts +0 -172
- package/src/server/lib/apikey-migration.ts +0 -258
- package/src/server/lib/app-installer.ts +0 -505
- package/src/server/lib/app-tokens.ts +0 -247
- package/src/server/lib/approval-flow.ts +0 -139
- package/src/server/lib/approval-link.ts +0 -27
- package/src/server/lib/auth.ts +0 -324
- package/src/server/lib/auto-execute.ts +0 -160
- package/src/server/lib/batch.ts +0 -242
- package/src/server/lib/cold.ts +0 -1013
- package/src/server/lib/config.ts +0 -410
- package/src/server/lib/credential-access-audit.ts +0 -85
- package/src/server/lib/credential-access-policy.ts +0 -112
- package/src/server/lib/credential-agent.ts +0 -77
- package/src/server/lib/credential-health.ts +0 -343
- package/src/server/lib/credential-import.ts +0 -614
- package/src/server/lib/credential-scope.ts +0 -102
- package/src/server/lib/credential-shares.ts +0 -190
- package/src/server/lib/credential-transport.ts +0 -556
- package/src/server/lib/credentials.ts +0 -422
- package/src/server/lib/crypto.ts +0 -8
- package/src/server/lib/db.ts +0 -58
- package/src/server/lib/defaults.ts +0 -397
- package/src/server/lib/dex/index.ts +0 -80
- package/src/server/lib/dex/relay.ts +0 -235
- package/src/server/lib/dex/types.ts +0 -59
- package/src/server/lib/dex/uniswap.ts +0 -370
- package/src/server/lib/diary.ts +0 -61
- package/src/server/lib/dont-ask-again-policy.ts +0 -41
- package/src/server/lib/e2e-agent/artifacts.ts +0 -36
- package/src/server/lib/e2e-agent/contracts.ts +0 -112
- package/src/server/lib/e2e-agent/validation.ts +0 -135
- package/src/server/lib/encrypt.ts +0 -114
- package/src/server/lib/error.ts +0 -20
- package/src/server/lib/escalation-contract.ts +0 -140
- package/src/server/lib/escalation-error-codes.ts +0 -26
- package/src/server/lib/escalation-responder.ts +0 -729
- package/src/server/lib/escalation-route-registry.ts +0 -138
- package/src/server/lib/events.ts +0 -220
- package/src/server/lib/feature-flags.ts +0 -96
- package/src/server/lib/hot.ts +0 -357
- package/src/server/lib/hub-auth.ts +0 -159
- package/src/server/lib/human-action-summary.ts +0 -80
- package/src/server/lib/key-fingerprint.ts +0 -28
- package/src/server/lib/logger.ts +0 -340
- package/src/server/lib/migrate-agent-profiles.ts +0 -96
- package/src/server/lib/network.ts +0 -137
- package/src/server/lib/notifications.ts +0 -241
- package/src/server/lib/oauth2-refresh.ts +0 -241
- package/src/server/lib/oursecret.ts +0 -87
- package/src/server/lib/passkey-credential.ts +0 -360
- package/src/server/lib/passkey.ts +0 -68
- package/src/server/lib/permissions.ts +0 -340
- package/src/server/lib/pino.ts +0 -24
- package/src/server/lib/policy-preview.ts +0 -138
- package/src/server/lib/price.ts +0 -338
- package/src/server/lib/prices.ts +0 -34
- package/src/server/lib/project-scope.ts +0 -326
- package/src/server/lib/redaction.ts +0 -108
- package/src/server/lib/resolve-action.ts +0 -398
- package/src/server/lib/resolve.ts +0 -36
- package/src/server/lib/secret-env.ts +0 -18
- package/src/server/lib/secret-gist-share.ts +0 -296
- package/src/server/lib/sessions.ts +0 -634
- package/src/server/lib/social/create.ts +0 -176
- package/src/server/lib/social/global-aura-id.ts +0 -115
- package/src/server/lib/social/hub-rpc-client.ts +0 -99
- package/src/server/lib/social/hub-session.ts +0 -6
- package/src/server/lib/social/public-key.ts +0 -32
- package/src/server/lib/social/register.ts +0 -162
- package/src/server/lib/social/sign.ts +0 -95
- package/src/server/lib/social/sync.ts +0 -301
- package/src/server/lib/socket-path.ts +0 -76
- package/src/server/lib/solana/connection.ts +0 -26
- package/src/server/lib/solana/jupiter.ts +0 -128
- package/src/server/lib/solana/transfer.ts +0 -108
- package/src/server/lib/solana/wallet.ts +0 -136
- package/src/server/lib/strategy/emits.ts +0 -21
- package/src/server/lib/strategy/engine.ts +0 -1313
- package/src/server/lib/strategy/executor.ts +0 -115
- package/src/server/lib/strategy/hook-context.ts +0 -159
- package/src/server/lib/strategy/hooks.ts +0 -1023
- package/src/server/lib/strategy/index.ts +0 -28
- package/src/server/lib/strategy/installer.ts +0 -305
- package/src/server/lib/strategy/loader.ts +0 -256
- package/src/server/lib/strategy/message.ts +0 -237
- package/src/server/lib/strategy/repository.ts +0 -218
- package/src/server/lib/strategy/session-logger.ts +0 -693
- package/src/server/lib/strategy/sources.ts +0 -288
- package/src/server/lib/strategy/state.ts +0 -189
- package/src/server/lib/strategy/templates.ts +0 -403
- package/src/server/lib/strategy/tick.ts +0 -404
- package/src/server/lib/strategy/types.ts +0 -230
- package/src/server/lib/swap.ts +0 -3
- package/src/server/lib/temp-policy.ts +0 -413
- package/src/server/lib/temp.ts +0 -86
- package/src/server/lib/token-metadata.ts +0 -86
- package/src/server/lib/token-safety.ts +0 -200
- package/src/server/lib/token-search.ts +0 -444
- package/src/server/lib/totp.ts +0 -194
- package/src/server/lib/transactions.ts +0 -123
- package/src/server/lib/transport.ts +0 -84
- package/src/server/lib/txhistory/decoder.ts +0 -262
- package/src/server/lib/txhistory/enricher.ts +0 -652
- package/src/server/lib/txhistory/index.ts +0 -391
- package/src/server/lib/txhistory/signatures.ts +0 -59
- package/src/server/lib/update-check.ts +0 -48
- package/src/server/lib/verified-summary.ts +0 -414
- package/src/server/lib/version-check-cache.ts +0 -23
- package/src/server/lib/view-registry.ts +0 -80
- package/src/server/mcp/profile-policy.ts +0 -30
- package/src/server/mcp/server.ts +0 -2887
- package/src/server/mcp/tools.ts +0 -863
- package/src/server/middleware/auth.ts +0 -117
- package/src/server/middleware/requestLogger.ts +0 -86
- package/src/server/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/src/server/routes/actions.ts +0 -607
- package/src/server/routes/adapters.ts +0 -1256
- package/src/server/routes/addressbook.ts +0 -129
- package/src/server/routes/agent-hub.ts +0 -276
- package/src/server/routes/agent-profiles.ts +0 -208
- package/src/server/routes/ai.ts +0 -34
- package/src/server/routes/apikeys.ts +0 -344
- package/src/server/routes/apps.ts +0 -623
- package/src/server/routes/auth.ts +0 -740
- package/src/server/routes/backup.ts +0 -404
- package/src/server/routes/batch.ts +0 -270
- package/src/server/routes/bookmarks.ts +0 -178
- package/src/server/routes/credential-agents.ts +0 -159
- package/src/server/routes/credential-shares.ts +0 -380
- package/src/server/routes/credentials.ts +0 -2545
- package/src/server/routes/dashboard.ts +0 -97
- package/src/server/routes/defaults.ts +0 -124
- package/src/server/routes/flags.ts +0 -11
- package/src/server/routes/fund.ts +0 -252
- package/src/server/routes/heartbeat.ts +0 -511
- package/src/server/routes/import.ts +0 -359
- package/src/server/routes/launch.ts +0 -703
- package/src/server/routes/lock.ts +0 -54
- package/src/server/routes/logs.ts +0 -78
- package/src/server/routes/nuke.ts +0 -136
- package/src/server/routes/passkey-credentials.ts +0 -99
- package/src/server/routes/passkey.ts +0 -372
- package/src/server/routes/portfolio.ts +0 -217
- package/src/server/routes/price.ts +0 -63
- package/src/server/routes/resolve.ts +0 -31
- package/src/server/routes/security.ts +0 -45
- package/src/server/routes/send-evm.ts +0 -286
- package/src/server/routes/send-solana.ts +0 -315
- package/src/server/routes/send.ts +0 -178
- package/src/server/routes/setup.ts +0 -210
- package/src/server/routes/social.ts +0 -869
- package/src/server/routes/strategy.ts +0 -901
- package/src/server/routes/swap-evm.ts +0 -386
- package/src/server/routes/swap-solana.ts +0 -203
- package/src/server/routes/swap.ts +0 -372
- package/src/server/routes/token.ts +0 -248
- package/src/server/routes/unlock.ts +0 -507
- package/src/server/routes/verified-credentials.ts +0 -312
- package/src/server/routes/views.ts +0 -41
- package/src/server/routes/wallet-assets.ts +0 -364
- package/src/server/routes/wallet-transactions.ts +0 -517
- package/src/server/routes/wallet.ts +0 -711
- package/src/server/test-data/agent-primary.json +0 -12
- package/src/server/test-data/agent-smbe0i.json +0 -14
- package/src/server/test-data/agent-wbl0v6.json +0 -14
- package/src/server/test-data/config.json +0 -33
- package/src/server/test-data/credentials/cred-1sj0yr5a.json +0 -23
- package/src/server/test-data/credentials/cred-469oz33y.json +0 -19
- package/src/server/test-data/credentials/cred-6h2h6oh7.json +0 -23
- package/src/server/test-data/credentials/cred-invrd1h9.json +0 -22
- package/src/server/test-data/credentials-archive/cred-nd7pngdm.json +0 -22
- package/src/server/test-data/debug-worker/agent-3vovb2.json +0 -14
- package/src/server/test-data/debug-worker/agent-ppchyx.json +0 -14
- package/src/server/test-data/debug-worker/agent-primary.json +0 -12
- package/src/server/test-data/debug-worker/agent-tm8bce.json +0 -14
- package/src/server/test-data/debug-worker/credentials/cred-bawnen1r.json +0 -23
- package/src/server/test-data/debug-worker/credentials/cred-wkqqa5sn.json +0 -23
- package/src/server/test-data/debug-worker/test.db +0 -0
- package/src/server/test-data/template.db +0 -0
- package/src/server/test-data/worker-1/test.db +0 -0
- package/src/server/test-data/worker-10/test.db +0 -0
- package/src/server/test-data/worker-11/test.db +0 -0
- package/src/server/test-data/worker-12/test.db +0 -0
- package/src/server/test-data/worker-13/test.db +0 -0
- package/src/server/test-data/worker-14/test.db +0 -0
- package/src/server/test-data/worker-15/test.db +0 -0
- package/src/server/test-data/worker-2/test.db +0 -0
- package/src/server/test-data/worker-3/test.db +0 -0
- package/src/server/test-data/worker-4/test.db +0 -0
- package/src/server/test-data/worker-5/test.db +0 -0
- package/src/server/test-data/worker-6/test.db +0 -0
- package/src/server/test-data/worker-7/test.db +0 -0
- package/src/server/test-data/worker-8/test.db +0 -0
- package/src/server/test-data/worker-9/test.db +0 -0
- package/src/server/tests/ai-integration/harness.ts +0 -235
- package/src/server/tests/ai-integration/live-harness.ts +0 -248
- package/src/server/tests/ai-integration/live.test.ts +0 -394
- package/src/server/tests/ai-integration/prompts.md +0 -396
- package/src/server/tests/ai-integration/scenarios.test.ts +0 -593
- package/src/server/tests/ai-integration/vitest.config.ts +0 -29
- package/src/server/tests/ai-integration/vitest.live.config.ts +0 -30
- package/src/server/tests/app-installer.test.ts +0 -406
- package/src/server/tests/auth/apikeys-validate.test.ts +0 -326
- package/src/server/tests/auth/apikeys.test.ts +0 -352
- package/src/server/tests/auth/approval-permissions-regression.test.ts +0 -641
- package/src/server/tests/auth/middleware.test.ts +0 -236
- package/src/server/tests/auth/permissions.test.ts +0 -387
- package/src/server/tests/cli/actions-auth.test.ts +0 -87
- package/src/server/tests/cli/agent-auth.test.ts +0 -1682
- package/src/server/tests/cli/agent-list-filters.test.ts +0 -150
- package/src/server/tests/cli/agent-share-gist.test.ts +0 -203
- package/src/server/tests/cli/agent.test.ts +0 -206
- package/src/server/tests/cli/auth-action-flag.test.ts +0 -135
- package/src/server/tests/cli/bin-entrypoint.test.ts +0 -438
- package/src/server/tests/cli/create-command.test.ts +0 -73
- package/src/server/tests/cli/credential-resolve.test.ts +0 -86
- package/src/server/tests/cli/doctor.test.ts +0 -154
- package/src/server/tests/cli/env-check-server-agent.test.ts +0 -114
- package/src/server/tests/cli/env.test.ts +0 -107
- package/src/server/tests/cli/escalation.test.ts +0 -140
- package/src/server/tests/cli/http.test.ts +0 -176
- package/src/server/tests/cli/init-flow.test.ts +0 -209
- package/src/server/tests/cli/init-runtime.test.ts +0 -144
- package/src/server/tests/cli/init-steps.test.ts +0 -184
- package/src/server/tests/cli/local-agent-trust.test.ts +0 -92
- package/src/server/tests/cli/process.test.ts +0 -453
- package/src/server/tests/cli/prompt-select.test.ts +0 -129
- package/src/server/tests/cli/quickhack.test.ts +0 -27
- package/src/server/tests/cli/restart-run.test.ts +0 -75
- package/src/server/tests/cli/service.test.ts +0 -138
- package/src/server/tests/cli/social.test.ts +0 -83
- package/src/server/tests/cli/socket.test.ts +0 -324
- package/src/server/tests/cli/start-run.test.ts +0 -185
- package/src/server/tests/cli/start.test.ts +0 -44
- package/src/server/tests/cli/taskctl-lock-smoke.test.ts +0 -136
- package/src/server/tests/cli/token.test.ts +0 -61
- package/src/server/tests/cli/wallet.test.ts +0 -23
- package/src/server/tests/credential-import.test.ts +0 -362
- package/src/server/tests/cron/incoming-scan.test.ts +0 -778
- package/src/server/tests/cron/native-price.test.ts +0 -121
- package/src/server/tests/cron/orphan-cleanup.test.ts +0 -94
- package/src/server/tests/cron/scheduler.test.ts +0 -161
- package/src/server/tests/cron/social-inbound-followers.unit.test.ts +0 -164
- package/src/server/tests/cron/social-inbound-staleness.test.ts +0 -193
- package/src/server/tests/cron/social-outbound.test.ts +0 -252
- package/src/server/tests/cron/strategy-runner.test.ts +0 -158
- package/src/server/tests/docs/job-docs-validation.test.ts +0 -16
- package/src/server/tests/dotenv-parser.test.ts +0 -121
- package/src/server/tests/e2e-agent/artifacts.test.ts +0 -35
- package/src/server/tests/e2e-agent/ci/nightly-set.json +0 -7
- package/src/server/tests/e2e-agent/ci/pr-smoke-set.json +0 -5
- package/src/server/tests/e2e-agent/ci-lanes.test.ts +0 -16
- package/src/server/tests/e2e-agent/runner.ts +0 -43
- package/src/server/tests/e2e-agent/scenarios/aura-onboarding-sanity.scenario.yaml +0 -16
- package/src/server/tests/e2e-agent/scenarios/credential-create-basic.scenario.yaml +0 -12
- package/src/server/tests/e2e-agent/scenarios/credential-read-basic.scenario.yaml +0 -16
- package/src/server/tests/e2e-agent/scenarios/save-on-submit-accept.scenario.yaml +0 -10
- package/src/server/tests/e2e-agent/scenarios/totp-retrieval-seeded.scenario.yaml +0 -12
- package/src/server/tests/e2e-agent/validation.test.ts +0 -129
- package/src/server/tests/e2e.test.ts +0 -295
- package/src/server/tests/endpoints/actions.test.ts +0 -1067
- package/src/server/tests/endpoints/address-transactions.test.ts +0 -223
- package/src/server/tests/endpoints/addressbook.test.ts +0 -225
- package/src/server/tests/endpoints/agent-profiles.test.ts +0 -117
- package/src/server/tests/endpoints/agent.test.ts +0 -713
- package/src/server/tests/endpoints/approve-action.test.ts +0 -107
- package/src/server/tests/endpoints/apps.test.ts +0 -561
- package/src/server/tests/endpoints/auth.test.ts +0 -565
- package/src/server/tests/endpoints/batch.test.ts +0 -352
- package/src/server/tests/endpoints/bookmarks.test.ts +0 -329
- package/src/server/tests/endpoints/credential-access-audit.test.ts +0 -194
- package/src/server/tests/endpoints/credential-ops.test.ts +0 -93
- package/src/server/tests/endpoints/credential-shares.test.ts +0 -249
- package/src/server/tests/endpoints/credentials.test.ts +0 -1786
- package/src/server/tests/endpoints/defaults.test.ts +0 -162
- package/src/server/tests/endpoints/escalation-migration-gate.test.ts +0 -488
- package/src/server/tests/endpoints/fund.test.ts +0 -299
- package/src/server/tests/endpoints/heartbeat.test.ts +0 -274
- package/src/server/tests/endpoints/import.test.ts +0 -192
- package/src/server/tests/endpoints/launch.test.ts +0 -734
- package/src/server/tests/endpoints/passkey-credentials.test.ts +0 -167
- package/src/server/tests/endpoints/passkey.test.ts +0 -219
- package/src/server/tests/endpoints/portfolio.test.ts +0 -497
- package/src/server/tests/endpoints/price.test.ts +0 -237
- package/src/server/tests/endpoints/rate-limit.test.ts +0 -465
- package/src/server/tests/endpoints/send.test.ts +0 -499
- package/src/server/tests/endpoints/setup.test.ts +0 -194
- package/src/server/tests/endpoints/solana-fund.test.ts +0 -218
- package/src/server/tests/endpoints/solana-send.test.ts +0 -215
- package/src/server/tests/endpoints/solana-swap.test.ts +0 -280
- package/src/server/tests/endpoints/solana-wallet.test.ts +0 -223
- package/src/server/tests/endpoints/strategy-routes.test.ts +0 -602
- package/src/server/tests/endpoints/swap.test.ts +0 -589
- package/src/server/tests/endpoints/token-balance.test.ts +0 -227
- package/src/server/tests/endpoints/token-clearing.test.ts +0 -230
- package/src/server/tests/endpoints/token-safety.test.ts +0 -280
- package/src/server/tests/endpoints/token-search.test.ts +0 -186
- package/src/server/tests/endpoints/transactions.test.ts +0 -348
- package/src/server/tests/endpoints/unlock.test.ts +0 -385
- package/src/server/tests/endpoints/wallet-data.test.ts +0 -547
- package/src/server/tests/endpoints/wallet.test.ts +0 -755
- package/src/server/tests/globalSetup.ts +0 -62
- package/src/server/tests/helpers/amounts.ts +0 -14
- package/src/server/tests/integration/adapter-resolve.test.ts +0 -160
- package/src/server/tests/integration/agent-flow.test.ts +0 -477
- package/src/server/tests/lib/adapters-chat.test.ts +0 -259
- package/src/server/tests/lib/adapters-test.test.ts +0 -1196
- package/src/server/tests/lib/adapters.test.ts +0 -962
- package/src/server/tests/lib/address.test.ts +0 -96
- package/src/server/tests/lib/agent-auth/contracts.test.ts +0 -771
- package/src/server/tests/lib/agent-profiles.test.ts +0 -98
- package/src/server/tests/lib/ai.test.ts +0 -452
- package/src/server/tests/lib/api-registry/validation.test.ts +0 -174
- package/src/server/tests/lib/app-tokens-tier.test.ts +0 -106
- package/src/server/tests/lib/approval-link.test.ts +0 -20
- package/src/server/tests/lib/aura-parser.test.ts +0 -96
- package/src/server/tests/lib/auth-action.test.ts +0 -251
- package/src/server/tests/lib/auth.test.ts +0 -237
- package/src/server/tests/lib/auto-execute.test.ts +0 -269
- package/src/server/tests/lib/auto-unlock.test.ts +0 -47
- package/src/server/tests/lib/batch.test.ts +0 -363
- package/src/server/tests/lib/credential-access.test.ts +0 -244
- package/src/server/tests/lib/credential-agent.test.ts +0 -174
- package/src/server/tests/lib/credential-field-schema.test.ts +0 -448
- package/src/server/tests/lib/credential-health.test.ts +0 -110
- package/src/server/tests/lib/credential-paths.test.ts +0 -430
- package/src/server/tests/lib/credential-scope.test.ts +0 -163
- package/src/server/tests/lib/credential-transport.test.ts +0 -319
- package/src/server/tests/lib/credentials.test.ts +0 -249
- package/src/server/tests/lib/defaults.test.ts +0 -76
- package/src/server/tests/lib/diary.test.ts +0 -43
- package/src/server/tests/lib/dont-ask-again-policy.test.ts +0 -22
- package/src/server/tests/lib/encrypt.test.ts +0 -43
- package/src/server/tests/lib/escalation-responder.test.ts +0 -228
- package/src/server/tests/lib/events-decoder.test.ts +0 -286
- package/src/server/tests/lib/events-enricher.test.ts +0 -294
- package/src/server/tests/lib/events-fetcher.test.ts +0 -577
- package/src/server/tests/lib/human-action-summary.test.ts +0 -62
- package/src/server/tests/lib/network.test.ts +0 -280
- package/src/server/tests/lib/oauth2-refresh.test.ts +0 -140
- package/src/server/tests/lib/passkey-credential.test.ts +0 -153
- package/src/server/tests/lib/price.test.ts +0 -286
- package/src/server/tests/lib/prices.test.ts +0 -50
- package/src/server/tests/lib/profile-parity.test.ts +0 -50
- package/src/server/tests/lib/project-scope.test.ts +0 -242
- package/src/server/tests/lib/relay.test.ts +0 -464
- package/src/server/tests/lib/resolve-action.test.ts +0 -294
- package/src/server/tests/lib/secret-gist-share.test.ts +0 -58
- package/src/server/tests/lib/sessions-currency.test.ts +0 -215
- package/src/server/tests/lib/sessions.test.ts +0 -327
- package/src/server/tests/lib/social/create.test.ts +0 -207
- package/src/server/tests/lib/social/sign.test.ts +0 -163
- package/src/server/tests/lib/social/sync.test.ts +0 -198
- package/src/server/tests/lib/solana-wallet.test.ts +0 -143
- package/src/server/tests/lib/strategy/executor.test.ts +0 -363
- package/src/server/tests/lib/strategy/hooks.test.ts +0 -897
- package/src/server/tests/lib/strategy/loader.test.ts +0 -343
- package/src/server/tests/lib/strategy/message.test.ts +0 -416
- package/src/server/tests/lib/strategy/repository.test.ts +0 -84
- package/src/server/tests/lib/strategy/session-logger.test.ts +0 -467
- package/src/server/tests/lib/strategy/sources.test.ts +0 -503
- package/src/server/tests/lib/strategy/state.test.ts +0 -349
- package/src/server/tests/lib/strategy/tick.test.ts +0 -283
- package/src/server/tests/lib/temp-policy.test.ts +0 -184
- package/src/server/tests/lib/token-safety.test.ts +0 -277
- package/src/server/tests/lib/token-search.test.ts +0 -687
- package/src/server/tests/lib/totp.test.ts +0 -193
- package/src/server/tests/lib/uniswap.test.ts +0 -307
- package/src/server/tests/lib/update-check.test.ts +0 -27
- package/src/server/tests/lib/verified-summary.test.ts +0 -454
- package/src/server/tests/lib/websocket-auth.test.ts +0 -247
- package/src/server/tests/mcp/contract.test.ts +0 -318
- package/src/server/tests/mcp/profile-policy.test.ts +0 -178
- package/src/server/tests/mcp/server.test.ts +0 -3159
- package/src/server/tests/mcp/tools.test.ts +0 -518
- package/src/server/tests/resolve.test.ts +0 -81
- package/src/server/tests/runtime-agent-smoke.test.ts +0 -130
- package/src/server/tests/sandbox/cli-cd-suite.test.ts +0 -526
- package/src/server/tests/sandbox/cli.test.ts +0 -402
- package/src/server/tests/send-token.test.ts +0 -191
- package/src/server/tests/setup-integration/adapter-test.test.ts +0 -122
- package/src/server/tests/setup-integration/apikey-validation.test.ts +0 -118
- package/src/server/tests/setup-integration/autonomous-agent.test.ts +0 -243
- package/src/server/tests/setup-integration/edge-cases.test.ts +0 -115
- package/src/server/tests/setup-integration/fresh-setup.test.ts +0 -60
- package/src/server/tests/setup-integration/harness.ts +0 -296
- package/src/server/tests/setup-integration/onboarding-e2e.test.ts +0 -292
- package/src/server/tests/setup-integration/terminal-flow.test.ts +0 -201
- package/src/server/tests/setup-integration/vitest.config.ts +0 -29
- package/src/server/tests/setup-integration/wizard-flow.test.ts +0 -139
- package/src/server/tests/setup.ts +0 -351
- package/src/server/tests/swap-quote.test.ts +0 -279
- package/src/server/tests/test-data/agent-e1ica7.json +0 -14
- package/src/server/tests/test-data/agent-iaswp5.json +0 -14
- package/src/server/tests/test-data/agent-primary.json +0 -12
- package/src/server/tests/test-data/agent-qvn7eo.json +0 -14
- package/src/server/tests/test-data/agent-vqhtrt.json +0 -14
- package/src/server/tests/test-data/config.json +0 -33
- package/src/server/tests/test-data/test.db +0 -0
- package/src/server/tests/workerSetup.ts +0 -39
- package/src/server/tsconfig.json +0 -21
- package/src/server/tsconfig.tsbuildinfo +0 -1
- package/src/server/types.ts +0 -161
- package/start.sh +0 -170
- package/tailwind.config.ts +0 -99
- package/tsconfig.json +0 -52
|
@@ -1,318 +0,0 @@
|
|
|
1
|
-
# Authentication & Permissions
|
|
2
|
-
|
|
3
|
-
This document is the practical entry point for onboarding and using AuraMaxx auth safely.
|
|
4
|
-
|
|
5
|
-
## Quick Start (read this first)
|
|
6
|
-
|
|
7
|
-
### Who is this for?
|
|
8
|
-
|
|
9
|
-
- 🤖 **Agents/CI tooling**: prefer `POST /auth` and token polling flows.
|
|
10
|
-
- 🧑 **Humans**: open the approval link (`/approve/<requestId>`) to review and approve/deny requests.
|
|
11
|
-
- 🛠️ **Developers running local MCP/CLI**: use MCP/socket defaults only when local trust is intentionally configured.
|
|
12
|
-
|
|
13
|
-
### Fastest path (recommended)
|
|
14
|
-
|
|
15
|
-
#### 1) Agent onboarding (least privilege, human approval)
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
# Request an agent token under a named profile.
|
|
19
|
-
auramaxx auth request --agent-id my-agent --profile strict
|
|
20
|
-
|
|
21
|
-
# Wait for approval in dashboard, then poll locally (or use --no-wait and poll manually)
|
|
22
|
-
auramaxx auth poll <requestId> --secret <secret> --private-key-file /tmp/aura-agent-private.pem
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
#### 2) Human unlock (admin session)
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
auramaxx unlock
|
|
29
|
-
# (or: curl POST /unlock for script-driven unlock with encrypted password)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
#### 3) Validate and troubleshoot
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
curl -sS http://localhost:4242/auth/validate \
|
|
36
|
-
-H "Authorization: Bearer <token>"
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
- `200` = token is currently valid for permission checks.
|
|
40
|
-
- non-200 = expired/revoked/syntax mismatch, re-run onboarding.
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
## Decision Matrix (pick the right path)
|
|
45
|
-
|
|
46
|
-
| Use case | Best flow | Why | Typical command/endpoint |
|
|
47
|
-
|---|---|---|---|
|
|
48
|
-
| Standard agent needs ongoing access | **Profile onboarding** | Bound by profile defaults + tighten-only overrides | `POST /auth` (via `auramaxx auth request`) |
|
|
49
|
-
| One-off escalation for one action | **Auth + action** | Token + auto-execute in one approval | `POST /auth` with `action` field |
|
|
50
|
-
| Trusted admin automation / headless tool | **Direct issue (admin only)** | Explicit admin-controlled issuance | `POST /actions/token` |
|
|
51
|
-
| Local MCP/CLI bootstrap on same host | **Socket bootstrap** | Fast path for trusted local callers | Unix socket + trust defaults |
|
|
52
|
-
| Validate active token before use | **Token check** | Detect expiration/revocation before a failing call | `POST /auth/validate` |
|
|
53
|
-
| Revoke compromised token | **Revoke token** | Immediate disable for one token | `POST /actions/tokens/revoke` |
|
|
54
|
-
|
|
55
|
-
If uncertain, default to **profile onboarding** and keep it strict.
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## Auth Flow Summary
|
|
60
|
-
|
|
61
|
-
- `POST /auth` is **profile-based** and requires human approval. Supports an optional `action` field for auto-execute on approval.
|
|
62
|
-
- `POST /actions` is **internal** (used by the strategy engine). Agents should use `POST /auth` with `action` instead.
|
|
63
|
-
- `POST /actions/token` is **admin-only** and supports profile-mode or permissions-mode (never both).
|
|
64
|
-
- `POST /auth/validate` checks token validity at runtime.
|
|
65
|
-
- `POST /actions/tokens/revoke` invalidates issued tokens.
|
|
66
|
-
|
|
67
|
-
---
|
|
68
|
-
|
|
69
|
-
## For Agents
|
|
70
|
-
|
|
71
|
-
> **IMPORTANT**: Agents should request tokens via `POST /auth` and use the approval flow. Human approval is still the security boundary, even when local trust is enabled.
|
|
72
|
-
|
|
73
|
-
## CLI (recommended)
|
|
74
|
-
|
|
75
|
-
```bash
|
|
76
|
-
# Create auth request (profile flow)
|
|
77
|
-
auramaxx auth request --agent-id my-agent --profile strict
|
|
78
|
-
|
|
79
|
-
# Poll with CLI helper (agent private key decrypts response)
|
|
80
|
-
auramaxx auth poll <requestId> --secret <secret> --private-key-file /tmp/aura-agent-private.pem
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
Advanced option (no interactive poll):
|
|
84
|
-
|
|
85
|
-
```bash
|
|
86
|
-
auramaxx auth request --agent-id my-agent --profile strict --no-wait
|
|
87
|
-
auramaxx auth poll <requestId> --secret <secret> --private-key-file /tmp/aura-agent-private.pem --once
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
## MCP / socket bootstrap
|
|
91
|
-
|
|
92
|
-
```bash
|
|
93
|
-
# Start runtime
|
|
94
|
-
auramaxx
|
|
95
|
-
|
|
96
|
-
# Optional one-time IDE setup
|
|
97
|
-
auramaxx mcp --install
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
MCP bootstrap path:
|
|
101
|
-
1. Unix socket auto-approve (if local trust permits)
|
|
102
|
-
2. `AURA_TOKEN` env fallback
|
|
103
|
-
|
|
104
|
-
If socket bootstrap is blocked, fall back to normal token flow:
|
|
105
|
-
|
|
106
|
-
```bash
|
|
107
|
-
AURA_TOKEN=<token> auramaxx mcp
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
## Raw HTTP / cURL examples
|
|
111
|
-
|
|
112
|
-
### `POST /auth` (profile flow)
|
|
113
|
-
|
|
114
|
-
`POST /auth` is profile-based. Raw permission payloads and raw TTL are rejected.
|
|
115
|
-
|
|
116
|
-
```bash
|
|
117
|
-
# 1) Generate ephemeral RSA keypair for token transport
|
|
118
|
-
openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out /tmp/aura-agent-private.pem
|
|
119
|
-
openssl rsa -in /tmp/aura-agent-private.pem -pubout -out /tmp/aura-agent-public.pem
|
|
120
|
-
PUBKEY_B64="$(base64 < /tmp/aura-agent-public.pem | tr -d '\n')"
|
|
121
|
-
|
|
122
|
-
# 2) Request token issuance
|
|
123
|
-
curl -sS -X POST http://localhost:4242/auth \
|
|
124
|
-
-H "Content-Type: application/json" \
|
|
125
|
-
-d "{\"agentId\":\"my-agent\",\"profile\":\"strict\",\"profileVersion\":\"v1\",\"pubkey\":\"$PUBKEY_B64\"}"
|
|
126
|
-
|
|
127
|
-
# 3) Poll request status
|
|
128
|
-
curl -sS "http://localhost:4242/auth/<requestId>?secret=<secret>"
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
### `POST /auth/validate`
|
|
132
|
-
|
|
133
|
-
```bash
|
|
134
|
-
curl -sS -X POST http://localhost:4242/auth/validate \
|
|
135
|
-
-H "Authorization: Bearer <token>"
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
### `POST /actions/token`
|
|
139
|
-
|
|
140
|
-
`/actions/token` supports **exactly one** issue mode:
|
|
141
|
-
|
|
142
|
-
- `profile` mode: `profile`, `profileVersion`, optional tighten-only overrides
|
|
143
|
-
- `permissions` mode: explicit permission grant
|
|
144
|
-
|
|
145
|
-
```bash
|
|
146
|
-
curl -sS -X POST http://localhost:4242/actions/token \
|
|
147
|
-
-H "Authorization: Bearer <admin_token>" \
|
|
148
|
-
-H "Content-Type: application/json" \
|
|
149
|
-
-d '{"profile":"strict","profileVersion":"v1","pubkey":"'$PUBKEY_B64'"}'
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
### Revoke a token
|
|
153
|
-
|
|
154
|
-
```bash
|
|
155
|
-
curl -sS -X POST http://localhost:4242/actions/tokens/revoke \
|
|
156
|
-
-H "Authorization: Bearer <admin_token>" \
|
|
157
|
-
-H "Content-Type: application/json" \
|
|
158
|
-
-d '{"jti":"<token_id>","reason":"Compromised agent key"}'
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
## Auth Flow Comparison
|
|
162
|
-
|
|
163
|
-
| Flow | Endpoint | Human gate? | Intended for |
|
|
164
|
-
|---|---|---|---|
|
|
165
|
-
| Agent Request | `POST /auth` + claim | Yes | Standard agent onboarding |
|
|
166
|
-
| Auth + Action | `POST /auth` with `action` field | Yes | One-off action-scoped escalation (auto-executes on approval) |
|
|
167
|
-
| Direct Admin Issue | `POST /actions/token` | Yes (admin required) | Headless/admin orchestration |
|
|
168
|
-
| Local Socket | Unix socket bootstrap | Trust-dependent | Fast local MCP bootstrap |
|
|
169
|
-
| Unlock/session | `POST /unlock` | Yes | Local machine setup/bootstrap |
|
|
170
|
-
|
|
171
|
-
## Profile-Based Issuance
|
|
172
|
-
|
|
173
|
-
### `/auth` is profile-only
|
|
174
|
-
|
|
175
|
-
`POST /auth` requires:
|
|
176
|
-
- `agentId`
|
|
177
|
-
- `profile`
|
|
178
|
-
- `pubkey`
|
|
179
|
-
|
|
180
|
-
Optional:
|
|
181
|
-
- `profileVersion` (defaults to `v1`)
|
|
182
|
-
- `profileOverrides` (tighten-only)
|
|
183
|
-
- `limit` / `limits.fund`
|
|
184
|
-
- `action` — pre-computed action to auto-execute on approval: `{ endpoint, method, body? }`
|
|
185
|
-
|
|
186
|
-
Rejected:
|
|
187
|
-
- raw `permissions`
|
|
188
|
-
- raw `ttl`
|
|
189
|
-
- raw `credentialAccess`
|
|
190
|
-
|
|
191
|
-
### `/actions/token` strict mode
|
|
192
|
-
|
|
193
|
-
`POST /actions/token` accepts **exactly one** issuance strategy:
|
|
194
|
-
|
|
195
|
-
- profile mode (`profile`, `profileVersion`, `profileOverrides`)
|
|
196
|
-
- permissions mode (`permissions`)
|
|
197
|
-
|
|
198
|
-
### Built-in Profiles (v1)
|
|
199
|
-
|
|
200
|
-
| Profile | Permissions | Read Scopes | Write Scopes | Excluded Fields | TTL | Max Reads |
|
|
201
|
-
|---------|------------|-------------|-------------|-----------------|-----|-----------|
|
|
202
|
-
| `strict` | `secret:read` | `agent:agent` | none | `password, cvv, privateKey, seedPhrase, refresh_token` | 15 min | 50 |
|
|
203
|
-
| `dev` | `wallet:list, secret:read, secret:write, action:create, action:read, action:resolve` | `agent:*` | `agent:*` | `cvv, seedPhrase, privateKey, refresh_token` | 1 hour | 500 |
|
|
204
|
-
| `admin` | `admin:*` | `*` | `*` | none | 1 hour | unlimited |
|
|
205
|
-
|
|
206
|
-
### Credential Scope Selectors
|
|
207
|
-
|
|
208
|
-
Use selectors to bound what an agent can see or edit:
|
|
209
|
-
|
|
210
|
-
- `agent:agent` — agent agent only
|
|
211
|
-
- `agent:primary` — primary agent only
|
|
212
|
-
- `agent:*` — all agents
|
|
213
|
-
- `*` — all credentials
|
|
214
|
-
- `tag:<label>` — credentials with a specific tag
|
|
215
|
-
- `cred-xxxxx` — a specific credential by ID
|
|
216
|
-
|
|
217
|
-
### Profile Overrides (`profileOverrides`)
|
|
218
|
-
|
|
219
|
-
Overrides are **tighten-only** — they can only reduce privilege, never broaden it.
|
|
220
|
-
|
|
221
|
-
| Override Key | Type | Tighten-only Rule |
|
|
222
|
-
|---|---|---|
|
|
223
|
-
| `ttlSeconds` | number | Must be shorter than profile default |
|
|
224
|
-
| `maxReads` | number | Must be ≤ profile default |
|
|
225
|
-
| `scope` | string[] | Must be subset of profile permissions |
|
|
226
|
-
| `readScopes` | string[] | Must be subset of profile read scopes |
|
|
227
|
-
| `writeScopes` | string[] | Must be subset of profile write scopes |
|
|
228
|
-
| `excludeFields` | string[] | Can only add exclusions, never remove profile-required ones |
|
|
229
|
-
|
|
230
|
-
Example — request a `dev` profile but restrict to agent agent and shorten TTL:
|
|
231
|
-
|
|
232
|
-
```bash
|
|
233
|
-
curl -sS -X POST http://localhost:4242/auth \
|
|
234
|
-
-H "Content-Type: application/json" \
|
|
235
|
-
-d '{
|
|
236
|
-
"agentId": "my-agent",
|
|
237
|
-
"profile": "dev",
|
|
238
|
-
"pubkey": "'$PUBKEY_B64'",
|
|
239
|
-
"profileOverrides": {
|
|
240
|
-
"ttlSeconds": 600,
|
|
241
|
-
"readScopes": ["agent:agent"],
|
|
242
|
-
"writeScopes": ["agent:agent"],
|
|
243
|
-
"excludeFields": ["cvv", "seedPhrase", "privateKey", "refresh_token", "password"]
|
|
244
|
-
}
|
|
245
|
-
}'
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
Use `POST /actions/token/preview` to inspect the effective policy before issuing:
|
|
249
|
-
|
|
250
|
-
```bash
|
|
251
|
-
curl -sS -X POST http://localhost:4242/actions/token/preview \
|
|
252
|
-
-H "Authorization: Bearer <admin_token>" \
|
|
253
|
-
-H "Content-Type: application/json" \
|
|
254
|
-
-d '{"profile": "dev", "profileOverrides": {"ttlSeconds": 600}}'
|
|
255
|
-
```
|
|
256
|
-
|
|
257
|
-
## Socket defaults and trust
|
|
258
|
-
|
|
259
|
-
Defaults:
|
|
260
|
-
|
|
261
|
-
- API server: `http://localhost:4242`
|
|
262
|
-
- Socket path: `/tmp/aura-cli-<uid>.sock`
|
|
263
|
-
- Local socket perms: `0600`
|
|
264
|
-
- Default trust profile: `dev`
|
|
265
|
-
- `trust.localAutoApprove = false`
|
|
266
|
-
|
|
267
|
-
Use admin auth for trust tuning:
|
|
268
|
-
|
|
269
|
-
```bash
|
|
270
|
-
curl -sS -X PATCH http://localhost:4242/defaults/trust.localAutoApprove \
|
|
271
|
-
-H "Authorization: Bearer <admin_token>" \
|
|
272
|
-
-H "Content-Type: application/json" \
|
|
273
|
-
-d '{"value": true}'
|
|
274
|
-
```
|
|
275
|
-
|
|
276
|
-
## Approving Requests (for humans)
|
|
277
|
-
|
|
278
|
-
When an agent requests access, a human must approve it. Every request gets a dedicated approval page:
|
|
279
|
-
|
|
280
|
-
```
|
|
281
|
-
http://localhost:4747/approve/<requestId>
|
|
282
|
-
```
|
|
283
|
-
|
|
284
|
-
The page shows the action summary, requested permissions, risk level, and spending limits. Review the details, then click **Approve** or **Deny**.
|
|
285
|
-
|
|
286
|
-
**Where to find the link:**
|
|
287
|
-
- The `POST /auth` response includes an `approveUrl` field — agents should surface this to the human
|
|
288
|
-
- MCP `auth` tool returns `approveUrl` — give this link to the human
|
|
289
|
-
- CLI `auramaxx auth request` prints the approval URL
|
|
290
|
-
- The dashboard at `http://localhost:4747` also shows pending requests
|
|
291
|
-
|
|
292
|
-
**For agents:** Always give the human the approval URL. Do not just say "approve in the dashboard" — provide the direct link so they can review and approve with one click.
|
|
293
|
-
|
|
294
|
-
## Token lifecycle and claim behavior
|
|
295
|
-
|
|
296
|
-
1) Agent requests token → returns `requestId` + `secret` + `approveUrl`.
|
|
297
|
-
2) Human opens approval URL, reviews permissions, and approves.
|
|
298
|
-
3) Agent polls `GET /auth/:requestId?secret=...` → one-time claim semantics.
|
|
299
|
-
4) On approval returns `encryptedToken` + metadata.
|
|
300
|
-
5) On restart: in-memory state rotates, tokens may be invalidated.
|
|
301
|
-
6) On revoke: `POST /actions/tokens/revoke` removes active token from trust boundary immediately.
|
|
302
|
-
|
|
303
|
-
## Encrypted password transport
|
|
304
|
-
|
|
305
|
-
Passwords for `/unlock` and `/setup` are RSA-OAEP encrypted before transmission.
|
|
306
|
-
|
|
307
|
-
- RSA keypair generated on server startup
|
|
308
|
-
- Frontend fetches `/auth/connect` pubkey and encrypts password
|
|
309
|
-
- Password decrypts server-side; token returns only to validated clients
|
|
310
|
-
- Private key stays in process memory
|
|
311
|
-
|
|
312
|
-
## Related references
|
|
313
|
-
|
|
314
|
-
- [MCP](MCP.md)
|
|
315
|
-
- [CLI](CLI.md)
|
|
316
|
-
- [Security](security.md)
|
|
317
|
-
- [Authentication API](./api/authentication.md)
|
|
318
|
-
- [Troubleshooting](TROUBLESHOOTING.md)
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
# CLI
|
|
2
|
-
|
|
3
|
-
## Commands
|
|
4
|
-
|
|
5
|
-
The most common commands. All use the `aura` alias (or `npx auramaxx`).
|
|
6
|
-
|
|
7
|
-
| Command | Description |
|
|
8
|
-
|---------|-------------|
|
|
9
|
-
| `aura get <name>` | Read a credential (`--json` for full payload) |
|
|
10
|
-
| `aura set <name> <value>` | Create or update a secret |
|
|
11
|
-
| `aura list` | List credential names |
|
|
12
|
-
| `aura diary write --entry "<text>"` | Append an authenticated daily diary entry |
|
|
13
|
-
| `aura share <name>` | Create a shareable secret gist link |
|
|
14
|
-
| `aura inject <name> [-- <cmd>]` | Save to env var and optionally run command |
|
|
15
|
-
| `aura del <name>` | Delete a credential |
|
|
16
|
-
|
|
17
|
-
> **Note:** `aura get` returns encrypted ciphertext by default — this is a protected route.
|
|
18
|
-
> To decrypt and print a value, use `aura inject <name> -- printenv AURA_SECRET`.
|
|
19
|
-
> To pass a secret to a command under a custom env var: `aura inject <name> --env MY_VAR -- <your-command>`.
|
|
20
|
-
|
|
21
|
-
## First Success (Run In Order)
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
aura status
|
|
25
|
-
aura list
|
|
26
|
-
aura set OURSECRET 123
|
|
27
|
-
aura get OURSECRET
|
|
28
|
-
aura share OURSECRET --expires-after 24h
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
If `status` fails, see [TROUBLESHOOTING.md](TROUBLESHOOTING.md).
|
|
32
|
-
`status` checks both services: API server (`http://localhost:4242`) and dashboard UI (`http://localhost:4747`).
|
|
33
|
-
|
|
34
|
-
## Admin Commands
|
|
35
|
-
|
|
36
|
-
Essential admin commands for setup and maintenance.
|
|
37
|
-
|
|
38
|
-
| Command | Description |
|
|
39
|
-
|---------|-------------|
|
|
40
|
-
| `aura start` | Start Aura services (includes first-run bootstrap) |
|
|
41
|
-
| `aura status` | Check runtime health |
|
|
42
|
-
| `aura init` | Advanced/recovery setup flow (most users should run `start`) |
|
|
43
|
-
| `aura mcp` | Start MCP server for Claude Code, Cursor, etc. |
|
|
44
|
-
| `aura skill` | Install AuraMaxx skills for Claude/Codex/OpenClaw |
|
|
45
|
-
| `aura auth` | Request/poll agent auth approvals |
|
|
46
|
-
|
|
47
|
-
Run `aura --help --all` to see all commands including advanced admin (stop, lock, unlock, doctor, restore, etc.).
|
|
48
|
-
|
|
49
|
-
## Stopping Servers
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
aura stop
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
Stops all running AuraMaxx processes:
|
|
56
|
-
|
|
57
|
-
- **Wallet server** (`server/index.ts` on port 4242)
|
|
58
|
-
- **Cron server** (`server/cron/index.ts` — balance sync, price sync)
|
|
59
|
-
- **Dashboard** (`next dev` on port 4747)
|
|
60
|
-
|
|
61
|
-
Also cleans up temp files (CLI lock file, Unix socket).
|
|
62
|
-
|
|
63
|
-
This does **not** affect the MCP server — that runs in its own stdio process managed by the client (Claude Code, Cursor, etc.) that started it.
|
|
64
|
-
|
|
65
|
-
## Examples
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
# Check services
|
|
69
|
-
aura status
|
|
70
|
-
|
|
71
|
-
# Credentials
|
|
72
|
-
aura list # List credential names
|
|
73
|
-
aura get OURSECRET # Read a credential
|
|
74
|
-
aura set OURSECRET 123 # Create or update a credential value
|
|
75
|
-
aura set GITHUB_LOGIN hunter2 --type login # Store as login credential (password field)
|
|
76
|
-
aura share OURSECRET --expires-after 24h # Create a shareable secret gist link
|
|
77
|
-
aura del OURSECRET # Delete a credential
|
|
78
|
-
|
|
79
|
-
# Inject secret into a command
|
|
80
|
-
aura inject DONTLOOK --env HIDETHIS -- printenv HIDETHIS # Execute command with injected secret env var
|
|
81
|
-
|
|
82
|
-
# Auth and approvals
|
|
83
|
-
aura auth request --agent-id codex --profile strict
|
|
84
|
-
aura auth request --profile strict --action '{"endpoint":"/send","method":"POST","body":{"to":"0x...","amount":"0.01"}}'
|
|
85
|
-
aura auth poll <requestId> --secret <secret>
|
|
86
|
-
aura diary write --entry "Heartbeat: no pending requests, sync ok"
|
|
87
|
-
|
|
88
|
-
# Advanced
|
|
89
|
-
aura api GET /health --no-auth # Call any API endpoint
|
|
90
|
-
aura doctor # Run diagnostics
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
Sensitive output defaults:
|
|
94
|
-
|
|
95
|
-
- Sensitive fields return encrypted output by default.
|
|
96
|
-
- To auto-decrypt sensitive output, set `AUTO_DECRYPT=true` and `AURA_AGENT_PASSWORD=<password>`.
|
|
97
|
-
|
|
98
|
-
## All Commands
|
|
99
|
-
|
|
100
|
-
Full list visible via `aura --help --all`. Summary:
|
|
101
|
-
|
|
102
|
-
| Command | Description |
|
|
103
|
-
|---------|-------------|
|
|
104
|
-
| `start` | Start Aura services (includes bootstrap/setup) |
|
|
105
|
-
| `stop` | Stop running servers |
|
|
106
|
-
| `status` | Check runtime health |
|
|
107
|
-
| `init` | Advanced/recovery setup flow |
|
|
108
|
-
| `unlock` / `lock` | Unlock or lock agents |
|
|
109
|
-
| `mcp` | Start MCP server for Claude Code, Cursor, etc. |
|
|
110
|
-
| `skill` | Install AuraMaxx skills for agents |
|
|
111
|
-
| `auth` | Request/poll agent auth approvals |
|
|
112
|
-
| `diary` | Append daily diary entries (auth-aware) |
|
|
113
|
-
| `actions` | Internal: human actions and token management (use `auth` instead) |
|
|
114
|
-
| `api` | Call any wallet API endpoint from CLI |
|
|
115
|
-
| `doctor` | Run diagnostics |
|
|
116
|
-
| `restore` | Restore backup + run migrations |
|
|
117
|
-
| `app` | Manage installed apps |
|
|
118
|
-
| `apikey` | List/validate/set/delete API keys |
|
|
119
|
-
| `env` | Load env vars from agent via .aura file |
|
|
120
|
-
| `shell-hook` | Auto-load .aura env vars on cd (like direnv) |
|
|
121
|
-
| `experimental` | Toggle dev feature flags |
|
|
122
|
-
| `cron` | Run cron server standalone |
|
|
123
|
-
| `secret` | Run commands with injected secret env vars |
|
|
124
|
-
| `token` | Preview profile-based token policy |
|
|
125
|
-
| `wallet` | Wallet API wrappers (status, assets, swap, send, fund) |
|
|
126
|
-
|
|
127
|
-
## Next Steps
|
|
128
|
-
|
|
129
|
-
- Builder / AI integration -> [MCP.md](MCP.md)
|
|
130
|
-
- Operator / Security -> [security.md](security.md)
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
# MCP
|
|
2
|
-
|
|
3
|
-
AuraMaxx MCP server exposes credential agent and wallet APIs to MCP clients over stdio.
|
|
4
|
-
|
|
5
|
-
## Start
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
auramaxx
|
|
9
|
-
auramaxx mcp
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
`auramaxx` starts the API server on `http://localhost:4242` and dashboard UI on `http://localhost:4747`.
|
|
13
|
-
|
|
14
|
-
Auto-configure local IDE MCP files:
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
auramaxx mcp --install
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Per-client setup (exact locations + JSON)
|
|
21
|
-
|
|
22
|
-
Use the client-specific setup guide:
|
|
23
|
-
|
|
24
|
-
- `docs/AGENT_SETUP.md`
|
|
25
|
-
|
|
26
|
-
It includes exact config locations, copy-paste JSON, restart steps, and quick verification for Cursor, Codex, Claude Desktop, OpenClaw, and generic MCP clients.
|
|
27
|
-
|
|
28
|
-
## Quickstart (TL;DR: get / set / list)
|
|
29
|
-
|
|
30
|
-
Use this flow first. It mirrors the `WORKING_WITH_SECRETS.md` command patterns.
|
|
31
|
-
|
|
32
|
-
### Set a secret (`put_secret`)
|
|
33
|
-
|
|
34
|
-
```json
|
|
35
|
-
{
|
|
36
|
-
"name": "OURSECRET",
|
|
37
|
-
"value": "123"
|
|
38
|
-
}
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Get a secret (`get_secret`)
|
|
42
|
-
|
|
43
|
-
```json
|
|
44
|
-
{
|
|
45
|
-
"name": "DONTLOOK"
|
|
46
|
-
}
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
- This returns redacted output (`"secret": "*******"`) and sets `AURA_DONTLOOK` in MCP server process scope.
|
|
50
|
-
|
|
51
|
-
Command-scoped injection (recommended):
|
|
52
|
-
|
|
53
|
-
```json
|
|
54
|
-
{
|
|
55
|
-
"name": "DONTLOOK",
|
|
56
|
-
"command": ["/bin/zsh", "-lc", "printenv AURA_DONTLOOK"]
|
|
57
|
-
}
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
Unsafe plaintext debug output:
|
|
61
|
-
|
|
62
|
-
```json
|
|
63
|
-
{
|
|
64
|
-
"name": "DONTLOOK",
|
|
65
|
-
"dangerPlaintext": true
|
|
66
|
-
}
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
### List secrets (`list_secrets`)
|
|
70
|
-
|
|
71
|
-
```json
|
|
72
|
-
{}
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
Filter by name/tag/agent:
|
|
76
|
-
|
|
77
|
-
```json
|
|
78
|
-
{
|
|
79
|
-
"q": "github",
|
|
80
|
-
"tag": "prod",
|
|
81
|
-
"agent": "primary"
|
|
82
|
-
}
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
### Custom env var name (`inject_secret`)
|
|
86
|
-
|
|
87
|
-
```json
|
|
88
|
-
{
|
|
89
|
-
"name": "DONTLOOK",
|
|
90
|
-
"envVar": "AURA_DONTNOTE",
|
|
91
|
-
"command": ["/bin/zsh", "-lc", "printenv AURA_DONTNOTE"]
|
|
92
|
-
}
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
## MCP Resources
|
|
96
|
-
|
|
97
|
-
- `docs://api`
|
|
98
|
-
- `docs://auth`
|
|
99
|
-
- `docs://guide`
|
|
100
|
-
|
|
101
|
-
## Tools (12)
|
|
102
|
-
|
|
103
|
-
| # | Tool | Description |
|
|
104
|
-
|---|------|-------------|
|
|
105
|
-
| 1 | `get_secret` | Look up a credential, inject default env var (`AURA_{SECRETNAME}`), return redacted metadata by default |
|
|
106
|
-
| 2 | `put_secret` | Store a new credential (note type) in the default agent |
|
|
107
|
-
| 3 | `list_secrets` | List credentials with optional query/tag/agent/lifecycle filters |
|
|
108
|
-
| 4 | `del_secret` | Delete a credential by name |
|
|
109
|
-
| 5 | `inject_secret` | Read a credential and inject into env var (custom name optional), redacted output by default |
|
|
110
|
-
| 6 | `share_secret` | Create a time-limited shareable link for a credential |
|
|
111
|
-
| 7 | `api` | Generic AuraMaxx API caller (any endpoint, any method) |
|
|
112
|
-
| 8 | `auth` | Request an authenticated session token (ephemeral RSA + human approval polling) |
|
|
113
|
-
| 9 | `get_token` | Check if session has an active token (poll after `auth` for approval status) |
|
|
114
|
-
| 10 | `status` | Get server setup/unlock health state |
|
|
115
|
-
| 11 | `start` | Start the AuraMaxx server in headless mode if not already running |
|
|
116
|
-
| 12 | `write_diary` | Append an entry to a daily diary note |
|
|
117
|
-
|
|
118
|
-
`api` is the generic fallback for any endpoint; the other tools provide typed, higher-level operations.
|
|
119
|
-
|
|
120
|
-
## Skill Install
|
|
121
|
-
|
|
122
|
-
Install AuraMaxx skills for your AI agents:
|
|
123
|
-
|
|
124
|
-
```bash
|
|
125
|
-
npx auramaxx skill
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
This auto-installs skills for Claude, Codex, and OpenClaw. Verify with:
|
|
129
|
-
|
|
130
|
-
```bash
|
|
131
|
-
npx auramaxx skill --doctor
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
If auto-install fails, use the fallback:
|
|
135
|
-
|
|
136
|
-
```bash
|
|
137
|
-
cd <your-codebase> && npx -y skills add Aura-Industry/auramaxx
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
For a pushed GitHub ref (branch or commit):
|
|
141
|
-
|
|
142
|
-
```bash
|
|
143
|
-
python3 ~/.codex/skills/.system/skill-installer/scripts/install-skill-from-github.py \
|
|
144
|
-
--repo Aura-Industry/auramaxx \
|
|
145
|
-
--path skills/auramaxx \
|
|
146
|
-
--ref <branch-or-commit>
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
`write_diary` appends to `{YYYY-MM-DD}_LOGS` notes using agent agent by default, with fallback to primary agent.
|
|
150
|
-
Diary notes use canonical note field key `content` (`value` is accepted as a legacy alias and normalized).
|
|
151
|
-
|
|
152
|
-
## Credential read flow via MCP
|
|
153
|
-
|
|
154
|
-
1. Obtain token (`auth` tool, or socket bootstrap, or `AURA_TOKEN` env var)
|
|
155
|
-
2. If using `auth`, poll with `get_token` until `hasToken: true` (approval is async)
|
|
156
|
-
3. Call `get_secret` (high-level) or `api` POST `/credentials/:id/read` (low-level)
|
|
157
|
-
4. Use `command` when you need command-scoped injection; omit `command` to set env var in MCP process and receive WHATDO guidance
|
|
158
|
-
|
|
159
|
-
Note:
|
|
160
|
-
- Typed tools (`get_secret`, `put_secret`, `del_secret`, `share_secret`, `inject_secret`, `write_diary`) use the active MCP token directly.
|
|
161
|
-
- `get_secret` and `inject_secret` are redacted by default (`secret: "*******"`). Set `dangerPlaintext: true` only for break-glass local debugging.
|
|
162
|
-
- `get_secret` uses the default env var name `AURA_{SECRETNAME}`.
|
|
163
|
-
- Both tools accept optional `command` (array of executable + args). When omitted, they return a `whatDo` guidance block and keep scope in MCP server process.
|
|
164
|
-
- Typed helpers have **built-in 403 escalation** — on permission denied they automatically return a structured `requiresHumanApproval` response. You do not need to detect 403s yourself for typed tools.
|
|
165
|
-
- The generic `api` tool does **not** auto-escalate — on 403, check the error response and request appropriate permissions via `auth`.
|
|
166
|
-
|
|
167
|
-
## 403 escalation ladder
|
|
168
|
-
|
|
169
|
-
1. Call the typed tool or `api`.
|
|
170
|
-
2. If 403, typed tools auto-return a `nextStep` with the `api` call params — follow it.
|
|
171
|
-
For `api`, request a new token via `auth` with the required profile/permissions.
|
|
172
|
-
3. Tell the human to approve in the dashboard at `http://localhost:4747` (or via Telegram/CLI adapter).
|
|
173
|
-
4. **Never** retry the same blocked call without escalating first.
|
|
174
|
-
|
|
175
|
-
## Safety pattern
|
|
176
|
-
|
|
177
|
-
- Start with least privilege (`secret:read`, narrow `credentialAccess.read` scopes)
|
|
178
|
-
- Typed tools auto-escalate on 403; for `api`, use `auth` to request a new token
|
|
179
|
-
- Tell the human to approve at `http://localhost:4747`
|
|
180
|
-
- Avoid broad long-lived tokens
|
|
181
|
-
|
|
182
|
-
## Example call
|
|
183
|
-
|
|
184
|
-
```json
|
|
185
|
-
{
|
|
186
|
-
"method": "POST",
|
|
187
|
-
"endpoint": "/credentials/cred-123/read",
|
|
188
|
-
"body": {}
|
|
189
|
-
}
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
See also: [GETTING_SECRETS](./external/HOW_TO_AURAMAXX/GETTING_SECRETS.md), [AUTH](AUTH.md), and [Troubleshooting](TROUBLESHOOTING.md).
|