Skip to content

v0.13.0

Latest

Choose a tag to compare

@AndreasGassmann AndreasGassmann released this 01 Dec 16:52
v0.13.0
5a4fe1c

v0.13.0

Breaking

  • Node.js 22.13 or later is required.
  • The -ee short flag is removed. Use --exit-early.
  • Every failure now exits with code 1 and prints its error on stderr. Before, most handled errors exited with 0. Scripts that relied on exit code 0 after an error need to be updated.

Added

  • Scripts and AI agents: the CLI can run without prompts.
    • acurast init --non-interactive with a flag for every prompt (--name, --network, --signing, --duration, --interval / --executions, --file).
    • acurast new --template <name>.
    • -o json on deployments ls, deployments <id>, balance and status. On failure, JSON mode also prints {"error": "..."} on stdout.
    • Agent section in --help and the README, and a skill: npx skills add Acurast/acurast-cli.
  • acurast balance: free and spendable balance of the signing account.
  • acurast status <id>: state, processors that acknowledged, executions reported, schedule phase and locked budget, read from chain. Works without the local deployment file.
  • Browser-wallet signing (acurast login) for cancel, deployments --cleanup, deployments --update-env-vars and deployments update script|editor. Every transaction other than a deploy prints You are signing: ... before the wallet prompt.

Changed

  • deploy and deploy --dry-run stop before signing when the maximum lock exceeds the spendable balance, and name the market's suggested price.
  • whoami prints Signs as: <address>, also when a local mnemonic signs.
  • cancel accepts --network devnet.
  • Clearer config errors: one line per field.
  • The update notice goes to stderr.
  • Smaller install: removed unused and heavy dependencies (figlet, inquirer v9, bip39 and others) and upgraded commander, listr2 and @inquirer/prompts.

Fixed

  • Env var encryption: @acurast/sdk 1.6.1 keeps the leading zero byte of the ECDH shared secret. For about 1 in 256 deployment/processor pairs, env values could not be decrypted by the processor and every execution failed with BAD_DECRYPT. Env values already set for an affected processor must be set again with this version.
  • deployments ls failed because the default indexer hosts no longer resolved. They now point to indexer.canary / indexer.mainnet.
  • deployments update script sends the full ipfs:// URL and deployments update editor encodes the new editor correctly. Both were rejected by the chain.
  • A rejected or failed registration printed an unhandled-rejection stack trace. It now prints Deployment failed: <reason> and exits 1.
  • status showed [object Object] as the state before a deployment was matched.
  • init: --executions without --interval, and --duration together with --interval, are errors instead of being silently changed.
  • new: a failed package.json rename, git init or npm install is a warning, not a failure.