CLI
Run the repository CLI with a scoped key and the current tool catalog.
The Influence CLI is currently a private repository application. From an installed repository checkout, run it with Bun. There is no public npm installation command for this package.
Set PUBLISH_API_URL to the trusted Influence origin and provide PUBLISH_API_TOKEN through your secret environment. Start with the connection profile and tool catalog:
export PUBLISH_API_URL="https://influence.so"
bun apps/agent-cli/src/index.ts profile
bun apps/agent-cli/src/index.ts tools:list
bun apps/agent-cli/src/index.ts tool:call --tool accountList --input-json '{}'
For JSON input, choose --input-json or --input-file. Call read-only tools with tool:call --tool <name>. Writes use tool:prepare, then tool:confirm with identical input, --confirmation-capability and --idempotency-key. Keep these values after an uncertain response; do not create a new preparation just to retry.
Use media:upload --file <path> --content-type <mime> --client-key <stable-key> for local media. Retry the same file and key after interruption. The CLI cannot inspect an image or provide human visual approval; open the returned review path in signed-in Influence. Follow the HTTP API review and recovery rules.