@justhandledlabs/agent-client
Advanced tools
| { | ||
| "observed_at": "2026-08-16T00:00:00Z", | ||
| "experiment": {"id":"directory-proof-v1","channel":"agent-directory","hypothesis":"A concrete evidence packet will produce at least two attributable checkout openings in 14 days.","objective":"qualified-demand","started_at":"2026-08-01T00:00:00Z","ended_at":"2026-08-15T00:00:00Z","declared_before_start":true,"gate":{"metric":"checkout-open","threshold":2,"window_days":14},"variables":{"channel":"agent-directory","offer":"$19 evidence skill","artifact":"proof-led listing","audience":"AI agent builders","timing":"14-day launch window"},"changed_variables":["artifact"],"max_cost_usd":0,"max_effort_hours":5,"cooldown_days":7}, | ||
| "events": [{"id":"open-1","type":"checkout-open","occurred_at":"2026-08-05T12:00:00Z","evidence_ref":"checkout:open:1","external_actor":true,"owner_controlled":false,"attribution":"verified"},{"id":"open-2","type":"checkout-open","occurred_at":"2026-08-09T12:00:00Z","evidence_ref":"checkout:open:2","external_actor":true,"owner_controlled":false,"attribution":"direct"}], | ||
| "cost_usd": 0, | ||
| "effort_hours": 3, | ||
| "attribution_complete": true, | ||
| "owner_activity_excluded": true | ||
| } |
| { | ||
| "observed_at": "2026-08-01T23:30:00Z", | ||
| "max_evidence_age_days": 30, | ||
| "product": {"id":"example-agent","name":"Example Agent","version":"1.0.0","canonical_url":"https://example.com/agent","offer_url":"https://example.com/agent/try","price_usd":19}, | ||
| "channel": {"name":"Example Agent Directory","kind":"agent-directory","rules_captured_at":"2026-08-01T22:00:00Z","rules_source_url":"https://example.com/directory/rules","rule_status":"verified","link_policy":"allowed","pricing_disclosure_required":true,"demo_required":true,"screenshots_required":1,"identity_fields":[]}, | ||
| "claims": [{"id":"deterministic","text":"Produces a deterministic evidence report from normalized input.","evidence_ids":["docs","demo"],"required_for_submission":true,"personal_experience":false}], | ||
| "evidence": [{"id":"docs","type":"documentation","source_url":"https://example.com/agent/docs","captured_at":"2026-08-01T22:30:00Z","observed":true,"supports_claim_ids":["deterministic"]},{"id":"demo","type":"demo","source_url":"https://example.com/agent/demo","captured_at":"2026-08-01T22:35:00Z","observed":true,"supports_claim_ids":["deterministic"]},{"id":"shot","type":"screenshot","source_url":"https://example.com/agent/screenshot","captured_at":"2026-08-01T22:40:00Z","observed":true,"supports_claim_ids":[]}], | ||
| "artifacts": {"demo_url":"https://example.com/agent/demo","install_path":"Run npx example-agent with the supplied JSON file.","screenshots":[{"id":"hero","evidence_id":"shot"}],"pricing_disclosure":"$19 one-time download.","link_target":"https://example.com/agent/try?source=directory","attribution_mechanism":"Preserve the source token through checkout-open and settlement receipts."}, | ||
| "human_authored_fields": {} | ||
| } |
+2
-0
@@ -18,2 +18,4 @@ export const GATEWAY_ORIGIN = "https://justhandled-agent-gateway.netlify.app"; | ||
| "channel-fit-evidence-matrix", | ||
| "proof-to-channel-evidence-packet", | ||
| "channel-experiment-postmortem", | ||
| ]); | ||
@@ -20,0 +22,0 @@ export function expectedPriceForUtility(utility) { |
+1
-1
@@ -6,3 +6,3 @@ #!/usr/bin/env node | ||
| import { getCatalog, runPaidUtility } from "./client.js"; | ||
| const server = new Server({ name: "justhandled-agent-gateway", version: "0.8.0" }, { capabilities: { tools: {} } }); | ||
| const server = new Server({ name: "justhandled-agent-gateway", version: "0.9.0" }, { capabilities: { tools: {} } }); | ||
| server.setRequestHandler(ListToolsRequestSchema, async () => { | ||
@@ -9,0 +9,0 @@ const catalog = await getCatalog(); |
+1
-1
| { | ||
| "name": "@justhandledlabs/agent-client", | ||
| "version": "0.8.0", | ||
| "version": "0.9.0", | ||
| "description": "Guarded CLI and MCP client for JustHandled's x402 utility gateway", | ||
@@ -5,0 +5,0 @@ "type": "module", |
+3
-1
| # JustHandled Agent Client | ||
| A guarded CLI, JavaScript client, and local MCP server for the [JustHandled Agent Utility Gateway](https://justhandledlabs.com/agent-gateway/). The package exposes twenty-nine deterministic preflights, maintained-data lookups, and evidence products. Twenty-two products cost $0.05 USDC; seven evidence-heavy products cost $0.25, including Agent Distribution Readiness, Community Rule & Credibility Preflight, Qualified Demand Ledger, and Channel-Fit Evidence Matrix. Every paid call returns a versioned evidence receipt. | ||
| A guarded CLI, JavaScript client, and local MCP server for the [JustHandled Agent Utility Gateway](https://justhandledlabs.com/agent-gateway/). The package exposes thirty-one deterministic preflights, maintained-data lookups, and evidence products. Twenty-two products cost $0.05 USDC; nine evidence-heavy products cost $0.25, including Channel-Fit Evidence Matrix, Proof-to-Channel Evidence Packet, and Channel Experiment Postmortem. Every paid call returns a versioned evidence receipt. | ||
@@ -17,2 +17,4 @@ The client fails closed before signing. It accepts only the pinned JustHandled gateway, Base mainnet, canonical Base USDC, the exact per-product price, and the published merchant receiver. Customer inputs are not persisted by the gateway. | ||
| npx --package @justhandledlabs/agent-client justhandled-agent preview channel-fit-evidence-matrix --file channel-fit-evidence-matrix.sample.json | ||
| npx --package @justhandledlabs/agent-client justhandled-agent preview proof-to-channel-evidence-packet --file proof-to-channel-evidence-packet.sample.json | ||
| npx --package @justhandledlabs/agent-client justhandled-agent preview channel-experiment-postmortem --file channel-experiment-postmortem.sample.json | ||
| ``` | ||
@@ -19,0 +21,0 @@ |
+3
-3
@@ -5,4 +5,4 @@ { | ||
| "title": "JustHandled Agent Utility Gateway", | ||
| "description": "Twenty-nine guarded pay-per-call preflights and evidence products over USDC x402.", | ||
| "version": "0.8.0", | ||
| "description": "Thirty-one guarded pay-per-call preflights and evidence products over USDC x402.", | ||
| "version": "0.9.0", | ||
| "repository": { | ||
@@ -16,3 +16,3 @@ "url": "https://github.com/justhandledlabs/justhandled-agent-client", | ||
| "identifier": "@justhandledlabs/agent-client", | ||
| "version": "0.8.0", | ||
| "version": "0.9.0", | ||
| "transport": { | ||
@@ -19,0 +19,0 @@ "type": "stdio" |
34529
10.31%25
8.7%609
4.82%81
2.53%