@fiji-so/cli
v0.1.4
Published
Fiji command-line client for AAuth-signed agent workflows.
Readme
@fiji-so/cli
Command-line client for Fiji dispatched agents. The published package is public
on npm and can be run directly with npx.
Usage with npx
npx @fiji-so/cli agent send-message "Done with the task"If you install it globally, the binary is also available as fiji:
npm install -g @fiji-so/cli
fiji agent send-message "Done with the task"AAuth sign + send
fiji agent send-message "Done with the task" --thread <threadId>Credentials resolve from the canonical dispatch environment variables, with flags taking precedence:
FIJI_AAUTH_AGENT_TOKEN/--agent-tokenFIJI_AAUTH_PRIVATE_JWK/--private-jwkFIJI_AAUTH_SESSION_IDFIJI_API_BASE_URL/--api-urlFIJI_THREAD_ID/--thread
FIJI_AAUTH_SESSION_ID is read for session context but is not sent on the
wire.
Example:
FIJI_AAUTH_AGENT_TOKEN="$FIJI_AAUTH_AGENT_TOKEN" \
FIJI_AAUTH_PRIVATE_JWK="$FIJI_AAUTH_PRIVATE_JWK" \
FIJI_AAUTH_SESSION_ID="$FIJI_AAUTH_SESSION_ID" \
FIJI_API_BASE_URL="https://api.fiji.so" \
FIJI_THREAD_ID="thread_..." \
npx @fiji-so/cli agent send-message "Smoke test from the Fiji CLI"The signer uses label sig. Bodyless requests cover @method, @target-uri,
@authority, @path, and signature-key; body requests also cover
content-digest.
Commands
fiji agent send-message [text] [--content text]fiji agent list-messagesfiji agent thread-metadatafiji agent search --workspace <workspaceId> --query <text>
Pass --json for structured output.
