auramaxx 0.0.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.
Files changed (418) hide show
  1. package/LICENSE +26 -0
  2. package/README.md +77 -0
  3. package/apps/desktop-electron/main.js +428 -0
  4. package/bin/auramaxx.js +1063 -0
  5. package/docs/ADAPTERS.md +466 -0
  6. package/docs/AGENT_SETUP.md +159 -0
  7. package/docs/API.md +127 -0
  8. package/docs/APPS.md +199 -0
  9. package/docs/ARCHITECTURE.md +235 -0
  10. package/docs/AUTH.md +318 -0
  11. package/docs/BEST-PRACTICES.md +82 -0
  12. package/docs/CLI.md +141 -0
  13. package/docs/DESKTOP_ELECTRON.md +26 -0
  14. package/docs/DEVELOPING-APPS.md +453 -0
  15. package/docs/MCP.md +122 -0
  16. package/docs/PACKAGING_POLICY.md +19 -0
  17. package/docs/PERMISSION.md +137 -0
  18. package/docs/PROTOCOL.md +142 -0
  19. package/docs/README.md +50 -0
  20. package/docs/SKILLS.md +132 -0
  21. package/docs/TROUBLESHOOTING.md +376 -0
  22. package/docs/WORKSPACE.md +673 -0
  23. package/docs/agent-auth.md +14 -0
  24. package/docs/api/authentication.md +79 -0
  25. package/docs/api/secrets/api-keys.md +28 -0
  26. package/docs/api/secrets/credentials.md +80 -0
  27. package/docs/api/secrets/sharing.md +48 -0
  28. package/docs/api/system.md +41 -0
  29. package/docs/api/wallets/apps-strategies.md +66 -0
  30. package/docs/api/wallets/core.md +46 -0
  31. package/docs/api/wallets/data-portfolio.md +42 -0
  32. package/docs/aura-file.md +48 -0
  33. package/docs/core-concepts/FEATURES.md +114 -0
  34. package/docs/credentials.md +120 -0
  35. package/docs/external/HOW_TO_AURAMAXX/GETTING_SECRETS.md +33 -0
  36. package/docs/external/HOW_TO_AURAMAXX/README.md +45 -0
  37. package/docs/external/getting-started.md +10 -0
  38. package/docs/external/overview.md +19 -0
  39. package/docs/external/persona-paths.md +7 -0
  40. package/docs/external/share-secret.md +76 -0
  41. package/docs/external/why-aura.md +7 -0
  42. package/docs/security.md +227 -0
  43. package/docs/templates/RELEASE_NOTES_TEMPLATE.md +22 -0
  44. package/docs/wallet/AI.md +508 -0
  45. package/docs/wallet/DEVELOPING-STRATEGIES.md +713 -0
  46. package/docs/wallet/README.md +47 -0
  47. package/docs/wallet/STRATEGY.md +89 -0
  48. package/next.config.ts +28 -0
  49. package/package.json +167 -0
  50. package/postcss.config.mjs +8 -0
  51. package/prisma/migrations/20260214170000_baseline/migration.sql +511 -0
  52. package/prisma/migrations/20260216214537_add_passkey_model/migration.sql +18 -0
  53. package/prisma/migrations/20260217150500_add_credential_access_audit/migration.sql +31 -0
  54. package/prisma/migrations/20260222090000_update_admin_ttl_default/migration.sql +10 -0
  55. package/prisma/migrations/migration_lock.toml +3 -0
  56. package/prisma/schema.prisma +447 -0
  57. package/public/logo.webp +0 -0
  58. package/scripts/add-app.js +245 -0
  59. package/server/abi/SwapHelper.json +438 -0
  60. package/server/cli/approval.ts +447 -0
  61. package/server/cli/commands/actions.ts +474 -0
  62. package/server/cli/commands/api.ts +220 -0
  63. package/server/cli/commands/apikey.ts +277 -0
  64. package/server/cli/commands/app.ts +204 -0
  65. package/server/cli/commands/auth.ts +464 -0
  66. package/server/cli/commands/cron.ts +24 -0
  67. package/server/cli/commands/diary.ts +274 -0
  68. package/server/cli/commands/doctor.ts +1247 -0
  69. package/server/cli/commands/env.ts +476 -0
  70. package/server/cli/commands/experimental.ts +69 -0
  71. package/server/cli/commands/init.ts +798 -0
  72. package/server/cli/commands/lock.ts +157 -0
  73. package/server/cli/commands/mcp.ts +285 -0
  74. package/server/cli/commands/quickhack.ts +86 -0
  75. package/server/cli/commands/release-check.ts +231 -0
  76. package/server/cli/commands/restore.ts +314 -0
  77. package/server/cli/commands/service.ts +320 -0
  78. package/server/cli/commands/shell-hook.ts +512 -0
  79. package/server/cli/commands/skill.ts +216 -0
  80. package/server/cli/commands/start.ts +139 -0
  81. package/server/cli/commands/status.ts +59 -0
  82. package/server/cli/commands/stop.ts +36 -0
  83. package/server/cli/commands/token.ts +180 -0
  84. package/server/cli/commands/unlock.ts +50 -0
  85. package/server/cli/commands/vault.ts +1323 -0
  86. package/server/cli/commands/wallet.ts +209 -0
  87. package/server/cli/index.ts +280 -0
  88. package/server/cli/lib/approval-poll.ts +94 -0
  89. package/server/cli/lib/aura-parser.ts +64 -0
  90. package/server/cli/lib/credential-create.ts +74 -0
  91. package/server/cli/lib/credential-resolve.ts +280 -0
  92. package/server/cli/lib/dotenv-migrate.ts +116 -0
  93. package/server/cli/lib/dotenv-parser.ts +146 -0
  94. package/server/cli/lib/escalation.ts +57 -0
  95. package/server/cli/lib/http.ts +91 -0
  96. package/server/cli/lib/init-steps.ts +76 -0
  97. package/server/cli/lib/local-agent-trust.ts +45 -0
  98. package/server/cli/lib/lock-unlock-helper.ts +71 -0
  99. package/server/cli/lib/process.ts +162 -0
  100. package/server/cli/lib/prompt.ts +294 -0
  101. package/server/cli/lib/theme.ts +240 -0
  102. package/server/cli/socket.ts +579 -0
  103. package/server/cli/transport-client.ts +50 -0
  104. package/server/cron/index.ts +137 -0
  105. package/server/cron/job.ts +31 -0
  106. package/server/cron/jobs/balance-sync.ts +436 -0
  107. package/server/cron/jobs/incoming-scan.ts +506 -0
  108. package/server/cron/jobs/native-price.ts +70 -0
  109. package/server/cron/jobs/orphan-cleanup.ts +40 -0
  110. package/server/cron/jobs/strategy-runner.ts +175 -0
  111. package/server/cron/scheduler.ts +125 -0
  112. package/server/index.ts +420 -0
  113. package/server/lib/adapters/factory.ts +119 -0
  114. package/server/lib/adapters/index.ts +19 -0
  115. package/server/lib/adapters/router.ts +297 -0
  116. package/server/lib/adapters/telegram.ts +645 -0
  117. package/server/lib/adapters/types.ts +89 -0
  118. package/server/lib/adapters/webhook.ts +95 -0
  119. package/server/lib/address.ts +49 -0
  120. package/server/lib/agent-auth/contracts.ts +1194 -0
  121. package/server/lib/agent-profiles.ts +419 -0
  122. package/server/lib/ai.ts +285 -0
  123. package/server/lib/api-registry/contracts.ts +86 -0
  124. package/server/lib/api-registry/validation.ts +172 -0
  125. package/server/lib/apikey-migration.ts +258 -0
  126. package/server/lib/app-installer.ts +505 -0
  127. package/server/lib/app-tokens.ts +247 -0
  128. package/server/lib/approval-link.ts +27 -0
  129. package/server/lib/auth.ts +314 -0
  130. package/server/lib/auto-execute.ts +160 -0
  131. package/server/lib/batch.ts +242 -0
  132. package/server/lib/cold.ts +1048 -0
  133. package/server/lib/config.ts +408 -0
  134. package/server/lib/credential-access-audit.ts +85 -0
  135. package/server/lib/credential-access-policy.ts +111 -0
  136. package/server/lib/credential-health.ts +343 -0
  137. package/server/lib/credential-import.ts +608 -0
  138. package/server/lib/credential-scope.ts +102 -0
  139. package/server/lib/credential-shares.ts +190 -0
  140. package/server/lib/credential-transport.ts +533 -0
  141. package/server/lib/credential-vault.ts +77 -0
  142. package/server/lib/credentials.ts +422 -0
  143. package/server/lib/crypto.ts +8 -0
  144. package/server/lib/db.ts +58 -0
  145. package/server/lib/defaults.ts +386 -0
  146. package/server/lib/dex/index.ts +80 -0
  147. package/server/lib/dex/relay.ts +235 -0
  148. package/server/lib/dex/types.ts +59 -0
  149. package/server/lib/dex/uniswap.ts +370 -0
  150. package/server/lib/diary.ts +34 -0
  151. package/server/lib/dont-ask-again-policy.ts +41 -0
  152. package/server/lib/e2e-agent/artifacts.ts +36 -0
  153. package/server/lib/e2e-agent/contracts.ts +112 -0
  154. package/server/lib/e2e-agent/validation.ts +135 -0
  155. package/server/lib/encrypt.ts +114 -0
  156. package/server/lib/error.ts +20 -0
  157. package/server/lib/events.ts +217 -0
  158. package/server/lib/feature-flags.ts +93 -0
  159. package/server/lib/hot.ts +357 -0
  160. package/server/lib/human-action-summary.ts +80 -0
  161. package/server/lib/key-fingerprint.ts +28 -0
  162. package/server/lib/logger.ts +340 -0
  163. package/server/lib/network.ts +137 -0
  164. package/server/lib/notifications.ts +230 -0
  165. package/server/lib/oauth2-refresh.ts +241 -0
  166. package/server/lib/oursecret.ts +71 -0
  167. package/server/lib/passkey-credential.ts +360 -0
  168. package/server/lib/passkey.ts +68 -0
  169. package/server/lib/permissions.ts +299 -0
  170. package/server/lib/pino.ts +24 -0
  171. package/server/lib/policy-preview.ts +138 -0
  172. package/server/lib/price.ts +338 -0
  173. package/server/lib/prices.ts +34 -0
  174. package/server/lib/project-scope.ts +297 -0
  175. package/server/lib/resolve-action.ts +328 -0
  176. package/server/lib/resolve.ts +36 -0
  177. package/server/lib/secret-gist-share.ts +296 -0
  178. package/server/lib/sessions.ts +634 -0
  179. package/server/lib/socket-path.ts +56 -0
  180. package/server/lib/solana/connection.ts +26 -0
  181. package/server/lib/solana/jupiter.ts +128 -0
  182. package/server/lib/solana/transfer.ts +108 -0
  183. package/server/lib/solana/wallet.ts +136 -0
  184. package/server/lib/strategy/emits.ts +21 -0
  185. package/server/lib/strategy/engine.ts +1305 -0
  186. package/server/lib/strategy/executor.ts +115 -0
  187. package/server/lib/strategy/hook-context.ts +159 -0
  188. package/server/lib/strategy/hooks.ts +990 -0
  189. package/server/lib/strategy/index.ts +28 -0
  190. package/server/lib/strategy/installer.ts +305 -0
  191. package/server/lib/strategy/loader.ts +256 -0
  192. package/server/lib/strategy/message.ts +237 -0
  193. package/server/lib/strategy/repository.ts +218 -0
  194. package/server/lib/strategy/session-logger.ts +693 -0
  195. package/server/lib/strategy/sources.ts +288 -0
  196. package/server/lib/strategy/state.ts +189 -0
  197. package/server/lib/strategy/templates.ts +403 -0
  198. package/server/lib/strategy/tick.ts +404 -0
  199. package/server/lib/strategy/types.ts +230 -0
  200. package/server/lib/swap.ts +3 -0
  201. package/server/lib/temp.ts +86 -0
  202. package/server/lib/token-metadata.ts +86 -0
  203. package/server/lib/token-safety.ts +200 -0
  204. package/server/lib/token-search.ts +444 -0
  205. package/server/lib/totp.ts +194 -0
  206. package/server/lib/transactions.ts +123 -0
  207. package/server/lib/transport.ts +84 -0
  208. package/server/lib/txhistory/decoder.ts +262 -0
  209. package/server/lib/txhistory/enricher.ts +652 -0
  210. package/server/lib/txhistory/index.ts +391 -0
  211. package/server/lib/txhistory/signatures.ts +59 -0
  212. package/server/lib/update-check.ts +35 -0
  213. package/server/lib/verified-summary.ts +414 -0
  214. package/server/lib/view-registry.ts +80 -0
  215. package/server/mcp/profile-policy.ts +30 -0
  216. package/server/mcp/server.ts +1589 -0
  217. package/server/mcp/tools.ts +276 -0
  218. package/server/middleware/auth.ts +119 -0
  219. package/server/middleware/requestLogger.ts +84 -0
  220. package/server/routes/actions.ts +539 -0
  221. package/server/routes/adapters.ts +711 -0
  222. package/server/routes/addressbook.ts +113 -0
  223. package/server/routes/ai.ts +34 -0
  224. package/server/routes/apikeys.ts +343 -0
  225. package/server/routes/apps.ts +601 -0
  226. package/server/routes/auth.ts +406 -0
  227. package/server/routes/backup.ts +404 -0
  228. package/server/routes/batch.ts +270 -0
  229. package/server/routes/bookmarks.ts +162 -0
  230. package/server/routes/credential-shares.ts +380 -0
  231. package/server/routes/credential-vaults.ts +159 -0
  232. package/server/routes/credentials.ts +1782 -0
  233. package/server/routes/dashboard.ts +97 -0
  234. package/server/routes/defaults.ts +124 -0
  235. package/server/routes/flags.ts +11 -0
  236. package/server/routes/fund.ts +225 -0
  237. package/server/routes/heartbeat.ts +375 -0
  238. package/server/routes/import.ts +364 -0
  239. package/server/routes/launch.ts +665 -0
  240. package/server/routes/lock.ts +54 -0
  241. package/server/routes/logs.ts +68 -0
  242. package/server/routes/nuke.ts +111 -0
  243. package/server/routes/passkey-credentials.ts +99 -0
  244. package/server/routes/passkey.ts +366 -0
  245. package/server/routes/portfolio.ts +217 -0
  246. package/server/routes/price.ts +63 -0
  247. package/server/routes/resolve.ts +31 -0
  248. package/server/routes/security.ts +45 -0
  249. package/server/routes/send-evm.ts +241 -0
  250. package/server/routes/send-solana.ts +281 -0
  251. package/server/routes/send.ts +178 -0
  252. package/server/routes/setup.ts +210 -0
  253. package/server/routes/strategy.ts +894 -0
  254. package/server/routes/swap-evm.ts +352 -0
  255. package/server/routes/swap-solana.ts +176 -0
  256. package/server/routes/swap.ts +356 -0
  257. package/server/routes/token.ts +247 -0
  258. package/server/routes/unlock.ts +467 -0
  259. package/server/routes/views.ts +41 -0
  260. package/server/routes/wallet-assets.ts +361 -0
  261. package/server/routes/wallet-transactions.ts +515 -0
  262. package/server/routes/wallet.ts +709 -0
  263. package/server/types.ts +146 -0
  264. package/shared/credential-field-schema.ts +248 -0
  265. package/skills/auramaxx/HEARTBEAT.md +78 -0
  266. package/skills/auramaxx/SKILL.md +745 -0
  267. package/skills/auramaxx/docs/AGENT_SETUP.md +155 -0
  268. package/skills/auramaxx/docs/API.md +127 -0
  269. package/skills/auramaxx/docs/AUTH.md +318 -0
  270. package/skills/auramaxx/docs/CLI.md +130 -0
  271. package/skills/auramaxx/docs/MCP.md +122 -0
  272. package/skills/auramaxx/docs/TROUBLESHOOTING.md +357 -0
  273. package/skills/auramaxx/docs/WORKSPACE.md +673 -0
  274. package/skills/auramaxx/docs/security.md +227 -0
  275. package/skills/task-lifecycle/SKILL.md +378 -0
  276. package/src/app/api/[...doc]/page.tsx +36 -0
  277. package/src/app/api/agent-requests/route.ts +30 -0
  278. package/src/app/api/apps/install/route.ts +132 -0
  279. package/src/app/api/apps/manifests/route.ts +16 -0
  280. package/src/app/api/apps/static/[...path]/route.ts +57 -0
  281. package/src/app/api/docs/plain/route.ts +74 -0
  282. package/src/app/api/events/route.ts +92 -0
  283. package/src/app/api/page.tsx +290 -0
  284. package/src/app/api/workspace/[id]/apps/[wid]/route.ts +119 -0
  285. package/src/app/api/workspace/[id]/apps/route.ts +81 -0
  286. package/src/app/api/workspace/[id]/export/route.ts +67 -0
  287. package/src/app/api/workspace/[id]/route.ts +168 -0
  288. package/src/app/api/workspace/auth.ts +40 -0
  289. package/src/app/api/workspace/config/route.ts +121 -0
  290. package/src/app/api/workspace/import/route.ts +127 -0
  291. package/src/app/api/workspace/route.ts +116 -0
  292. package/src/app/app-legacy-do-not-use/page.tsx +2245 -0
  293. package/src/app/apple-icon.png +0 -0
  294. package/src/app/approve/[actionId]/page.tsx +409 -0
  295. package/src/app/docs/DocsPageContent.tsx +269 -0
  296. package/src/app/docs/[...doc]/page.tsx +41 -0
  297. package/src/app/docs/page.tsx +38 -0
  298. package/src/app/favicon.ico +0 -0
  299. package/src/app/globals.css +819 -0
  300. package/src/app/health/page.tsx +5 -0
  301. package/src/app/hello/page.tsx +102 -0
  302. package/src/app/icon.png +0 -0
  303. package/src/app/layout.tsx +39 -0
  304. package/src/app/page.tsx +1964 -0
  305. package/src/app/privacy/page.tsx +63 -0
  306. package/src/app/providers.tsx +87 -0
  307. package/src/app/share/[token]/page.tsx +295 -0
  308. package/src/app/terms/page.tsx +80 -0
  309. package/src/components/ChainSelector.tsx +44 -0
  310. package/src/components/HumanActionBar.tsx +697 -0
  311. package/src/components/NotificationDrawer.tsx +387 -0
  312. package/src/components/PasskeyEnrollmentPrompt.tsx +235 -0
  313. package/src/components/apps/AgentKeysApp.tsx +490 -0
  314. package/src/components/apps/App.tsx +153 -0
  315. package/src/components/apps/AppGrid.tsx +15 -0
  316. package/src/components/apps/DetailedAddressDrawer.tsx +325 -0
  317. package/src/components/apps/DraggableApp.tsx +562 -0
  318. package/src/components/apps/IFrameApp.tsx +73 -0
  319. package/src/components/apps/LogsApp.tsx +360 -0
  320. package/src/components/apps/SendApp.tsx +394 -0
  321. package/src/components/apps/SetupWizardApp.tsx +1004 -0
  322. package/src/components/apps/SystemDefaultsApp.tsx +845 -0
  323. package/src/components/apps/ThirdPartyApp.tsx +428 -0
  324. package/src/components/apps/TokenApp.tsx +319 -0
  325. package/src/components/apps/TransactionsApp.tsx +438 -0
  326. package/src/components/apps/WalletDetailApp.tsx +1505 -0
  327. package/src/components/apps/index.ts +13 -0
  328. package/src/components/design-system/Button.tsx +88 -0
  329. package/src/components/design-system/ChainIndicator.tsx +65 -0
  330. package/src/components/design-system/ChainSelector.tsx +147 -0
  331. package/src/components/design-system/ConfirmationModal.tsx +107 -0
  332. package/src/components/design-system/ConfirmationPopover.tsx +81 -0
  333. package/src/components/design-system/DownloadButton.tsx +149 -0
  334. package/src/components/design-system/Drawer.tsx +133 -0
  335. package/src/components/design-system/FilterDropdown.tsx +183 -0
  336. package/src/components/design-system/ItemPicker.tsx +157 -0
  337. package/src/components/design-system/Modal.tsx +296 -0
  338. package/src/components/design-system/Popover.tsx +142 -0
  339. package/src/components/design-system/TextInput.tsx +85 -0
  340. package/src/components/design-system/Toggle.tsx +65 -0
  341. package/src/components/design-system/TyvekCollapsibleSection.tsx +55 -0
  342. package/src/components/design-system/index.ts +14 -0
  343. package/src/components/docs/ClientSideMarkdown.tsx +51 -0
  344. package/src/components/docs/DocsSearchBar.tsx +118 -0
  345. package/src/components/docs/DocsThemeToggle.tsx +38 -0
  346. package/src/components/docs/PersistentDocGroup.tsx +91 -0
  347. package/src/components/docs/ShareUrlButton.tsx +33 -0
  348. package/src/components/docs/SidebarScrollMemory.tsx +56 -0
  349. package/src/components/health/CredentialHealthDashboard.tsx +214 -0
  350. package/src/components/icons/ChainIcons.tsx +72 -0
  351. package/src/components/layout/AppStoreDrawer.tsx +369 -0
  352. package/src/components/layout/ContentArea.tsx +21 -0
  353. package/src/components/layout/CreateViewModal.tsx +88 -0
  354. package/src/components/layout/LeftRail.tsx +114 -0
  355. package/src/components/layout/TabBar.tsx +284 -0
  356. package/src/components/layout/WalletSidebar.tsx +1030 -0
  357. package/src/components/layout/index.ts +6 -0
  358. package/src/components/marketing/AuraMaxxSpecOverlay.tsx +653 -0
  359. package/src/components/marketing/DeviceMorphExperience.tsx +216 -0
  360. package/src/components/vault/ApiKeysConsole.tsx +1272 -0
  361. package/src/components/vault/AuditConsole.tsx +600 -0
  362. package/src/components/vault/CredentialDetail.tsx +625 -0
  363. package/src/components/vault/CredentialEmpty.tsx +55 -0
  364. package/src/components/vault/CredentialField.tsx +583 -0
  365. package/src/components/vault/CredentialForm.tsx +1484 -0
  366. package/src/components/vault/CredentialList.tsx +265 -0
  367. package/src/components/vault/CredentialRow.tsx +130 -0
  368. package/src/components/vault/CredentialShareModal.tsx +273 -0
  369. package/src/components/vault/CredentialVault.tsx +1662 -0
  370. package/src/components/vault/CredentialWalletWidget.tsx +103 -0
  371. package/src/components/vault/DocsConsole.tsx +113 -0
  372. package/src/components/vault/ImportCredentialsModal.tsx +578 -0
  373. package/src/components/vault/LargeTypeModal.tsx +88 -0
  374. package/src/components/vault/PasswordGenerator.tsx +232 -0
  375. package/src/components/vault/TOTPDisplay.tsx +108 -0
  376. package/src/components/vault/TotpSetupPanel.tsx +198 -0
  377. package/src/components/vault/VaultSidebar.tsx +881 -0
  378. package/src/components/vault/credentialFormName.ts +91 -0
  379. package/src/components/vault/hooks/useVaultKeyboardShortcuts.ts +69 -0
  380. package/src/components/vault/types.ts +56 -0
  381. package/src/context/AuthContext.tsx +365 -0
  382. package/src/context/PriceContext.tsx +113 -0
  383. package/src/context/ThemeContext.tsx +164 -0
  384. package/src/context/WebSocketContext.tsx +269 -0
  385. package/src/context/WorkspaceContext.tsx +668 -0
  386. package/src/hooks/index.ts +4 -0
  387. package/src/hooks/useAgentActions.ts +552 -0
  388. package/src/hooks/useBalance.ts +103 -0
  389. package/src/hooks/useBalances.ts +129 -0
  390. package/src/hooks/useTheme.ts +156 -0
  391. package/src/instrumentation.ts +12 -0
  392. package/src/lib/api-docs.ts +154 -0
  393. package/src/lib/api.ts +474 -0
  394. package/src/lib/app-loader.ts +148 -0
  395. package/src/lib/app-registry.ts +178 -0
  396. package/src/lib/app-sdk.ts +157 -0
  397. package/src/lib/audit-console-adapter.ts +151 -0
  398. package/src/lib/auth-client.ts +75 -0
  399. package/src/lib/config.ts +74 -0
  400. package/src/lib/credential-field-schema.ts +11 -0
  401. package/src/lib/crypto.ts +112 -0
  402. package/src/lib/db.ts +21 -0
  403. package/src/lib/docs.ts +544 -0
  404. package/src/lib/events.ts +363 -0
  405. package/src/lib/pino.ts +24 -0
  406. package/src/lib/theme-handlers.ts +168 -0
  407. package/src/lib/theme.ts +351 -0
  408. package/src/lib/tokenData.ts +378 -0
  409. package/src/lib/totp-import.ts +57 -0
  410. package/src/lib/vault-crypto.ts +129 -0
  411. package/src/lib/view-registry.ts +57 -0
  412. package/src/lib/websocket-server.ts +302 -0
  413. package/src/lib/websocket-setup.ts +79 -0
  414. package/src/lib/wordlist.ts +2050 -0
  415. package/src/lib/workspace-handlers.ts +285 -0
  416. package/start.sh +170 -0
  417. package/tailwind.config.ts +99 -0
  418. package/tsconfig.json +42 -0
