NeedHer CLI reference

Two authenticated archive commands.

needher-archive exposes exactly import and export. Both call the same authenticated archive API as the web controls.

Install from the repository

The private source package is not published to the npm registry. npm installs its declared bin directly from the canonical GitHub repository.

npm install --global github:wisent-ai/needher-ai-web

In a checkout, run npm install and replace needher-archive with npm run archive --.

Commands

needher-archive import <archive.json> < bearer

Validate and transactionally import one companion-archive v1 JSON file into the signed-in account.

Read the import contract

needher-archive export <archive.json> < bearer

Export the signed-in account’s retained companion archive to a new owner-only JSON file.

Read the export contract

Authentication and GUI

Pipe the signed-in account bearer on standard input, never argv or the environment. For first-run and reusable web/desktop controls, accepted archive data, duplicate handling, and transaction behavior, use the existing companion archive guide.