Stranger path for TrustShell main (1.4.0 unpublished).
Until Sean publishes, this repo depends on github:DealAppSeo/trustshell, not @hyperdag/trustshell@1.4.0 (that tag 404s; npm latest is 1.3.0).
git clone https://github.com/DealAppSeo/example-agent
cd example-agent
npm install
# 1. HAL PASS
npx trustshell verify "The capital of France is Paris."
# 2. HAL VETO
npx trustshell verify "The Eiffel Tower is located in Rome, Italy."
# 3. RepID
npx trustshell repid trinity-shofet
# 4. range proof, client-side verify
npx trustshell proof trinity-shofet --verifyThat is the whole demo. No API key. After F-PUBLISH, this package.json flips to @hyperdag/trustshell@1.4.0 — not before.
npm start
# POST /agent/query {"query":"The Eiffel Tower is in Paris"}The server calls TrustShell.verifyOutput (keyless). A VETO refuses the claim.
npm testApache-2.0. Built on HyperDAG Protocol.