@@ -0,0 +1,79 @@
1
+ # API Authentication
2
+
3
+ This page is the detailed auth/token reference used by `/api` Getting Started.
4
+
5
+ ## Agent Bootstrap Flow
6
+
7
+ 1. `POST /auth` with `agentId`, profile, and `pubkey`
8
+ 2. Human approves request
9
+ 3. Agent polls `GET /auth/:requestId?secret=...`
10
+ 4. Agent receives approved token payload and uses it as `Authorization: Bearer <token>`
11
+
12
+ ## Core Auth Endpoints
13
+
14
+ | Endpoint | Method | Auth | Notes |
15
+ |---|---|---|---|
16
+ | `/auth/connect` | GET | Public | Returns server ephemeral RSA public key |
17
+ | `/auth` | POST | Public | Create approval request for agent token |
18
+ | `/auth/:requestId` | GET | Public (with `secret`) | Poll pending/approved/rejected token request |
19
+ | `/auth/pending` | GET | Public | List pending auth requests |
20
+ | `/auth/validate` | POST | Public | Validate token payload/shape |
21
+
22
+ ## Passkey Session Endpoints
23
+
24
+ Vault-unlock passkeys for session auth (separate from credential passkeys):
25
+
26
+ | Endpoint | Method | Auth | Notes |
27
+ |---|---|---|---|
28
+ | `/auth/passkey/status` | GET | Public | Passkey auth readiness/status |
29
+ | `/auth/passkey/register/options` | POST | Admin | Generate registration options |
30
+ | `/auth/passkey/register/verify` | POST | Admin | Verify registration response |
31
+ | `/auth/passkey/authenticate/options` | POST | Public | Generate authentication options |
32
+ | `/auth/passkey/authenticate/verify` | POST | Public | Verify assertion and mint token |
33
+ | `/auth/passkey/:credentialId` | DELETE | Admin | Remove registered vault passkey |
34
+
35
+ For credential passkeys (`/credentials/passkeys/*`), see security and auth references in [`AUTH.md`](/docs/AUTH.md) and [`security.md`](/docs/security.md).
36
+
37
+ ## Human/Admin Session Endpoints
38
+
39
+ | Endpoint | Method | Auth | Notes |
40
+ |---|---|---|---|
41
+ | `/unlock` | GET | Public | Browser unlock fallback page |
42
+ | `/unlock` | POST | Public | Unlock primary vault; mint admin token |
43
+ | `/unlock/:vaultId` | POST | Public | Unlock specific vault; mint admin token |
44
+ | `/unlock/rekey` | POST | Public | Re-key session with new `pubkey` |
45
+ | `/unlock/recover` | POST | Public | Seed-based recovery path |
46
+ | `/lock` | POST | Admin | Lock all vaults |
47
+ | `/lock/:vaultId` | POST | Admin | Lock one vault |
48
+
49
+ ## Human Action + Token Endpoints
50
+
51
+ | Endpoint | Method | Auth | Notes |
52
+ |---|---|---|---|
53
+ | `/actions/pending` | GET | `action:read` | List pending actions |
54
+ | `/actions` | POST | `action:create` | Create action request (or notify-only request) |
55
+ | `/actions/:id/resolve` | POST | `action:resolve` | Approve/reject action |
56
+ | `/actions/token` | POST | Admin | Direct token mint (no human approval) |
57
+ | `/actions/token/preview` | POST | Admin | Preview token policy before mint |
58
+ | `/actions/tokens` | GET | Admin | List issued tokens by status |
59
+ | `/actions/tokens/revoke` | POST | Bearer | Revoke token |
60
+
61
+ ## Setup + Vault Auth Lifecycle
62
+
63
+ | Endpoint | Method | Auth | Notes |
64
+ |---|---|---|---|
65
+ | `/setup` | GET | Public | Setup state (`hasWallet`, `unlocked`) |
66
+ | `/setup` | POST | Public | Create primary vault/cold wallet |
67
+ | `/setup/password` | POST | Admin | Rotate primary vault password |
68
+ | `/setup/vault` | POST | Admin | Create additional vault |
69
+ | `/setup/vault/import` | POST | Admin | Import vault from mnemonic |
70
+ | `/setup/vaults` | GET | Public | List vaults + unlock status |
71
+
72
+ ## Required Mint Input
73
+
74
+ Token minting paths require a valid RSA `pubkey` (`/auth`, `/unlock`, `/setup`, `/actions/token`, etc.).
75
+ Credential read payloads are encrypted to the token's pubkey.
76
+
77
+ ## Full Permissions Reference
78
+
79
+ For the complete permission matrix and profile rules, use [AUTH.md](/docs/AUTH.md).
@@ -0,0 +1,28 @@
1
+ # API Keys Endpoints
2
+
3
+ API keys are stored as credential-vault records (`type: "apikey"`) with compatibility support for legacy rows.
4
+
5
+ ## API Key Endpoints
6
+
7
+ | Endpoint | Method | Auth | Notes |
8
+ |---|---|---|---|
9
+ | `/apikeys` | GET | `apikey:get` | List API keys |
10
+ | `/apikeys` | POST | `apikey:set` | Create/update API key |
11
+ | `/apikeys/validate` | POST | `apikey:set` | Validate provider key format/connectivity |
12
+ | `/apikeys/:id` | DELETE | `apikey:set` | Delete API key |
13
+ | `/apikeys/revoke-all` | DELETE | `apikey:set` | Revoke/remove all API keys |
14
+
15
+ ## App Access-Key Endpoint
16
+
17
+ | Endpoint | Method | Auth | Notes |
18
+ |---|---|---|---|
19
+ | `/apps/:appId/apikey/:keyName` | GET | `app:accesskey` | Read app-scoped key material |
20
+
21
+ ## Adapter Secret Pattern
22
+
23
+ Adapter secrets (Telegram bot token, webhook signing secret, etc.) are commonly stored via `/apikeys` with `service` values like:
24
+
25
+ - `adapter:telegram`
26
+ - `adapter:webhook`
27
+
28
+ See [ADAPTERS.md](/docs/ADAPTERS.md) for adapter-specific setup details.
@@ -0,0 +1,80 @@
1
+ # Secrets & Credentials API
2
+
3
+ ## MCP Tool Mapping
4
+
5
+ | MCP Tool | Typical HTTP Path |
6
+ |---|---|
7
+ | `get_secret` | `GET /credentials` -> `POST /credentials/:id/read` |
8
+ | `put_secret` | `POST /credentials` or `PUT /credentials/:id` |
9
+ | `write_diary` | `POST /what_is_happening/diary` |
10
+
11
+ ## Credential Vault Management
12
+
13
+ | Endpoint | Method | Auth | Notes |
14
+ |---|---|---|---|
15
+ | `/vaults/credential` | GET | Admin | List credential vaults + counts/unlock state |
16
+ | `/vaults/credential` | POST | Admin | Create credential vault (`linked` or `independent`) |
17
+ | `/vaults/credential/:id/lock` | POST | Admin | Lock credential vault |
18
+ | `/vaults/credential/:id` | DELETE | Admin | Delete vault and assigned credentials |
19
+
20
+ ## Credential CRUD + Lifecycle
21
+
22
+ | Endpoint | Method | Auth | Notes |
23
+ |---|---|---|---|
24
+ | `/credentials` | GET | `secret:read` | List metadata; supports scope filters |
25
+ | `/credentials` | POST | `secret:write` | Create credential |
26
+ | `/credentials/:id` | GET | `secret:read` | Read metadata |
27
+ | `/credentials/:id` | PUT | `secret:write` | Update credential |
28
+ | `/credentials/:id` | DELETE | `secret:write` | Lifecycle delete (active -> archive -> recently deleted -> purge) |
29
+ | `/credentials/:id/restore` | POST | `secret:write` | Restore archived/deleted credential |
30
+ | `/credentials/purge` | POST | `secret:write` | Purge retention-expired deleted credentials |
31
+ | `/credentials/:id/read` | POST | `secret:read` | Read encrypted secret payload (agent pubkey required) |
32
+ | `/credentials/:id/totp` | POST | `totp:read` | Generate current TOTP code |
33
+ | `/credentials/:id/secrets` | GET | Admin | Admin plaintext field read for web UI |
34
+ | `/credentials/:id/reauth` | POST | `secret:write` | OAuth2 re-auth handoff helper |
35
+
36
+ ## Credential Health
37
+
38
+ | Endpoint | Method | Auth | Notes |
39
+ |---|---|---|---|
40
+ | `/credentials/health/summary` | GET | `secret:read` | Aggregate health summary |
41
+ | `/credentials/health` | GET | `secret:read` | Per-credential health rows |
42
+ | `/credentials/health/rescan` | POST | `secret:read` | Trigger async rescan job |
43
+ | `/credentials/health/rescan/:scanId` | GET | `secret:read` | Poll scan job status |
44
+
45
+ ## Import + Passkey Credential Endpoints
46
+
47
+ | Endpoint | Method | Auth | Notes |
48
+ |---|---|---|---|
49
+ | `/credentials/import` | POST | Admin | Import credentials (CSV/1PUX, preview/commit behavior) |
50
+ | `/credentials/passkey/register` | POST | Bearer | Register credential-passkey entry |
51
+ | `/credentials/passkey/authenticate` | POST | Bearer | Authenticate using stored credential passkey |
52
+ | `/credentials/passkey/match` | GET | Bearer | Match passkeys for `rpId` |
53
+
54
+ ## Minimal Create/Read Examples
55
+
56
+ Create:
57
+
58
+ ```http
59
+ POST /credentials
60
+ Authorization: Bearer <token>
61
+ Content-Type: application/json
62
+
63
+ {
64
+ "vaultId": "primary",
65
+ "type": "apikey",
66
+ "name": "OPENAI_API_KEY",
67
+ "fields": [
68
+ { "key": "key", "value": "sk-...", "type": "secret", "sensitive": true }
69
+ ]
70
+ }
71
+ ```
72
+
73
+ Read:
74
+
75
+ ```http
76
+ POST /credentials/:id/read
77
+ Authorization: Bearer <token>
78
+ ```
79
+
80
+ Response returns encrypted payload (never plaintext secret fields for non-admin agents).
@@ -0,0 +1,48 @@
1
+ # Credential Sharing API
2
+
3
+ These endpoints power secure one-time/expiring credential share links and optional GitHub secret gist publishing.
4
+
5
+ ## Endpoint Summary
6
+
7
+ | Endpoint | Method | Auth | Notes |
8
+ |---|---|---|---|
9
+ | `/credential-shares/:token` | GET | Public | Read share metadata/state |
10
+ | `/credential-shares/:token/read` | POST | Public | Consume shared credential payload |
11
+ | `/credential-shares` | POST | `secret:read` | Create direct share link |
12
+ | `/credential-shares/gist` | POST | `secret:read` | Create share + publish GitHub secret gist |
13
+
14
+ ## Create Share Request
15
+
16
+ ```json
17
+ {
18
+ "credentialId": "cred-abc123",
19
+ "expiresAfter": "24h",
20
+ "accessMode": "password",
21
+ "password": "optional-if-password-mode",
22
+ "oneTimeOnly": true,
23
+ "shareBaseUrl": "https://your-public-host"
24
+ }
25
+ ```
26
+
27
+ - `expiresAfter`: `15m | 1h | 24h | 7d | 30d`
28
+ - `accessMode`: `anyone | password`
29
+ - `password` required when `accessMode="password"`
30
+
31
+ ## Public Read Flow
32
+
33
+ 1. `GET /credential-shares/:token` checks metadata and status (`expired`, `already_viewed`, etc.)
34
+ 2. `POST /credential-shares/:token/read` returns sanitized credential payload (password may be required)
35
+
36
+ ## Gist Share Response (shape)
37
+
38
+ `POST /credential-shares/gist` returns a regular share payload plus gist metadata, including gist URL and generated title.
39
+
40
+ ## UI Path
41
+
42
+ Web share page route:
43
+
44
+ ```text
45
+ /share/:token
46
+ ```
47
+
48
+ This page calls `/credential-shares/:token` and `/credential-shares/:token/read`.
@@ -0,0 +1,41 @@
1
+ # System & Public Endpoints
2
+
3
+ ## Public/General Endpoints
4
+
5
+ | Endpoint | Method | Auth | Notes |
6
+ |---|---|---|---|
7
+ | `/health` | GET | Public | Server liveness/health |
8
+ | `/logs` | GET | Public | Event logs with filters/pagination |
9
+ | `/dashboard` | GET | Public | Dashboard summary payload |
10
+ | `/what_is_happening` | GET | Public | Heartbeat snapshot |
11
+ | `/what_is_happening/diary` | POST | Bearer (`secret:write`) | Append `{YYYY-MM-DD}_LOGS` note |
12
+ | `/resolve/:name` | GET | Public | ENS resolution (`.eth`) |
13
+ | `/price/:address` | GET | Public | Token/native USD price lookup |
14
+ | `/token/search` | GET | Public | Token search by ticker/name/address |
15
+ | `/token/safety/:address` | GET | Public | Token safety report |
16
+ | `/token/holders/:address` | GET | Public | Token top holders |
17
+ | `/token/:tokenAddress/balance/:walletAddress` | GET | Public | Token balance lookup |
18
+ | `/batch` | POST | Public endpoint; subrequest auth enforced | Execute wave-based multi-call requests |
19
+ | `/swap/dexes` | GET | Public | List configured DEX adapters |
20
+
21
+ ## System/Admin Endpoints
22
+
23
+ | Endpoint | Method | Auth | Notes |
24
+ |---|---|---|---|
25
+ | `/defaults` | GET | Admin | List system defaults |
26
+ | `/defaults/:key` | PATCH | Admin | Update one default |
27
+ | `/defaults/reset` | POST | Admin | Reset one/all defaults |
28
+ | `/security/credential-access/recent` | GET | Admin | Recent credential access events |
29
+ | `/security/credential-access/noisy-credentials` | GET | Admin | Credential hot-spot report |
30
+ | `/security/credential-access/noisy-tokens` | GET | Admin | Token hot-spot report |
31
+ | `/ai/status` | GET | Admin | AI provider status |
32
+ | `/backup` | GET | Admin | List backups |
33
+ | `/backup` | POST | Admin | Create backup |
34
+ | `/backup` | PUT | Admin | Restore backup |
35
+ | `/nuke` | POST | Admin | Destructive full reset |
36
+ | `/nuke/import` | POST | Admin | Reinitialize/import from mnemonic |
37
+
38
+ ## Notes
39
+
40
+ - `/setup` and `/dashboard` are often used as first probes by CLI/UI.
41
+ - `/batch` is useful for reducing round-trips when workflows chain reads and writes.
@@ -0,0 +1,66 @@
1
+ # Wallet Apps, Adapters & Strategies
2
+
3
+ This page groups app/adapter/strategy surfaces under wallet operations.
4
+
5
+ Action-approval endpoints live in [`docs/api/authentication.md`](/api?doc=api/authentication.md).
6
+
7
+ ## Adapter Endpoints
8
+
9
+ | Endpoint | Method | Auth | Notes |
10
+ |---|---|---|---|
11
+ | `/adapters` | GET | `adapter:manage` | List adapter config/status |
12
+ | `/adapters` | POST | `adapter:manage` | Create/update adapter config |
13
+ | `/adapters/:type` | DELETE | `adapter:manage` | Delete adapter |
14
+ | `/adapters/test` | POST | `adapter:manage` | Test adapter delivery |
15
+ | `/adapters/chat` | POST | `adapter:manage` | Send adapter chat message |
16
+ | `/adapters/:type/message` | POST | Public route with validation | Adapter inbound message ingestion |
17
+ | `/adapters/telegram/setup-link` | POST | `adapter:manage` | Telegram setup helper |
18
+ | `/adapters/telegram/detect-chat` | POST | `adapter:manage` | Detect Telegram chat/channel |
19
+ | `/adapters/restart` | POST | `adapter:manage` | Reload/restart adapters |
20
+
21
+ ## App Storage + Messaging Endpoints
22
+
23
+ | Endpoint | Method | Auth | Notes |
24
+ |---|---|---|---|
25
+ | `/apps/:appId/storage` | GET | `app:storage` | List app storage items |
26
+ | `/apps/:appId/storage/:key` | GET | `app:storage` | Read app storage key |
27
+ | `/apps/:appId/storage/:key` | PUT | `app:storage` | Set app storage key |
28
+ | `/apps/:appId/storage/:key` | DELETE | `app:storage` | Delete app storage key |
29
+ | `/apps/:appId/message` | POST | `app:storage` | Send app message |
30
+ | `/apps/:appId/fetch` | POST | `app:storage` | Proxy outbound HTTP fetch with SSRF controls |
31
+ | `/apps/:appId/token` | GET | Bearer | Issue app-scoped token |
32
+ | `/apps/:appId/apikey/:keyName` | GET | `app:accesskey` | Resolve app API key |
33
+ | `/apps/:appId/reload` | POST | Bearer | Reload app runtime |
34
+ | `/apps/:appId/approve` | POST | `strategy:manage` | Approve app |
35
+ | `/apps/:appId/approve` | DELETE | `strategy:manage` | Revoke app approval |
36
+
37
+ ## Strategy Endpoints
38
+
39
+ | Endpoint | Method | Auth | Notes |
40
+ |---|---|---|---|
41
+ | `/strategies` | GET | `strategy:read` | List installed strategies |
42
+ | `/strategies/templates` | GET | `strategy:read` | List templates |
43
+ | `/strategies` | POST | `strategy:manage` | Create template strategy |
44
+ | `/strategies/install` | POST | `strategy:manage` | Install third-party strategy |
45
+ | `/strategies/health` | GET | `strategy:read` | Runtime health |
46
+ | `/strategies/:id/toggle` | POST | `strategy:manage` | Toggle strategy |
47
+ | `/strategies/:id/enable` | POST | `strategy:manage` | Enable strategy |
48
+ | `/strategies/:id/disable` | POST | `strategy:manage` | Disable strategy |
49
+ | `/strategies/:id/config` | GET | `strategy:read` | Read strategy config |
50
+ | `/strategies/:id/config` | PUT | `strategy:manage` | Update strategy config |
51
+ | `/strategies/:id/approve` | POST | `strategy:manage` | Approve/reject pending intents |
52
+ | `/strategies/:id/state` | GET | `strategy:read` | Strategy debug state |
53
+ | `/strategies/history` | GET | `strategy:read` | Strategy action history |
54
+ | `/strategies/reload` | POST | `strategy:manage` | Reload runtime metadata |
55
+
56
+ ## WebSocket/Event Notes
57
+
58
+ Common event channels referenced in wallet + app UI flows include:
59
+
60
+ - `asset:changed`
61
+ - `tx:created`
62
+ - `action:created`
63
+ - `action:resolved`
64
+ - `action:executed`
65
+
66
+ Use `/logs` and `/dashboard` for HTTP snapshots.
@@ -0,0 +1,46 @@
1
+ # Wallet Core & Trading Endpoints
2
+
3
+ ## Human Vault Lifecycle
4
+
5
+ | Endpoint | Method | Auth | Notes |
6
+ |---|---|---|---|
7
+ | `/setup` | POST | Public | Create primary vault/cold wallet |
8
+ | `/setup/password` | POST | Admin | Change primary vault password |
9
+ | `/setup/vault` | POST | Admin | Create additional vault |
10
+ | `/setup/vault/import` | POST | Admin | Import additional vault from seed |
11
+ | `/setup/vaults` | GET | Public | List vaults/unlock state |
12
+ | `/wallet/export-seed` | GET/POST | Admin | Export seed phrase (vault must be unlocked) |
13
+ | `/unlock` | POST | Public | Unlock primary vault |
14
+ | `/unlock/:vaultId` | POST | Public | Unlock specific vault |
15
+ | `/unlock/rekey` | POST | Public | Rekey unlock session to a new `pubkey` |
16
+ | `/unlock/recover` | POST | Public | Recovery flow |
17
+ | `/lock` | POST | Admin | Lock all vaults |
18
+ | `/lock/:vaultId` | POST | Admin | Lock one vault |
19
+
20
+ ## Wallet Action Endpoints
21
+
22
+ | Endpoint | Method | Auth | Notes |
23
+ |---|---|---|---|
24
+ | `/wallets` | GET | Token optional | List wallets + balances |
25
+ | `/wallet/:address` | GET | Token optional | Read one wallet detail by address |
26
+ | `/wallet/create` | POST | Bearer | Create hot/temp wallet |
27
+ | `/wallet/search` | GET | Token optional | Search wallets |
28
+ | `/wallet/rename` | POST | Bearer | Update wallet metadata |
29
+ | `/wallet/:address/export` | POST | Token optional | Export wallet private key |
30
+ | `/send` | POST | Bearer | Send native/token transaction |
31
+ | `/send/estimate` | POST | Public | Estimate EVM gas |
32
+ | `/fund` | POST | Bearer | Transfer cold -> hot wallet |
33
+ | `/swap` | POST | Bearer | Execute swap |
34
+ | `/swap/quote` | POST | Bearer | Quote swap without execution |
35
+ | `/swap/dexes` | GET | Public | List DEX adapters |
36
+ | `/launch` | POST | Bearer | Launch token (Doppler) |
37
+ | `/launch/:tokenAddress/collect-fees` | POST | Bearer | Collect launch fees for one token |
38
+ | `/launch/collect-fees` | POST | Bearer | Collect launch fees for all launched tokens |
39
+
40
+ ## Notes
41
+
42
+ - Wallet routes support both `/wallet/*` and `/wallets/*` prefixes for compatibility.
43
+ - This doc uses `/wallets` for list reads and `/wallet/*` for item/mutation examples.
44
+ - Amount units are raw base units (`wei`/`lamports`/token base units).
45
+ - Token-based operations enforce permissions + wallet access + optional spend limits.
46
+ - Use `/actions` escalation flow on permission-denied automation cases.
@@ -0,0 +1,42 @@
1
+ # Wallet Data, Portfolio, Address Book, Bookmarks
2
+
3
+ ## Transaction Endpoints
4
+
5
+ | Endpoint | Method | Auth | Notes |
6
+ |---|---|---|---|
7
+ | `/wallets/transactions` | GET | Token optional | Global transaction list |
8
+ | `/wallet/:address/transactions` | GET | Token optional | Wallet transactions (DB path or on-chain fallback) |
9
+ | `/wallet/:address/transactions` | POST | Bearer | Add manual transaction record |
10
+
11
+ ## Asset + Portfolio Endpoints
12
+
13
+ | Endpoint | Method | Auth | Notes |
14
+ |---|---|---|---|
15
+ | `/wallet/:address/assets` | GET | Token optional | List tracked assets for wallet |
16
+ | `/wallet/:address/asset` | POST | Bearer | Track/add asset |
17
+ | `/wallet/:address/asset/:assetId` | DELETE | Bearer | Remove tracked asset |
18
+ | `/portfolio` | GET | Token optional | Aggregated portfolio (chain/token rollups) |
19
+
20
+ ## Address Book Endpoints
21
+
22
+ | Endpoint | Method | Auth | Notes |
23
+ |---|---|---|---|
24
+ | `/address-labels` | GET | Token optional | List labels (supports query filter) |
25
+ | `/address-labels` | POST | Bearer | Create/update label |
26
+ | `/address-labels/:id` | DELETE | Bearer | Delete label |
27
+
28
+ ## Bookmark Endpoints
29
+
30
+ | Endpoint | Method | Auth | Notes |
31
+ |---|---|---|---|
32
+ | `/bookmarks` | GET | Token optional | List token bookmarks |
33
+ | `/bookmarks` | POST | Bearer | Create bookmark |
34
+ | `/bookmarks/:id` | DELETE | Bearer | Delete bookmark |
35
+
36
+ ## Related Public Data Endpoints
37
+
38
+ For token metadata/intel lookups used in portfolio flows, see:
39
+
40
+ - [`docs/api/system.md`](/api?doc=api/system.md)
41
+
42
+ Compatibility note: wallet asset/transaction routes are available under both `/wallet/*` and `/wallets/*` prefixes.
@@ -0,0 +1,48 @@
1
+ # `.aura` File Format
2
+
3
+ `.aura` maps environment variable names to vault credential fields.
4
+
5
+ ## Syntax
6
+
7
+ ```ini
8
+ # comment
9
+ ENV_NAME=credentialName/field
10
+ OTHER_ENV=@vaultName/credentialName/field
11
+ ```
12
+
13
+ Rules:
14
+
15
+ - one mapping per line
16
+ - comments start with `#`
17
+ - env var names are validated (must be shell-safe)
18
+ - `@vault/...` form selects a specific vault mapping
19
+
20
+ ## Examples
21
+
22
+ ```ini
23
+ DATABASE_URL=postgres-prod/url
24
+ OPENAI_API_KEY=openai-prod/api_key
25
+ GITHUB_TOKEN=@agent/github/token
26
+ ```
27
+
28
+ ## Usage
29
+
30
+ ```bash
31
+ auramaxx env check
32
+ auramaxx env -- npm run dev
33
+ auramaxx env inject
34
+ ```
35
+
36
+ Migration helper:
37
+
38
+ ```bash
39
+ auramaxx env init --from .env
40
+ # or during setup
41
+ auramaxx init --from-dotenv
42
+ ```
43
+
44
+ ## Security notes
45
+
46
+ - `env inject` writes `.env` with mode `0600`
47
+ - `shell-hook` requires explicit allowlist per project
48
+ - avoid committing generated `.env`
@@ -0,0 +1,114 @@
1
+ # Features
2
+
3
+ Everything AuraMaxx can do for you — at a glance, then in full.
4
+
5
+ ---
6
+
7
+ ## ✨ Highlights
8
+
9
+ | | Feature | What it does |
10
+ |---|---------|-------------|
11
+ | 🔐 | **Encrypted Vault** | Store passwords, API keys, and wallet seeds locally — encrypted at rest, never sent to the cloud |
12
+ | 🤖 | **Agent-Ready Auth** | Give AI agents scoped, time-limited access to your secrets with human approval |
13
+ | ⚡ | **One-Command Setup** | `npx auramaxx` — installs, configures, and starts everything in under 60 seconds |
14
+ | 🔌 | **MCP Integration** | Works with Claude, Codex, Cursor, VS Code, and any MCP-compatible client |
15
+ | 💸 | **Wallet Operations** | Send, swap, fund, and launch tokens across Ethereum, Base, and Solana (coming soon) |
16
+ | 🛡️ | **Permission Profiles** | Pre-built security profiles (strict, dev, admin) — no permission guesswork |
17
+ | 📱 | **Telegram Approvals** | Approve agent requests from your phone via Telegram bot |
18
+ | 🧩 | **Installable Skills** | One command installs Aura capabilities into Claude, Codex, and OpenClaw agents |
19
+
20
+ ---
21
+
22
+ ## Full Feature List
23
+
24
+ ### Credentials & Vault
25
+
26
+ - **Encrypted local vault** — AES-256 encrypted credential storage on your machine
27
+ - **Get / set / list / delete** — Simple CLI for credential management (`aura get`, `aura set`, `aura list`, `aura del`)
28
+ - **Credential types** — API keys, passwords, login credentials, OAuth tokens, wallet seeds
29
+ - **Secret sharing** — Create time-limited GitHub gist share links (`aura share`)
30
+ - **Environment injection** — Inject secrets into env vars and run commands (`aura inject`)
31
+ - **`.aura` file mapping** — Project-level credential mapping for team workflows
32
+ - **Credential health monitoring** — Track expiry, usage, and rotation status
33
+ - **Import** — Bulk import credentials from `.env` files and other formats
34
+ - **Vault tiers** — Cold (human-only), Hot (agent-accessible), Temp (ephemeral)
35
+
36
+ ### CLI
37
+
38
+ - **Single entry point** — `npx auramaxx` or `aura` for all operations
39
+ - **Interactive setup** — Guided first-run experience with dashboard
40
+ - **Status & diagnostics** — `aura status` and `aura doctor` for health checks
41
+ - **Headless mode** — `aura start --headless` for server-only environments
42
+ - **Feature flags** — `aura experimental` to toggle dev features
43
+ - **Skill installer** — `aura skill` to install agent skills with doctor verification
44
+ - **Lock / unlock** — Vault lock management from CLI
45
+ - **Quiet by default** — Concise output with `--debug` for verbose details
46
+
47
+ ### Authentication & Security
48
+
49
+ - **Profile-based tokens** — Request tokens by profile name (strict, dev, admin)
50
+ - **Human approval flow** — Every agent token requires human approval
51
+ - **Action requests** — One-time elevated permissions for specific operations
52
+ - **Spending limits** — Per-token budget caps for send, swap, fund, and launch
53
+ - **Token lifecycle** — Memory-only tokens with configurable TTL (auto-expire on restart)
54
+ - **Encrypted transport** — RSA-OAEP encrypted password/token exchange
55
+ - **Credential access controls** — TTL, read-count limits, and scope restrictions per credential
56
+ - **Strict mode** — Disable auto-approve for maximum security
57
+ - **Token revocation** — Revoke active tokens via CLI or API
58
+
59
+ ### MCP Integration
60
+
61
+ - **Auto-install** — `aura mcp --install` detects and configures all supported IDEs
62
+ - **Supported clients** — Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, OpenClaw, Codex
63
+ - **Stdio server** — Standard MCP stdio transport (`npx auramaxx mcp`)
64
+ - **Socket auth** — Local Unix socket for zero-config authentication
65
+ - **Tool discovery** — Full credential and wallet toolset available to MCP clients
66
+
67
+ ### Dashboard
68
+
69
+ - **Web UI** — Local dashboard at `http://localhost:4747`
70
+ - **Vault management** — Create, unlock, and manage vaults in the browser
71
+ - **Approval cards** — Approve/reject agent token and action requests visually
72
+ - **Credential browser** — View, search, and manage stored credentials
73
+ - **Wallet overview** — See balances, transactions, and asset tracking
74
+ - **Real-time updates** — WebSocket-powered live state sync
75
+
76
+ ### Wallet & Trading (coming soon)
77
+
78
+ - **Multi-chain** — Ethereum, Base, and Solana support
79
+ - **Send** — Transfer native currency and tokens
80
+ - **Swap** — Token swaps via Relay (cross-chain), Uniswap (Base), Jupiter (Solana)
81
+ - **Fund** — Transfer from cold wallet to hot wallet with spending limits
82
+ - **Launch** — Deploy tokens via Doppler fair launch
83
+ - **Gas estimation** — Pre-transaction gas cost estimation
84
+ - **Transaction history** — Full history with type, status, and amount tracking
85
+ - **Asset tracking** — Token balance monitoring per wallet
86
+
87
+ ### Adapters & Notifications
88
+
89
+ - **Telegram bot** — Approve requests and chat with your agent via Telegram
90
+ - **Webhook adapter** — HTTP webhook notifications for events
91
+ - **Agent chat** — AI-powered conversational interface via Telegram
92
+ - **Adapter management** — Enable, configure, and test adapters from CLI or API
93
+
94
+ ### Apps & Extensibility
95
+
96
+ - **App platform** — Install and run custom apps in the dashboard
97
+ - **App storage** — Per-app isolated key-value storage
98
+ - **Strategy hooks** — Tick-based and event-driven strategy execution
99
+ - **Workspace control** — WebSocket API for dashboard widget management
100
+
101
+ ### Skills & Agent Setup
102
+
103
+ - **Skill installer** — `npx auramaxx skill` for Claude, Codex, and OpenClaw
104
+ - **Bundled docs** — Skills include portable documentation for agent context
105
+ - **Doctor verification** — `npx auramaxx skill --doctor` checks install status
106
+ - **Fallback guidance** — Clear fallback commands when auto-install fails
107
+
108
+ ---
109
+
110
+ See also:
111
+ - [Getting Started](../AGENT_SETUP.md)
112
+ - [CLI Reference](../CLI.md)
113
+ - [Auth & Permissions](../AUTH.md)
114
+ - [Troubleshooting](../TROUBLESHOOTING.md)