@xylabs/aries 0.1.1 → 0.1.7
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 +6 -688
- package/dist/aries.mjs +47 -8466
- package/package.json +14 -169
- package/dist/actions/audit/auditPaths.mjs +0 -22
- package/dist/actions/audit/auditPaths.mjs.map +0 -1
- package/dist/actions/audit/index.mjs +0 -739
- package/dist/actions/audit/index.mjs.map +0 -1
- package/dist/actions/audit/installPlugin.mjs +0 -298
- package/dist/actions/audit/installPlugin.mjs.map +0 -1
- package/dist/actions/audit/listSessions.mjs +0 -93
- package/dist/actions/audit/listSessions.mjs.map +0 -1
- package/dist/actions/audit/openAuditDir.mjs +0 -44
- package/dist/actions/audit/openAuditDir.mjs.map +0 -1
- package/dist/actions/audit/searchAudit.mjs +0 -77
- package/dist/actions/audit/searchAudit.mjs.map +0 -1
- package/dist/actions/audit/showAiMeta.mjs +0 -105
- package/dist/actions/audit/showAiMeta.mjs.map +0 -1
- package/dist/actions/audit/showSession.mjs +0 -105
- package/dist/actions/audit/showSession.mjs.map +0 -1
- package/dist/actions/audit/statusAudit.mjs +0 -98
- package/dist/actions/audit/statusAudit.mjs.map +0 -1
- package/dist/actions/clamp/clampAudit.mjs +0 -53
- package/dist/actions/clamp/clampAudit.mjs.map +0 -1
- package/dist/actions/clamp/index.mjs +0 -2258
- package/dist/actions/clamp/index.mjs.map +0 -1
- package/dist/actions/clamp/ipcServer.mjs +0 -55
- package/dist/actions/clamp/ipcServer.mjs.map +0 -1
- package/dist/actions/clamp/policyManagement.mjs +0 -144
- package/dist/actions/clamp/policyManagement.mjs.map +0 -1
- package/dist/actions/clamp/promptUser.mjs +0 -91
- package/dist/actions/clamp/promptUser.mjs.map +0 -1
- package/dist/actions/clamp/runClamped.mjs +0 -2107
- package/dist/actions/clamp/runClamped.mjs.map +0 -1
- package/dist/actions/clamp/sandboxExec.mjs +0 -1612
- package/dist/actions/clamp/sandboxExec.mjs.map +0 -1
- package/dist/actions/clamp/shellEnvSetup.mjs +0 -59
- package/dist/actions/clamp/shellEnvSetup.mjs.map +0 -1
- package/dist/actions/clamp/shimGenerator.mjs +0 -68
- package/dist/actions/clamp/shimGenerator.mjs.map +0 -1
- package/dist/actions/clamp/terminalRenderer.mjs +0 -145
- package/dist/actions/clamp/terminalRenderer.mjs.map +0 -1
- package/dist/actions/datalake/audit/auditLog.mjs +0 -191
- package/dist/actions/datalake/audit/auditLog.mjs.map +0 -1
- package/dist/actions/datalake/createDatalake.mjs +0 -127
- package/dist/actions/datalake/createDatalake.mjs.map +0 -1
- package/dist/actions/datalake/describeDatalake.mjs +0 -159
- package/dist/actions/datalake/describeDatalake.mjs.map +0 -1
- package/dist/actions/datalake/destroyDatalake.mjs +0 -34
- package/dist/actions/datalake/destroyDatalake.mjs.map +0 -1
- package/dist/actions/datalake/dev/downDevServer.mjs +0 -102
- package/dist/actions/datalake/dev/downDevServer.mjs.map +0 -1
- package/dist/actions/datalake/dev/index.mjs +0 -369
- package/dist/actions/datalake/dev/index.mjs.map +0 -1
- package/dist/actions/datalake/dev/logsDevServer.mjs +0 -44
- package/dist/actions/datalake/dev/logsDevServer.mjs.map +0 -1
- package/dist/actions/datalake/dev/paths.mjs +0 -25
- package/dist/actions/datalake/dev/paths.mjs.map +0 -1
- package/dist/actions/datalake/dev/resetDevServer.mjs +0 -118
- package/dist/actions/datalake/dev/resetDevServer.mjs.map +0 -1
- package/dist/actions/datalake/dev/resolveServerBin.mjs +0 -26
- package/dist/actions/datalake/dev/resolveServerBin.mjs.map +0 -1
- package/dist/actions/datalake/dev/state.mjs +0 -62
- package/dist/actions/datalake/dev/state.mjs.map +0 -1
- package/dist/actions/datalake/dev/statusDevServer.mjs +0 -101
- package/dist/actions/datalake/dev/statusDevServer.mjs.map +0 -1
- package/dist/actions/datalake/dev/upDevServer.mjs +0 -221
- package/dist/actions/datalake/dev/upDevServer.mjs.map +0 -1
- package/dist/actions/datalake/dev/waitForHealth.mjs +0 -22
- package/dist/actions/datalake/dev/waitForHealth.mjs.map +0 -1
- package/dist/actions/datalake/formatters.mjs +0 -90
- package/dist/actions/datalake/formatters.mjs.map +0 -1
- package/dist/actions/datalake/grantAccess.mjs +0 -116
- package/dist/actions/datalake/grantAccess.mjs.map +0 -1
- package/dist/actions/datalake/index.mjs +0 -361
- package/dist/actions/datalake/index.mjs.map +0 -1
- package/dist/actions/datalake/listDatalakes.mjs +0 -54
- package/dist/actions/datalake/listDatalakes.mjs.map +0 -1
- package/dist/actions/datalake/login.mjs +0 -20
- package/dist/actions/datalake/login.mjs.map +0 -1
- package/dist/actions/datalake/logout.mjs +0 -11
- package/dist/actions/datalake/logout.mjs.map +0 -1
- package/dist/actions/datalake/mintToken.mjs +0 -37
- package/dist/actions/datalake/mintToken.mjs.map +0 -1
- package/dist/actions/datalake/parseSize.mjs +0 -21
- package/dist/actions/datalake/parseSize.mjs.map +0 -1
- package/dist/actions/datalake/payloads/fetchPayload.mjs +0 -76
- package/dist/actions/datalake/payloads/fetchPayload.mjs.map +0 -1
- package/dist/actions/datalake/payloads/index.mjs +0 -271
- package/dist/actions/datalake/payloads/index.mjs.map +0 -1
- package/dist/actions/datalake/payloads/mintAndConnect.mjs +0 -46
- package/dist/actions/datalake/payloads/mintAndConnect.mjs.map +0 -1
- package/dist/actions/datalake/payloads/parsePayloadsFile.mjs +0 -71
- package/dist/actions/datalake/payloads/parsePayloadsFile.mjs.map +0 -1
- package/dist/actions/datalake/payloads/pushPayloads.mjs +0 -181
- package/dist/actions/datalake/payloads/pushPayloads.mjs.map +0 -1
- package/dist/actions/datalake/payloads/tailPayloads.mjs +0 -106
- package/dist/actions/datalake/payloads/tailPayloads.mjs.map +0 -1
- package/dist/actions/datalake/resolveTarget.mjs +0 -15
- package/dist/actions/datalake/resolveTarget.mjs.map +0 -1
- package/dist/actions/datalake/revokeAccess.mjs +0 -108
- package/dist/actions/datalake/revokeAccess.mjs.map +0 -1
- package/dist/actions/datalake/useDatalake.mjs +0 -22
- package/dist/actions/datalake/useDatalake.mjs.map +0 -1
- package/dist/actions/detect/detectAiClients.mjs +0 -405
- package/dist/actions/detect/detectAiClients.mjs.map +0 -1
- package/dist/actions/detect/index.mjs +0 -405
- package/dist/actions/detect/index.mjs.map +0 -1
- package/dist/actions/hash/algorithms/blockhash.mjs +0 -61
- package/dist/actions/hash/algorithms/blockhash.mjs.map +0 -1
- package/dist/actions/hash/algorithms/chromaprint.mjs +0 -205
- package/dist/actions/hash/algorithms/chromaprint.mjs.map +0 -1
- package/dist/actions/hash/algorithms/dhash.mjs +0 -75
- package/dist/actions/hash/algorithms/dhash.mjs.map +0 -1
- package/dist/actions/hash/algorithms/index.mjs +0 -818
- package/dist/actions/hash/algorithms/index.mjs.map +0 -1
- package/dist/actions/hash/algorithms/nilsimsa.mjs +0 -27
- package/dist/actions/hash/algorithms/nilsimsa.mjs.map +0 -1
- package/dist/actions/hash/algorithms/pdq.mjs +0 -83
- package/dist/actions/hash/algorithms/pdq.mjs.map +0 -1
- package/dist/actions/hash/algorithms/phash.mjs +0 -71
- package/dist/actions/hash/algorithms/phash.mjs.map +0 -1
- package/dist/actions/hash/algorithms/sha256.mjs +0 -24
- package/dist/actions/hash/algorithms/sha256.mjs.map +0 -1
- package/dist/actions/hash/algorithms/ssdeep.mjs +0 -203
- package/dist/actions/hash/algorithms/ssdeep.mjs.map +0 -1
- package/dist/actions/hash/algorithms/tlsh.mjs +0 -66
- package/dist/actions/hash/algorithms/tlsh.mjs.map +0 -1
- package/dist/actions/hash/algorithms/types.mjs +0 -1
- package/dist/actions/hash/algorithms/types.mjs.map +0 -1
- package/dist/actions/hash/algorithms/videoFrames.mjs +0 -404
- package/dist/actions/hash/algorithms/videoFrames.mjs.map +0 -1
- package/dist/actions/hash/algorithms/xyo.mjs +0 -30
- package/dist/actions/hash/algorithms/xyo.mjs.map +0 -1
- package/dist/actions/hash/compareHashes.mjs +0 -823
- package/dist/actions/hash/compareHashes.mjs.map +0 -1
- package/dist/actions/hash/hashInput.mjs +0 -868
- package/dist/actions/hash/hashInput.mjs.map +0 -1
- package/dist/actions/hash/index.mjs +0 -881
- package/dist/actions/hash/index.mjs.map +0 -1
- package/dist/actions/hash/lib/hamming.mjs +0 -44
- package/dist/actions/hash/lib/hamming.mjs.map +0 -1
- package/dist/actions/hash/lib/levenshtein.mjs +0 -36
- package/dist/actions/hash/lib/levenshtein.mjs.map +0 -1
- package/dist/actions/hash/lib/runBinary.mjs +0 -54
- package/dist/actions/hash/lib/runBinary.mjs.map +0 -1
- package/dist/actions/hash/lib/which.mjs +0 -36
- package/dist/actions/hash/lib/which.mjs.map +0 -1
- package/dist/actions/hash/lib/withTempfile.mjs +0 -19
- package/dist/actions/hash/lib/withTempfile.mjs.map +0 -1
- package/dist/actions/index.mjs +0 -4615
- package/dist/actions/index.mjs.map +0 -1
- package/dist/actions/printVersion.mjs +0 -12
- package/dist/actions/printVersion.mjs.map +0 -1
- package/dist/actions/sync/index.mjs +0 -51
- package/dist/actions/sync/index.mjs.map +0 -1
- package/dist/actions/sync/syncAiConfig.mjs +0 -51
- package/dist/actions/sync/syncAiConfig.mjs.map +0 -1
- package/dist/actions/wallet/account/deriveAndAdd.mjs +0 -394
- package/dist/actions/wallet/account/deriveAndAdd.mjs.map +0 -1
- package/dist/actions/wallet/account/getActiveWallet.mjs +0 -338
- package/dist/actions/wallet/account/getActiveWallet.mjs.map +0 -1
- package/dist/actions/wallet/account/labelAccount.mjs +0 -389
- package/dist/actions/wallet/account/labelAccount.mjs.map +0 -1
- package/dist/actions/wallet/account/listAccounts.mjs +0 -374
- package/dist/actions/wallet/account/listAccounts.mjs.map +0 -1
- package/dist/actions/wallet/account/removeAccount.mjs +0 -384
- package/dist/actions/wallet/account/removeAccount.mjs.map +0 -1
- package/dist/actions/wallet/account/showAccount.mjs +0 -368
- package/dist/actions/wallet/account/showAccount.mjs.map +0 -1
- package/dist/actions/wallet/addressBook/storage.mjs +0 -110
- package/dist/actions/wallet/addressBook/storage.mjs.map +0 -1
- package/dist/actions/wallet/backup/exportBackup.mjs +0 -93
- package/dist/actions/wallet/backup/exportBackup.mjs.map +0 -1
- package/dist/actions/wallet/backup/importBackup.mjs +0 -142
- package/dist/actions/wallet/backup/importBackup.mjs.map +0 -1
- package/dist/actions/wallet/balance/getBalance.mjs +0 -434
- package/dist/actions/wallet/balance/getBalance.mjs.map +0 -1
- package/dist/actions/wallet/client/walletClient.mjs +0 -64
- package/dist/actions/wallet/client/walletClient.mjs.map +0 -1
- package/dist/actions/wallet/contact/contactActions.mjs +0 -120
- package/dist/actions/wallet/contact/contactActions.mjs.map +0 -1
- package/dist/actions/wallet/contact/storage.mjs +0 -69
- package/dist/actions/wallet/contact/storage.mjs.map +0 -1
- package/dist/actions/wallet/index.mjs +0 -1439
- package/dist/actions/wallet/index.mjs.map +0 -1
- package/dist/actions/wallet/network/networkActions.mjs +0 -137
- package/dist/actions/wallet/network/networkActions.mjs.map +0 -1
- package/dist/actions/wallet/network/storage.mjs +0 -93
- package/dist/actions/wallet/network/storage.mjs.map +0 -1
- package/dist/actions/wallet/password/changePassword.mjs +0 -282
- package/dist/actions/wallet/password/changePassword.mjs.map +0 -1
- package/dist/actions/wallet/password/getActiveKey.mjs +0 -297
- package/dist/actions/wallet/password/getActiveKey.mjs.map +0 -1
- package/dist/actions/wallet/password/initOrUnlock.mjs +0 -337
- package/dist/actions/wallet/password/initOrUnlock.mjs.map +0 -1
- package/dist/actions/wallet/password/passwordStorage.mjs +0 -69
- package/dist/actions/wallet/password/passwordStorage.mjs.map +0 -1
- package/dist/actions/wallet/password/setPassword.mjs +0 -138
- package/dist/actions/wallet/password/setPassword.mjs.map +0 -1
- package/dist/actions/wallet/password/validatePassword.mjs +0 -123
- package/dist/actions/wallet/password/validatePassword.mjs.map +0 -1
- package/dist/actions/wallet/passwordKey.mjs +0 -87
- package/dist/actions/wallet/passwordKey.mjs.map +0 -1
- package/dist/actions/wallet/paths.mjs +0 -26
- package/dist/actions/wallet/paths.mjs.map +0 -1
- package/dist/actions/wallet/prompt.mjs +0 -93
- package/dist/actions/wallet/prompt.mjs.map +0 -1
- package/dist/actions/wallet/seedPhrase/createPhrase.mjs +0 -392
- package/dist/actions/wallet/seedPhrase/createPhrase.mjs.map +0 -1
- package/dist/actions/wallet/seedPhrase/exportPhrase.mjs +0 -334
- package/dist/actions/wallet/seedPhrase/exportPhrase.mjs.map +0 -1
- package/dist/actions/wallet/seedPhrase/idGen.mjs +0 -11
- package/dist/actions/wallet/seedPhrase/idGen.mjs.map +0 -1
- package/dist/actions/wallet/seedPhrase/importPhrase.mjs +0 -393
- package/dist/actions/wallet/seedPhrase/importPhrase.mjs.map +0 -1
- package/dist/actions/wallet/seedPhrase/listPhrases.mjs +0 -62
- package/dist/actions/wallet/seedPhrase/listPhrases.mjs.map +0 -1
- package/dist/actions/wallet/seedPhrase/phraseStorage.mjs +0 -89
- package/dist/actions/wallet/seedPhrase/phraseStorage.mjs.map +0 -1
- package/dist/actions/wallet/seedPhrase/removePhrase.mjs +0 -366
- package/dist/actions/wallet/seedPhrase/removePhrase.mjs.map +0 -1
- package/dist/actions/wallet/seedPhrase/renamePhrase.mjs +0 -78
- package/dist/actions/wallet/seedPhrase/renamePhrase.mjs.map +0 -1
- package/dist/actions/wallet/seedPhrase/types.mjs +0 -1
- package/dist/actions/wallet/seedPhrase/types.mjs.map +0 -1
- package/dist/actions/wallet/seedPhrase/usePhrase.mjs +0 -83
- package/dist/actions/wallet/seedPhrase/usePhrase.mjs.map +0 -1
- package/dist/actions/wallet/session/machineId.mjs +0 -145
- package/dist/actions/wallet/session/machineId.mjs.map +0 -1
- package/dist/actions/wallet/session/sessionCache.mjs +0 -221
- package/dist/actions/wallet/session/sessionCache.mjs.map +0 -1
- package/dist/actions/wallet/session/unlock.mjs +0 -307
- package/dist/actions/wallet/session/unlock.mjs.map +0 -1
- package/dist/actions/wallet/sign/signPayload.mjs +0 -637
- package/dist/actions/wallet/sign/signPayload.mjs.map +0 -1
- package/dist/actions/wallet/storage.mjs +0 -51
- package/dist/actions/wallet/storage.mjs.map +0 -1
- package/dist/actions/wallet/transaction/broadcastTransaction.mjs +0 -453
- package/dist/actions/wallet/transaction/broadcastTransaction.mjs.map +0 -1
- package/dist/actions/wallet/transaction/sendTransaction.mjs +0 -457
- package/dist/actions/wallet/transaction/sendTransaction.mjs.map +0 -1
- package/dist/actions/wallet/transaction/signTransactionFile.mjs +0 -378
- package/dist/actions/wallet/transaction/signTransactionFile.mjs.map +0 -1
- package/dist/actions/xyo/index.mjs +0 -138
- package/dist/actions/xyo/index.mjs.map +0 -1
- package/dist/actions/xyo/transaction/index.mjs +0 -138
- package/dist/actions/xyo/transaction/index.mjs.map +0 -1
- package/dist/actions/xyo/transaction/validateTransactions.mjs +0 -138
- package/dist/actions/xyo/transaction/validateTransactions.mjs.map +0 -1
- package/dist/aries.mjs.map +0 -1
- package/dist/bin/aries.mjs +0 -8472
- package/dist/bin/aries.mjs.map +0 -1
- package/dist/commands/aiCommand.mjs +0 -492
- package/dist/commands/aiCommand.mjs.map +0 -1
- package/dist/commands/auditAiCommand.mjs +0 -119
- package/dist/commands/auditAiCommand.mjs.map +0 -1
- package/dist/commands/auditCommand.mjs +0 -857
- package/dist/commands/auditCommand.mjs.map +0 -1
- package/dist/commands/auditInstallCommand.mjs +0 -324
- package/dist/commands/auditInstallCommand.mjs.map +0 -1
- package/dist/commands/auditListCommand.mjs +0 -107
- package/dist/commands/auditListCommand.mjs.map +0 -1
- package/dist/commands/auditOpenCommand.mjs +0 -51
- package/dist/commands/auditOpenCommand.mjs.map +0 -1
- package/dist/commands/auditSearchCommand.mjs +0 -98
- package/dist/commands/auditSearchCommand.mjs.map +0 -1
- package/dist/commands/auditShowCommand.mjs +0 -123
- package/dist/commands/auditShowCommand.mjs.map +0 -1
- package/dist/commands/auditStatusCommand.mjs +0 -105
- package/dist/commands/auditStatusCommand.mjs.map +0 -1
- package/dist/commands/clampCommand.mjs +0 -2328
- package/dist/commands/clampCommand.mjs.map +0 -1
- package/dist/commands/clampPolicyCommand.mjs +0 -184
- package/dist/commands/clampPolicyCommand.mjs.map +0 -1
- package/dist/commands/clampPolicyInitCommand.mjs +0 -63
- package/dist/commands/clampPolicyInitCommand.mjs.map +0 -1
- package/dist/commands/clampPolicyListCommand.mjs +0 -56
- package/dist/commands/clampPolicyListCommand.mjs.map +0 -1
- package/dist/commands/clampPolicyShowCommand.mjs +0 -83
- package/dist/commands/clampPolicyShowCommand.mjs.map +0 -1
- package/dist/commands/clampRunCommand.mjs +0 -2137
- package/dist/commands/clampRunCommand.mjs.map +0 -1
- package/dist/commands/datalakeAuditCommand.mjs +0 -273
- package/dist/commands/datalakeAuditCommand.mjs.map +0 -1
- package/dist/commands/datalakeCommand.mjs +0 -1637
- package/dist/commands/datalakeCommand.mjs.map +0 -1
- package/dist/commands/datalakeCreateCommand.mjs +0 -189
- package/dist/commands/datalakeCreateCommand.mjs.map +0 -1
- package/dist/commands/datalakeDescribeCommand.mjs +0 -172
- package/dist/commands/datalakeDescribeCommand.mjs.map +0 -1
- package/dist/commands/datalakeDestroyCommand.mjs +0 -53
- package/dist/commands/datalakeDestroyCommand.mjs.map +0 -1
- package/dist/commands/datalakeDevCommand.mjs +0 -470
- package/dist/commands/datalakeDevCommand.mjs.map +0 -1
- package/dist/commands/datalakeDevDownCommand.mjs +0 -111
- package/dist/commands/datalakeDevDownCommand.mjs.map +0 -1
- package/dist/commands/datalakeDevLogsCommand.mjs +0 -65
- package/dist/commands/datalakeDevLogsCommand.mjs.map +0 -1
- package/dist/commands/datalakeDevResetCommand.mjs +0 -125
- package/dist/commands/datalakeDevResetCommand.mjs.map +0 -1
- package/dist/commands/datalakeDevStatusCommand.mjs +0 -110
- package/dist/commands/datalakeDevStatusCommand.mjs.map +0 -1
- package/dist/commands/datalakeDevUpCommand.mjs +0 -268
- package/dist/commands/datalakeDevUpCommand.mjs.map +0 -1
- package/dist/commands/datalakeFetchCommand.mjs +0 -106
- package/dist/commands/datalakeFetchCommand.mjs.map +0 -1
- package/dist/commands/datalakeGrantCommand.mjs +0 -147
- package/dist/commands/datalakeGrantCommand.mjs.map +0 -1
- package/dist/commands/datalakeListCommand.mjs +0 -61
- package/dist/commands/datalakeListCommand.mjs.map +0 -1
- package/dist/commands/datalakeLoginCommand.mjs +0 -39
- package/dist/commands/datalakeLoginCommand.mjs.map +0 -1
- package/dist/commands/datalakeLogoutCommand.mjs +0 -20
- package/dist/commands/datalakeLogoutCommand.mjs.map +0 -1
- package/dist/commands/datalakePushCommand.mjs +0 -214
- package/dist/commands/datalakePushCommand.mjs.map +0 -1
- package/dist/commands/datalakeRevokeCommand.mjs +0 -127
- package/dist/commands/datalakeRevokeCommand.mjs.map +0 -1
- package/dist/commands/datalakeTailCommand.mjs +0 -144
- package/dist/commands/datalakeTailCommand.mjs.map +0 -1
- package/dist/commands/datalakeTokenCommand.mjs +0 -61
- package/dist/commands/datalakeTokenCommand.mjs.map +0 -1
- package/dist/commands/datalakeUseCommand.mjs +0 -35
- package/dist/commands/datalakeUseCommand.mjs.map +0 -1
- package/dist/commands/detectCommand.mjs +0 -419
- package/dist/commands/detectCommand.mjs.map +0 -1
- package/dist/commands/hashCommand.mjs +0 -976
- package/dist/commands/hashCommand.mjs.map +0 -1
- package/dist/commands/hashCompareCommand.mjs +0 -865
- package/dist/commands/hashCompareCommand.mjs.map +0 -1
- package/dist/commands/index.mjs +0 -8461
- package/dist/commands/index.mjs.map +0 -1
- package/dist/commands/syncCommand.mjs +0 -66
- package/dist/commands/syncCommand.mjs.map +0 -1
- package/dist/commands/versionCommand.mjs +0 -24
- package/dist/commands/versionCommand.mjs.map +0 -1
- package/dist/commands/walletAccountCommand.mjs +0 -536
- package/dist/commands/walletAccountCommand.mjs.map +0 -1
- package/dist/commands/walletAccountDeriveCommand.mjs +0 -415
- package/dist/commands/walletAccountDeriveCommand.mjs.map +0 -1
- package/dist/commands/walletAccountLabelCommand.mjs +0 -405
- package/dist/commands/walletAccountLabelCommand.mjs.map +0 -1
- package/dist/commands/walletAccountListCommand.mjs +0 -381
- package/dist/commands/walletAccountListCommand.mjs.map +0 -1
- package/dist/commands/walletAccountRemoveCommand.mjs +0 -396
- package/dist/commands/walletAccountRemoveCommand.mjs.map +0 -1
- package/dist/commands/walletAccountShowCommand.mjs +0 -380
- package/dist/commands/walletAccountShowCommand.mjs.map +0 -1
- package/dist/commands/walletBackupCommand.mjs +0 -222
- package/dist/commands/walletBackupCommand.mjs.map +0 -1
- package/dist/commands/walletBackupExportCommand.mjs +0 -107
- package/dist/commands/walletBackupExportCommand.mjs.map +0 -1
- package/dist/commands/walletBackupImportCommand.mjs +0 -154
- package/dist/commands/walletBackupImportCommand.mjs.map +0 -1
- package/dist/commands/walletBalanceCommand.mjs +0 -448
- package/dist/commands/walletBalanceCommand.mjs.map +0 -1
- package/dist/commands/walletCommand.mjs +0 -1968
- package/dist/commands/walletCommand.mjs.map +0 -1
- package/dist/commands/walletContactAddCommand.mjs +0 -111
- package/dist/commands/walletContactAddCommand.mjs.map +0 -1
- package/dist/commands/walletContactCommand.mjs +0 -184
- package/dist/commands/walletContactCommand.mjs.map +0 -1
- package/dist/commands/walletContactListCommand.mjs +0 -66
- package/dist/commands/walletContactListCommand.mjs.map +0 -1
- package/dist/commands/walletContactRemoveCommand.mjs +0 -97
- package/dist/commands/walletContactRemoveCommand.mjs.map +0 -1
- package/dist/commands/walletContactRenameCommand.mjs +0 -114
- package/dist/commands/walletContactRenameCommand.mjs.map +0 -1
- package/dist/commands/walletCreateCommand.mjs +0 -407
- package/dist/commands/walletCreateCommand.mjs.map +0 -1
- package/dist/commands/walletExportCommand.mjs +0 -345
- package/dist/commands/walletExportCommand.mjs.map +0 -1
- package/dist/commands/walletImportCommand.mjs +0 -413
- package/dist/commands/walletImportCommand.mjs.map +0 -1
- package/dist/commands/walletListCommand.mjs +0 -69
- package/dist/commands/walletListCommand.mjs.map +0 -1
- package/dist/commands/walletLockCommand.mjs +0 -56
- package/dist/commands/walletLockCommand.mjs.map +0 -1
- package/dist/commands/walletNetworkAddCommand.mjs +0 -131
- package/dist/commands/walletNetworkAddCommand.mjs.map +0 -1
- package/dist/commands/walletNetworkCommand.mjs +0 -206
- package/dist/commands/walletNetworkCommand.mjs.map +0 -1
- package/dist/commands/walletNetworkListCommand.mjs +0 -104
- package/dist/commands/walletNetworkListCommand.mjs.map +0 -1
- package/dist/commands/walletNetworkRemoveCommand.mjs +0 -112
- package/dist/commands/walletNetworkRemoveCommand.mjs.map +0 -1
- package/dist/commands/walletNetworkUseCommand.mjs +0 -110
- package/dist/commands/walletNetworkUseCommand.mjs.map +0 -1
- package/dist/commands/walletPasswordChangeCommand.mjs +0 -291
- package/dist/commands/walletPasswordChangeCommand.mjs.map +0 -1
- package/dist/commands/walletPasswordCommand.mjs +0 -301
- package/dist/commands/walletPasswordCommand.mjs.map +0 -1
- package/dist/commands/walletRemoveCommand.mjs +0 -378
- package/dist/commands/walletRemoveCommand.mjs.map +0 -1
- package/dist/commands/walletRenameCommand.mjs +0 -94
- package/dist/commands/walletRenameCommand.mjs.map +0 -1
- package/dist/commands/walletSignCommand.mjs +0 -662
- package/dist/commands/walletSignCommand.mjs.map +0 -1
- package/dist/commands/walletTxBroadcastCommand.mjs +0 -473
- package/dist/commands/walletTxBroadcastCommand.mjs.map +0 -1
- package/dist/commands/walletTxCommand.mjs +0 -612
- package/dist/commands/walletTxCommand.mjs.map +0 -1
- package/dist/commands/walletTxSendCommand.mjs +0 -492
- package/dist/commands/walletTxSendCommand.mjs.map +0 -1
- package/dist/commands/walletTxSignCommand.mjs +0 -403
- package/dist/commands/walletTxSignCommand.mjs.map +0 -1
- package/dist/commands/walletUnlockCommand.mjs +0 -308
- package/dist/commands/walletUnlockCommand.mjs.map +0 -1
- package/dist/commands/walletUseCommand.mjs +0 -95
- package/dist/commands/walletUseCommand.mjs.map +0 -1
- package/dist/commands/xyoCommand.mjs +0 -188
- package/dist/commands/xyoCommand.mjs.map +0 -1
- package/dist/commands/xyoTxCommand.mjs +0 -178
- package/dist/commands/xyoTxCommand.mjs.map +0 -1
- package/dist/commands/xyoTxValidateCommand.mjs +0 -168
- package/dist/commands/xyoTxValidateCommand.mjs.map +0 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.mjs +0 -8466
- package/dist/index.mjs.map +0 -1
- package/dist/types/modules.d.mjs +0 -1
- package/dist/types/modules.d.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -1,693 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Aries Tools CLI — a suite by Arie Trouw for AI-client tooling, Claude/Codex audit trails, sandboxed command execution, XL1 datalake provisioning, content hashing (strict + fuzzy + perceptual), XL1 wallet management, payload witnessing, and XYO protocol utilities.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
npm install -g @xylabs/aries
|
|
9
|
-
# or
|
|
10
|
-
pnpm add -g @xylabs/aries
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Quick start
|
|
14
|
-
|
|
15
|
-
```sh
|
|
16
|
-
aries --help
|
|
17
|
-
aries info
|
|
18
|
-
aries hash --algorithm pdq ./photo.jpg
|
|
19
|
-
aries wallet create
|
|
20
|
-
aries witness url --url https://example.com
|
|
21
|
-
aries datalake list
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Top-level commands
|
|
25
|
-
|
|
26
|
-
```text
|
|
27
|
-
aries ai AI client tools
|
|
28
|
-
aries audit Manage the Claude Code audit trail
|
|
29
|
-
aries clamp Run commands inside a permission-controlled sandbox
|
|
30
|
-
aries datalake Provision and manage on-demand XL1 datalakes
|
|
31
|
-
aries hash [file] Generate a hash (sha256, xyo, fuzzy, perceptual)
|
|
32
|
-
aries info Display version and environment info
|
|
33
|
-
aries wallet XL1 wallet — seed phrases, accounts, transactions, contacts
|
|
34
|
-
aries witness Observe data and produce XYO-compliant payloads
|
|
35
|
-
aries xyo XYO protocol utilities
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Global options
|
|
39
|
-
|
|
40
|
-
Available on every command:
|
|
41
|
-
|
|
42
|
-
| Option | Description |
|
|
43
|
-
|---|---|
|
|
44
|
-
| `-v, --verbose` | Enable verbose output |
|
|
45
|
-
| `--version` | Show version number |
|
|
46
|
-
| `--help` | Show help |
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
## `aries ai` — AI client tools
|
|
51
|
-
|
|
52
|
-
### `aries ai detect`
|
|
53
|
-
|
|
54
|
-
Scan for installed AI clients.
|
|
55
|
-
|
|
56
|
-
| Option | Default | Description |
|
|
57
|
-
|---|---|---|
|
|
58
|
-
| `--json` | `false` | Output as JSON |
|
|
59
|
-
|
|
60
|
-
### `aries ai sync`
|
|
61
|
-
|
|
62
|
-
Sync AI config between Claude Code and Codex.
|
|
63
|
-
|
|
64
|
-
| Option | Default | Description |
|
|
65
|
-
|---|---|---|
|
|
66
|
-
| `--from <claude\|agents>` | `claude` | Source to sync from (the authority) |
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
## `aries audit` — Manage the Claude Code audit trail
|
|
71
|
-
|
|
72
|
-
```sh
|
|
73
|
-
aries audit ai # Show current AI metadata recorded in audit entries
|
|
74
|
-
aries audit list # List audit sessions
|
|
75
|
-
aries audit show <session-id> # Show audit trail for a session
|
|
76
|
-
aries audit search <query> # Search audit logs
|
|
77
|
-
aries audit install [provider] # Install the audit plugin (claude | codex | both)
|
|
78
|
-
aries audit uninstall [provider] # Uninstall the audit plugin
|
|
79
|
-
aries audit open # Open the audit log directory in Finder/Explorer
|
|
80
|
-
aries audit status # Show audit plugin status and log statistics
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
### Per-command flags
|
|
84
|
-
|
|
85
|
-
#### `aries audit ai`
|
|
86
|
-
| Option | Default | Description |
|
|
87
|
-
|---|---|---|
|
|
88
|
-
| `--json` | `false` | Output as JSON |
|
|
89
|
-
|
|
90
|
-
#### `aries audit list`
|
|
91
|
-
| Option | Default | Description |
|
|
92
|
-
|---|---|---|
|
|
93
|
-
| `-d, --date <YYYY-MM-DD>` | | Filter by date |
|
|
94
|
-
|
|
95
|
-
#### `aries audit show <session-id>`
|
|
96
|
-
| Positional | | Description |
|
|
97
|
-
|---|---|---|
|
|
98
|
-
| `session-id` | required | Session ID (or prefix) |
|
|
99
|
-
|
|
100
|
-
| Option | Default | Description |
|
|
101
|
-
|---|---|---|
|
|
102
|
-
| `-f, --format <text\|json>` | `text` | Output format |
|
|
103
|
-
|
|
104
|
-
#### `aries audit search <query>`
|
|
105
|
-
| Positional | | Description |
|
|
106
|
-
|---|---|---|
|
|
107
|
-
| `query` | required | Search text |
|
|
108
|
-
|
|
109
|
-
| Option | Default | Description |
|
|
110
|
-
|---|---|---|
|
|
111
|
-
| `-d, --date <YYYY-MM-DD>` | | Filter by date |
|
|
112
|
-
| `-n, --limit <n>` | `50` | Max results |
|
|
113
|
-
|
|
114
|
-
#### `aries audit install [provider]` / `aries audit uninstall [provider]`
|
|
115
|
-
| Positional | | Description |
|
|
116
|
-
|---|---|---|
|
|
117
|
-
| `provider` | both | `claude` or `codex` |
|
|
118
|
-
|
|
119
|
-
`open`, `status` take no command-specific options.
|
|
120
|
-
|
|
121
|
-
---
|
|
122
|
-
|
|
123
|
-
## `aries clamp` — Run commands inside a permission-controlled sandbox
|
|
124
|
-
|
|
125
|
-
```sh
|
|
126
|
-
aries clamp run <command> [args..] # Run a command inside the clamp sandbox
|
|
127
|
-
aries clamp policy list # List available clamp policies
|
|
128
|
-
aries clamp policy show <name> # Show a clamp policy
|
|
129
|
-
aries clamp policy init # Create a starter .aries-clamp.json
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
### Per-command flags
|
|
133
|
-
|
|
134
|
-
#### `aries clamp run <command> [args..]`
|
|
135
|
-
| Positional | | Description |
|
|
136
|
-
|---|---|---|
|
|
137
|
-
| `command` | required | Command to run inside the sandbox |
|
|
138
|
-
| `args` | `[]` | Arguments for the command |
|
|
139
|
-
|
|
140
|
-
| Option | Default | Description |
|
|
141
|
-
|---|---|---|
|
|
142
|
-
| `-p, --policy <path-or-name>` | | Policy file path or name |
|
|
143
|
-
| `--audit` | `true` | Enable audit logging |
|
|
144
|
-
| `--dry-run` | `false` | Show what would be sandboxed without running |
|
|
145
|
-
|
|
146
|
-
#### `aries clamp policy show <name>`
|
|
147
|
-
| Positional | | Description |
|
|
148
|
-
|---|---|---|
|
|
149
|
-
| `name` | required | Policy name or file path |
|
|
150
|
-
|
|
151
|
-
`policy list` and `policy init` take no command-specific options.
|
|
152
|
-
|
|
153
|
-
---
|
|
154
|
-
|
|
155
|
-
## `aries datalake` — Provision and manage on-demand XL1 datalakes
|
|
156
|
-
|
|
157
|
-
### Authentication
|
|
158
|
-
|
|
159
|
-
#### `aries datalake login`
|
|
160
|
-
| Option | Default | Description |
|
|
161
|
-
|---|---|---|
|
|
162
|
-
| `--base-url <url>` | | Control-plane base URL (P0: required) |
|
|
163
|
-
| `--token <jwt>` | | Pre-issued auth token (P0: required; OAuth lands in P1) |
|
|
164
|
-
|
|
165
|
-
`aries datalake logout` — clears stored credentials, no flags.
|
|
166
|
-
|
|
167
|
-
### Lifecycle
|
|
168
|
-
|
|
169
|
-
#### `aries datalake create <name>`
|
|
170
|
-
| Positional | | Description |
|
|
171
|
-
|---|---|---|
|
|
172
|
-
| `name` | required | Human-friendly name (unique per owner) |
|
|
173
|
-
|
|
174
|
-
| Option | Default | Description |
|
|
175
|
-
|---|---|---|
|
|
176
|
-
| `-t, --tier <small\|medium\|large\|archive>` | `small` | Service tier |
|
|
177
|
-
| `-s, --size <e.g. 10GB>` | | Capacity |
|
|
178
|
-
| `--iops <n>` | | Provisioned IOPS target |
|
|
179
|
-
| `-r, --region <us-west-2\|us-east-1\|eu-west-1>` | | Deployment region |
|
|
180
|
-
| `--retention-days <n>` | tier default | Retention in days |
|
|
181
|
-
| `--verify-hashes` | `false` | Reject inserts whose `$hash` does not match the content digest |
|
|
182
|
-
| `--rate-auth-per-minute <n>` | | Override: authenticated requests per minute |
|
|
183
|
-
| `--rate-anon-per-minute <n>` | | Override: anonymous requests per minute |
|
|
184
|
-
| `--rate-burst-factor <n>` | | Override: rate-limit burst factor (1 = no burst) |
|
|
185
|
-
|
|
186
|
-
`aries datalake list` — no flags.
|
|
187
|
-
|
|
188
|
-
#### `aries datalake describe [name]` / `aries datalake destroy [name]`
|
|
189
|
-
| Positional | | Description |
|
|
190
|
-
|---|---|---|
|
|
191
|
-
| `name` | active default | Datalake name or id |
|
|
192
|
-
|
|
193
|
-
`destroy` adds:
|
|
194
|
-
| Option | Default | Description |
|
|
195
|
-
|---|---|---|
|
|
196
|
-
| `-f, --force` | `false` | Required confirmation flag |
|
|
197
|
-
|
|
198
|
-
#### `aries datalake use [name]`
|
|
199
|
-
|
|
200
|
-
Sets the default datalake for subsequent commands. Omit the name to clear.
|
|
201
|
-
|
|
202
|
-
### Access control
|
|
203
|
-
|
|
204
|
-
#### `aries datalake grant <name> <principal>`
|
|
205
|
-
| Positional | | Description |
|
|
206
|
-
|---|---|---|
|
|
207
|
-
| `name` | required | Datalake name or id |
|
|
208
|
-
| `principal` | required | User id, or the literal `public` |
|
|
209
|
-
|
|
210
|
-
| Option | Default | Description |
|
|
211
|
-
|---|---|---|
|
|
212
|
-
| `-r, --role <viewer\|runner>` | `viewer` | Role to grant |
|
|
213
|
-
| `--confirm-public` | `false` | Required to grant `public runner` (anonymous writes) |
|
|
214
|
-
|
|
215
|
-
#### `aries datalake revoke <name> <principal>`
|
|
216
|
-
|
|
217
|
-
Same positionals; no command-specific options.
|
|
218
|
-
|
|
219
|
-
#### `aries datalake token [name]`
|
|
220
|
-
| Positional | | Description |
|
|
221
|
-
|---|---|---|
|
|
222
|
-
| `name` | active default | Datalake name or id |
|
|
223
|
-
|
|
224
|
-
| Option | Default | Description |
|
|
225
|
-
|---|---|---|
|
|
226
|
-
| `-r, --role <viewer\|runner>` | `viewer` | Role encoded in the token |
|
|
227
|
-
| `--ttl <seconds>` | server-capped | Lifetime in seconds |
|
|
228
|
-
|
|
229
|
-
### Data plane
|
|
230
|
-
|
|
231
|
-
#### `aries datalake push <file> [name]`
|
|
232
|
-
| Positional | | Description |
|
|
233
|
-
|---|---|---|
|
|
234
|
-
| `file` | required | Path to a `.json` (array) or `.jsonl` (one payload/line) file |
|
|
235
|
-
| `name` | active default | Target datalake |
|
|
236
|
-
|
|
237
|
-
| Option | Default | Description |
|
|
238
|
-
|---|---|---|
|
|
239
|
-
| `--batch-size <n>` | `500` | Max payloads per HTTP request |
|
|
240
|
-
| `--verify` | `false` | Verify each payload's `$hash` against content locally before pushing |
|
|
241
|
-
| `--xl1-sdk` | `false` | Use the real `@xyo-network/xl1-protocol-sdk RestDataLakeRunner` |
|
|
242
|
-
|
|
243
|
-
#### `aries datalake fetch <hash> [name]`
|
|
244
|
-
| Positional | | Description |
|
|
245
|
-
|---|---|---|
|
|
246
|
-
| `hash` | required | Content hash of the payload |
|
|
247
|
-
| `name` | active default | Target datalake |
|
|
248
|
-
|
|
249
|
-
| Option | Default | Description |
|
|
250
|
-
|---|---|---|
|
|
251
|
-
| `--raw` | `false` | Print only the raw JSON payload (no header) |
|
|
252
|
-
| `--xl1-sdk` | `false` | Use the real `@xyo-network/xl1-protocol-sdk RestDataLakeViewer` |
|
|
253
|
-
|
|
254
|
-
#### `aries datalake tail [name]`
|
|
255
|
-
| Positional | | Description |
|
|
256
|
-
|---|---|---|
|
|
257
|
-
| `name` | active default | Datalake name or id |
|
|
258
|
-
|
|
259
|
-
| Option | Default | Description |
|
|
260
|
-
|---|---|---|
|
|
261
|
-
| `-f, --follow` | `false` | Keep polling for new payloads after draining the backlog |
|
|
262
|
-
| `-n, --limit <n>` | `50` | Max payloads per page |
|
|
263
|
-
| `--cursor <hash>` | | Resume after this hash (exclusive) |
|
|
264
|
-
| `--schemas <csv>` | | Comma-separated list of schemas to include |
|
|
265
|
-
| `--poll-interval <ms>` | `1000` | Poll interval in ms when following |
|
|
266
|
-
|
|
267
|
-
### Audit (data-plane log inspection)
|
|
268
|
-
|
|
269
|
-
```sh
|
|
270
|
-
aries datalake audit # default: view
|
|
271
|
-
aries datalake audit view # Print audit log rows
|
|
272
|
-
aries datalake audit purge # Delete rotated audit files older than --max-age-days
|
|
273
|
-
```
|
|
274
|
-
|
|
275
|
-
#### `aries datalake audit view`
|
|
276
|
-
| Option | Default | Description |
|
|
277
|
-
|---|---|---|
|
|
278
|
-
| `-f, --follow` | `false` | Stream new rows as they arrive (tails the most recent file) |
|
|
279
|
-
| `-n, --lines <n>` | `50` | Tail this many rows (0 = start fresh in `--follow` mode) |
|
|
280
|
-
| `-d, --datalake <id>` | | Filter by datalake name or id |
|
|
281
|
-
| `--status <prefix>` | | Status code prefix filter (e.g. `4` matches 4xx) |
|
|
282
|
-
| `--method <verb>` | | HTTP method filter (`GET`, `POST`, …) |
|
|
283
|
-
| `--authenticated <true\|false>` | | Show only authenticated or only anonymous requests |
|
|
284
|
-
| `--grep <regex>` | | Regex pattern applied to the raw JSON line |
|
|
285
|
-
| `--file <path>` | | File or directory (auto-detects rotation layout) |
|
|
286
|
-
|
|
287
|
-
#### `aries datalake audit purge`
|
|
288
|
-
| Option | Default | Description |
|
|
289
|
-
|---|---|---|
|
|
290
|
-
| `--max-age-days <n>` | required | Retention window; files older than this are deleted |
|
|
291
|
-
| `--directory <path>` | `<ARIES_HOME>/dev/audit` | Rotation directory |
|
|
292
|
-
| `--dry-run` | `false` | Report what would be deleted without removing anything |
|
|
293
|
-
|
|
294
|
-
### Local development
|
|
295
|
-
|
|
296
|
-
```sh
|
|
297
|
-
aries datalake dev up # Start the local control + data plane dev server
|
|
298
|
-
aries datalake dev down # Stop it (clears credentials)
|
|
299
|
-
aries datalake dev status # Report whether the local dev server is running and healthy
|
|
300
|
-
aries datalake dev logs # Print recent dev server log output
|
|
301
|
-
aries datalake dev reset # Stop the dev server and wipe all local state
|
|
302
|
-
```
|
|
303
|
-
|
|
304
|
-
#### `aries datalake dev up`
|
|
305
|
-
| Option | Default | Description |
|
|
306
|
-
|---|---|---|
|
|
307
|
-
| `--control-port <n>` | `8787` | Control-plane port |
|
|
308
|
-
| `--plane-port <n>` | `8788` | Data-plane port |
|
|
309
|
-
| `--timeout <s>` | `10` | Seconds to wait for health |
|
|
310
|
-
| `--persist` | `false` | Persist store state to disk so it survives restarts |
|
|
311
|
-
| `--audit` | `false` | Write a JSONL audit log of every data-plane request |
|
|
312
|
-
| `--audit-rotate` | `false` | Rotate the audit log daily (writes to `<home>/dev/audit/`) |
|
|
313
|
-
| `--audit-keep-days <n>` | | Prune rotated audit files older than this many days |
|
|
314
|
-
|
|
315
|
-
#### `aries datalake dev logs`
|
|
316
|
-
| Option | Default | Description |
|
|
317
|
-
|---|---|---|
|
|
318
|
-
| `-f, --follow` | `false` | Stream new lines as they arrive |
|
|
319
|
-
| `-n, --lines <n>` | `50` | Number of tail lines to show |
|
|
320
|
-
|
|
321
|
-
`down`, `status`, `reset` take no command-specific options.
|
|
322
|
-
|
|
323
|
-
---
|
|
324
|
-
|
|
325
|
-
## `aries hash [file]` — content hashing
|
|
326
|
-
|
|
327
|
-
```text
|
|
328
|
-
aries hash [file] [options]
|
|
329
|
-
aries hash compare <hashA> <hashB> --algorithm <name> [--json]
|
|
330
|
-
```
|
|
331
|
-
|
|
332
|
-
Reads input from `[file]` (positional), `--string`, or piped stdin (priority order). Dispatches to one of 11 algorithms.
|
|
333
|
-
|
|
334
|
-
### Options
|
|
335
|
-
|
|
336
|
-
| Option | Default | Description |
|
|
337
|
-
|---|---|---|
|
|
338
|
-
| `-a, --algorithm <name>` | `sha256` | Algorithm — see the matrix below |
|
|
339
|
-
| `-s, --string <text>` | | Hash this string instead of a file/stdin |
|
|
340
|
-
| `-x, --xyo` | `false` | Shortcut for `--algorithm xyo` (input must be JSON) |
|
|
341
|
-
| `--base64` | `false` | Re-encode hex output as base64 (only for hex-output algorithms) |
|
|
342
|
-
| `--fps <n>` | `1` | Frames-per-second sample rate (`video-frames` only) |
|
|
343
|
-
| `--frame-algorithm <phash\|pdq>` | `phash` | Per-frame hash for `video-frames` |
|
|
344
|
-
|
|
345
|
-
### Algorithm reference
|
|
346
|
-
|
|
347
|
-
| Algorithm | Family | Input | Output | External binary | Compare metric |
|
|
348
|
-
|---|---|---|---|---|---|
|
|
349
|
-
| `sha256` | strict | bytes | 64-char hex | — | `exact-match` |
|
|
350
|
-
| `xyo` | strict | JSON | 64-char hex | — | `exact-match` |
|
|
351
|
-
| `tlsh` | fuzzy-byte | ≥50 bytes | 70-char hex | — | `tlsh-bit-hamming` ⚠ |
|
|
352
|
-
| `nilsimsa` | fuzzy-byte | bytes | 64-char hex | — | `nilsimsa-score` |
|
|
353
|
-
| `ssdeep` | fuzzy-byte | bytes | `bs:h1:h2` | `ssdeep` | `ssdeep-levenshtein` ⚠ |
|
|
354
|
-
| `phash` | perceptual-image | image | 16-char hex (64-bit) | — | `hamming-64` |
|
|
355
|
-
| `dhash` | perceptual-image | image | 16-char hex (64-bit) | — | `hamming-64` |
|
|
356
|
-
| `blockhash` | perceptual-image | image | 16-char hex (64-bit) | — | `hamming-64` |
|
|
357
|
-
| `pdq` | perceptual-image | image | 64-char hex (256-bit) — Meta PDQ via WASM | — | `hamming-256` |
|
|
358
|
-
| `chromaprint` | audio | audio file | JSON `{duration, fingerprint[]}` | `fpcalc` | `chromaprint-windowed-hamming` |
|
|
359
|
-
| `video-frames` | video | video file | JSON `{fps, frames:[{t,hash}]}` | `ffmpeg` | `frame-sequence-<algo>@<fps>fps` |
|
|
360
|
-
|
|
361
|
-
⚠ — Approximations, not the canonical reference scores:
|
|
362
|
-
- `tlsh-bit-hamming` — the upstream `tlsh` npm package only exposes hashing, not the canonical TLSH-diff algorithm. We use bit-level Hamming over the hash body as a proxy.
|
|
363
|
-
- `ssdeep-levenshtein` — block-size-aware Levenshtein, without the canonical block-size attenuation curve.
|
|
364
|
-
|
|
365
|
-
### External binary install
|
|
1
|
+
[![logo][]](https://xylabs.com)
|
|
366
2
|
|
|
367
|
-
|
|
368
|
-
# macOS
|
|
369
|
-
brew install ssdeep chromaprint ffmpeg
|
|
370
|
-
|
|
371
|
-
# Debian/Ubuntu
|
|
372
|
-
apt install ssdeep libchromaprint-tools ffmpeg
|
|
373
|
-
|
|
374
|
-
# Windows
|
|
375
|
-
choco install ssdeep chromaprint ffmpeg
|
|
376
|
-
```
|
|
377
|
-
|
|
378
|
-
Each algorithm probes its binary at hash time and prints clear install instructions if the binary is missing.
|
|
379
|
-
|
|
380
|
-
### Examples
|
|
381
|
-
|
|
382
|
-
```sh
|
|
383
|
-
# Strict
|
|
384
|
-
aries hash --string "hello"
|
|
385
|
-
aries hash ./payload.json --algorithm xyo
|
|
386
|
-
|
|
387
|
-
# Byte-fuzzy
|
|
388
|
-
aries hash --algorithm tlsh ./binary.exe
|
|
389
|
-
aries hash compare <hashA> <hashB> --algorithm tlsh
|
|
390
|
-
|
|
391
|
-
# Perceptual image
|
|
392
|
-
aries hash --algorithm phash ./photo.jpg
|
|
393
|
-
aries hash --algorithm pdq ./photo.jpg
|
|
394
|
-
aries hash compare <hashA> <hashB> --algorithm pdq
|
|
395
|
-
|
|
396
|
-
# Audio
|
|
397
|
-
aries hash --algorithm chromaprint ./song.mp3 > song.fp.json
|
|
398
|
-
aries hash compare "$(cat a.fp.json)" "$(cat b.fp.json)" --algorithm chromaprint --json
|
|
399
|
-
|
|
400
|
-
# Video
|
|
401
|
-
aries hash --algorithm video-frames --fps 1 ./movie.mkv > movie.fp.json
|
|
402
|
-
aries hash --algorithm video-frames --fps 1 --frame-algorithm pdq ./movie.mkv > movie-pdq.fp.json
|
|
403
|
-
aries hash compare "$(cat a.fp.json)" "$(cat b.fp.json)" --algorithm video-frames
|
|
404
|
-
```
|
|
405
|
-
|
|
406
|
-
### `aries hash compare <hashA> <hashB>`
|
|
407
|
-
|
|
408
|
-
| Positional | | Description |
|
|
409
|
-
|---|---|---|
|
|
410
|
-
| `hashA` | required | First hash |
|
|
411
|
-
| `hashB` | required | Second hash |
|
|
412
|
-
|
|
413
|
-
| Option | Default | Description |
|
|
414
|
-
|---|---|---|
|
|
415
|
-
| `-a, --algorithm <name>` | required | Algorithm that produced the hashes |
|
|
416
|
-
| `--json` | `false` | Print full result as JSON |
|
|
417
|
-
|
|
418
|
-
Plain output: `<similarity>\t<metric>[\tdistance=<n>]` (similarity is a 0..1 float, 1 = identical). JSON output: `{"similarity":0.93,"distance":18,"metric":"hamming-256"}`.
|
|
419
|
-
|
|
420
|
-
The compare command needs only the two hash strings — works against hashes generated on different machines.
|
|
421
|
-
|
|
422
|
-
---
|
|
423
|
-
|
|
424
|
-
## `aries info`
|
|
425
|
-
|
|
426
|
-
Display ariestools version and environment info. No command-specific options.
|
|
427
|
-
|
|
428
|
-
---
|
|
429
|
-
|
|
430
|
-
## `aries wallet` — XL1 wallet
|
|
431
|
-
|
|
432
|
-
### Wallet management
|
|
433
|
-
|
|
434
|
-
```sh
|
|
435
|
-
aries wallet create # Generate a new XL1 wallet (random recovery phrase)
|
|
436
|
-
aries wallet import # Import an existing XL1 recovery phrase
|
|
437
|
-
aries wallet export # Print the recovery phrase for the active (or specified) wallet
|
|
438
|
-
aries wallet list # List stored wallets
|
|
439
|
-
aries wallet use <id> # Set the active wallet
|
|
440
|
-
aries wallet rename <id> <label> # Rename a stored wallet
|
|
441
|
-
aries wallet remove <id> # Delete a stored wallet (and its address book)
|
|
442
|
-
```
|
|
443
|
-
|
|
444
|
-
#### `aries wallet create`
|
|
445
|
-
| Option | Default | Description |
|
|
446
|
-
|---|---|---|
|
|
447
|
-
| `-l, --label <text>` | `primary` | Friendly label for the wallet |
|
|
448
|
-
|
|
449
|
-
#### `aries wallet import`
|
|
450
|
-
| Option | Default | Description |
|
|
451
|
-
|---|---|---|
|
|
452
|
-
| `-l, --label <text>` | `imported` | Friendly label |
|
|
453
|
-
| `-p, --phrase <words>` | | Recovery phrase (skips interactive prompt) |
|
|
454
|
-
|
|
455
|
-
#### `aries wallet export`
|
|
456
|
-
| Option | Default | Description |
|
|
457
|
-
|---|---|---|
|
|
458
|
-
| `--id <wallet-id>` | active | Wallet id or label |
|
|
459
|
-
|
|
460
|
-
#### `aries wallet use <id>` / `aries wallet remove <id>`
|
|
461
|
-
| Positional | | Description |
|
|
462
|
-
|---|---|---|
|
|
463
|
-
| `id` | required | Wallet id or label |
|
|
464
|
-
|
|
465
|
-
#### `aries wallet rename <id> <label>`
|
|
466
|
-
| Positional | | Description |
|
|
467
|
-
|---|---|---|
|
|
468
|
-
| `id` | required | Wallet id or current label |
|
|
469
|
-
| `label` | required | New label |
|
|
470
|
-
|
|
471
|
-
### Session
|
|
472
|
-
|
|
473
|
-
```sh
|
|
474
|
-
aries wallet unlock # Cache the wallet password (encrypted at rest) for a TTL
|
|
475
|
-
aries wallet lock # Clear the cached unlocked session
|
|
476
|
-
aries wallet password change # Change the wallet password (re-encrypts every stored phrase)
|
|
477
|
-
```
|
|
478
|
-
|
|
479
|
-
#### `aries wallet unlock`
|
|
480
|
-
| Option | Default | Description |
|
|
481
|
-
|---|---|---|
|
|
482
|
-
| `--ttl <seconds>` | `900` | Session lifetime in seconds (default 15 min) |
|
|
483
|
-
|
|
484
|
-
`lock` and `password change` take no command-specific options.
|
|
485
|
-
|
|
486
|
-
### Accounts
|
|
487
|
-
|
|
488
|
-
```sh
|
|
489
|
-
aries wallet account list # List derived accounts in the active wallet
|
|
490
|
-
aries wallet account show <offset> # Show details for a derived account
|
|
491
|
-
aries wallet account derive <offset> # Derive a new account at the given HD offset
|
|
492
|
-
aries wallet account label <offset> <label> # Label a derived account
|
|
493
|
-
aries wallet account remove <offset> # Remove an account from the address book
|
|
494
|
-
```
|
|
495
|
-
|
|
496
|
-
All `account` commands take an HD path offset positional (e.g. `0`).
|
|
497
|
-
|
|
498
|
-
#### `aries wallet account derive <offset>`
|
|
499
|
-
| Option | Default | Description |
|
|
500
|
-
|---|---|---|
|
|
501
|
-
| `-l, --label <text>` | | Friendly label for the account |
|
|
502
|
-
|
|
503
|
-
### Balance & signing
|
|
504
|
-
|
|
505
|
-
#### `aries wallet balance [offset]`
|
|
506
|
-
| Positional | | Description |
|
|
507
|
-
|---|---|---|
|
|
508
|
-
| `offset` | `0` | HD path offset |
|
|
509
|
-
|
|
510
|
-
#### `aries wallet sign <file>`
|
|
511
|
-
| Positional | | Description |
|
|
512
|
-
|---|---|---|
|
|
513
|
-
| `file` | required | Path to a JSON payload file |
|
|
514
|
-
|
|
515
|
-
| Option | Default | Description |
|
|
516
|
-
|---|---|---|
|
|
517
|
-
| `-o, --offset <n>` | `0` | HD path offset of the signer |
|
|
518
|
-
| `-O, --output <path>` | | Write output to file instead of stdout |
|
|
519
|
-
|
|
520
|
-
Produces a BoundWitness.
|
|
521
|
-
|
|
522
|
-
### Transactions
|
|
523
|
-
|
|
524
|
-
```sh
|
|
525
|
-
aries wallet tx send <recipient> <amount> # Build, sign, and broadcast an XL1 transfer
|
|
526
|
-
aries wallet tx sign <file> # Sign an unsigned transaction JSON file
|
|
527
|
-
aries wallet tx broadcast <file> # Broadcast a signed transaction JSON file
|
|
528
|
-
```
|
|
529
|
-
|
|
530
|
-
#### `aries wallet tx send <recipient> <amount>`
|
|
531
|
-
| Positional | | Description |
|
|
532
|
-
|---|---|---|
|
|
533
|
-
| `recipient` | required | Recipient address (`0x…`) |
|
|
534
|
-
| `amount` | required | Amount in whole XL1 |
|
|
535
|
-
|
|
536
|
-
| Option | Default | Description |
|
|
537
|
-
|---|---|---|
|
|
538
|
-
| `-o, --offset <n>` | `0` | HD path offset of the sender |
|
|
539
|
-
| `--attempts <n>` | `30` | Confirmation polling attempts |
|
|
540
|
-
| `--delay <ms>` | `2000` | Delay between confirmation attempts |
|
|
541
|
-
|
|
542
|
-
#### `aries wallet tx sign <file>`
|
|
543
|
-
| Positional | | Description |
|
|
544
|
-
|---|---|---|
|
|
545
|
-
| `file` | required | Path to unsigned transaction JSON |
|
|
546
|
-
|
|
547
|
-
| Option | Default | Description |
|
|
548
|
-
|---|---|---|
|
|
549
|
-
| `-o, --offset <n>` | `0` | HD path offset of the signer |
|
|
550
|
-
| `-O, --output <path>` | | Write signed tx to file instead of stdout |
|
|
551
|
-
|
|
552
|
-
#### `aries wallet tx broadcast <file>`
|
|
553
|
-
| Positional | | Description |
|
|
554
|
-
|---|---|---|
|
|
555
|
-
| `file` | required | Path to signed transaction JSON |
|
|
556
|
-
|
|
557
|
-
| Option | Default | Description |
|
|
558
|
-
|---|---|---|
|
|
559
|
-
| `-o, --offset <n>` | `0` | HD path offset for client connection |
|
|
560
|
-
|
|
561
|
-
### Networks
|
|
562
|
-
|
|
563
|
-
```sh
|
|
564
|
-
aries wallet network list # List configured networks
|
|
565
|
-
aries wallet network add <id> <rpcUrl> # Add a custom network
|
|
566
|
-
aries wallet network use <id> # Set the active network
|
|
567
|
-
aries wallet network remove <id> # Remove a custom network
|
|
568
|
-
```
|
|
569
|
-
|
|
570
|
-
#### `aries wallet network add <id> <rpcUrl>`
|
|
571
|
-
| Positional | | Description |
|
|
572
|
-
|---|---|---|
|
|
573
|
-
| `id` | required | Network id (unique) |
|
|
574
|
-
| `rpcUrl` | required | Gateway RPC URL |
|
|
575
|
-
|
|
576
|
-
| Option | Default | Description |
|
|
577
|
-
|---|---|---|
|
|
578
|
-
| `-l, --label <text>` | | Friendly label |
|
|
579
|
-
| `--chain-id <hex>` | | Chain id (hex) |
|
|
580
|
-
|
|
581
|
-
`use` and `remove` take a network `id` positional only.
|
|
582
|
-
|
|
583
|
-
### Contacts
|
|
584
|
-
|
|
585
|
-
```sh
|
|
586
|
-
aries wallet contact list # List address-book contacts
|
|
587
|
-
aries wallet contact add <address> <label> # Add or update a contact
|
|
588
|
-
aries wallet contact rename <address> <label> # Rename an existing contact
|
|
589
|
-
aries wallet contact remove <address> # Remove a contact
|
|
590
|
-
```
|
|
591
|
-
|
|
592
|
-
All take an `address` positional (`0x…`); `add`/`rename` also take a `label` positional. No additional flags.
|
|
593
|
-
|
|
594
|
-
### Backup
|
|
595
|
-
|
|
596
|
-
```sh
|
|
597
|
-
aries wallet backup export <file> # Export address books and contacts to a JSON file
|
|
598
|
-
aries wallet backup import <file> # Import a wallet backup JSON file (merges into current state)
|
|
599
|
-
```
|
|
600
|
-
|
|
601
|
-
`file` is the only positional; no additional flags.
|
|
602
|
-
|
|
603
|
-
---
|
|
604
|
-
|
|
605
|
-
## `aries witness` — Observe data and produce XYO-compliant payloads
|
|
606
|
-
|
|
607
|
-
```sh
|
|
608
|
-
aries witness timestamp # Capture the current timestamp
|
|
609
|
-
aries witness system-info # Capture system information (OS, CPU, memory, etc.)
|
|
610
|
-
aries witness url # Capture metadata and content from a URL
|
|
611
|
-
aries witness app # Inspect installed applications
|
|
612
|
-
aries witness app list # List installed macOS applications
|
|
613
|
-
```
|
|
614
|
-
|
|
615
|
-
### Common witness flags
|
|
616
|
-
|
|
617
|
-
These flags are available on every `witness` leaf:
|
|
618
|
-
|
|
619
|
-
| Option | Default | Description |
|
|
620
|
-
|---|---|---|
|
|
621
|
-
| `--json` | `false` | Output raw JSON |
|
|
622
|
-
| `-o, --output <path>` | | Write output to file |
|
|
623
|
-
| `--pretty` | `true` | Pretty-print JSON output |
|
|
624
|
-
| `--bound-witness` | `false` | Wrap payloads in a BoundWitness |
|
|
625
|
-
| `--binary-dir <path>` | `~/.aries/binaries/` | Directory for binary artifacts |
|
|
626
|
-
|
|
627
|
-
### Per-command additions
|
|
628
|
-
|
|
629
|
-
#### `aries witness url`
|
|
630
|
-
| Option | Default | Description |
|
|
631
|
-
|---|---|---|
|
|
632
|
-
| `--url <url>` | required | The URL to fetch |
|
|
633
|
-
|
|
634
|
-
#### `aries witness app list`
|
|
635
|
-
| Option | Default | Description |
|
|
636
|
-
|---|---|---|
|
|
637
|
-
| `--scope <all\|global\|system\|user>` | `all` | Filter by install scope |
|
|
638
|
-
|
|
639
|
-
`witness timestamp` and `witness system-info` take only the common flags.
|
|
640
|
-
|
|
641
|
-
---
|
|
642
|
-
|
|
643
|
-
## `aries xyo` — XYO protocol utilities
|
|
644
|
-
|
|
645
|
-
### `aries xyo tx validate [data]`
|
|
646
|
-
|
|
647
|
-
Validate one or more XL1 transactions. Reads from a file path, inline JSON, or stdin.
|
|
648
|
-
|
|
649
|
-
| Positional | | Description |
|
|
650
|
-
|---|---|---|
|
|
651
|
-
| `data` | | Path to a `.json`/`.jsonl` file, or an inline transaction JSON tuple `[bw, payloads[]]`. Omit to read from stdin. |
|
|
652
|
-
|
|
653
|
-
| Option | Default | Description |
|
|
654
|
-
|---|---|---|
|
|
655
|
-
| `-d, --detail` | `false` | Print per-transaction error details (always shown for invalid transactions) |
|
|
656
|
-
|
|
657
|
-
**Input modes** (resolved in priority order):
|
|
658
|
-
|
|
659
|
-
| Mode | Example |
|
|
660
|
-
|---|---|
|
|
661
|
-
| File path | `aries xyo tx validate ./tx.json` |
|
|
662
|
-
| File path (JSONL batch) | `aries xyo tx validate ./txs.jsonl` |
|
|
663
|
-
| Inline JSON | `aries xyo tx validate '[[...], [...]]'` |
|
|
664
|
-
| Piped stdin | `cat txs.jsonl \| aries xyo tx validate` |
|
|
665
|
-
|
|
666
|
-
**Supported file formats:**
|
|
667
|
-
- `.json` — a single transaction tuple `[boundWitness, payloads[]]`, or a JSON array of tuples
|
|
668
|
-
- `.jsonl` / `.ndjson` — one transaction tuple per line
|
|
669
|
-
|
|
670
|
-
**Output:**
|
|
671
|
-
|
|
672
|
-
```text
|
|
673
|
-
Total: 3
|
|
674
|
-
Valid: 2
|
|
675
|
-
Invalid: 1
|
|
676
|
-
|
|
677
|
-
[2] ./txs.jsonl:3
|
|
678
|
-
- TransactionGasValidator: insufficient gas
|
|
679
|
-
```
|
|
680
|
-
|
|
681
|
-
**Exit codes:** `0` = all valid, `1` = any invalid or parse error.
|
|
682
|
-
|
|
683
|
-
---
|
|
684
|
-
|
|
685
|
-
## Configuration
|
|
3
|
+
# @xylabs/aries
|
|
686
4
|
|
|
687
|
-
|
|
5
|
+
Deprecated compatibility shim for `@ariestools/cli`. Install `@ariestools/cli` instead.
|
|
688
6
|
|
|
689
|
-
|
|
7
|
+
## Credits
|
|
690
8
|
|
|
691
|
-
|
|
9
|
+
[Made with 🔥 and ❄️ by XY Labs](https://xylabs.com)
|
|
692
10
|
|
|
693
|
-
|
|
11
|
+
[logo]: https://cdn.xy.company/img/brand/XYPersistentCompany_Logo_Icon_Colored.svg
|