{"at":"2026-11-23T04:54:08.071Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T04:54:08.520Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T04:54:08.621Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T04:54:09.004Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"datasieve","version":"0.4.0"}}}}
{"at":"2026-11-23T04:54:09.004Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T04:54:09.004Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T04:54:09.008Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Buy a standing watch from DataSieve (https://api.datasieve.xyz). standard = $0.10/7d, 1 condition, 50 triggers; composite = $0.25/7d, up to 5 any-match conditions (e.g. 5 heartbeat dead-man switches), 200 triggers; standard30 = $0.35/30d and composite30 = $0.85/30d — one payment covers the month, for agents that will not be awake to renew weekly. Payment is a gasless USDC transfer signed locally. Events go to your webhookUrl (HMAC-signed) if set, and always to a server-side mailbox drained with drain_events; every event carries a signed Ed25519 observation receipt you can replay to third parties. Failed calls are never billed. The watch id + secret are remembered locally so later calls need only the id.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"conditions":{"items":{"additionalProperties":true,"description":"One condition. Shapes: {type:\"wallet-activity\",address,direction?,minEth?} | {type:\"token-transfers\",token,minAmount} | {type:\"price-cross\",pool,direction,threshold} | {type:\"new-pairs\",minQuoteLiquidity?} | {type:\"heartbeat\",intervalSeconds,graceSeconds?,label?} | {type:\"schedule\",everySeconds|at|cron,tz?,payload?,label?} | {type:\"url-change\",url,selector?,regex?,pollSeconds?,label?} (heartbeat = dead-man switch: silence fires the alert. schedule = cron for agents: fire a webhook/mailbox event every N seconds, at a time, or on a cron expression. url-change = watch a public web page: fires when content scoped by CSS selector/regex actually changes, poll floor 300s)","properties":{"type":{"enum":["wallet-activity","token-transfers","price-cross","new-pairs","heartbeat","schedule","url-change"],"type":"string"}},"required":["type"],"type":"object"},"maxItems":5,"minItems":1,"type":"array"},"tier":{"default":"standard","enum":["standard","composite","standard30","composite30"],"type":"string"},"webhookUrl":{"format":"uri","type":"string"}},"required":["conditions"],"type":"object"},"name":"create_watch","title":"Create a watch (paid via x402)"},{"description":"State, heartbeat lastCheckedAt, triggersUsed/cap, expiry, delivery stats, and for dead-man switches: up/down, lastPingAt, nextDeadline, pingUrl. Secret is looked up from local state if omitted.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"secret":{"type":"string"},"watchId":{"type":"string"}},"required":["watchId"],"type":"object"},"name":"watch_status","title":"Watch status (free)"},{"description":"Collect everything the watch caught — works with zero infrastructure (the mailbox pattern). Pass `since` = last seen event id for incremental drains.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"secret":{"type":"string"},"since":{"type":"string"},"watchId":{"type":"string"}},"required":["watchId"],"type":"object"},"name":"drain_events","title":"Drain held events (free)"},{"description":"Extends the watch one more period (7 days, or 30 on the *30 tiers) at its tier price and resets the trigger budget. Renewing a paused watch also reactivates it.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"tier":{"enum":["standard","composite","standard30","composite30"],"type":"string"},"watchId":{"type":"string"}},"required":["watchId"],"type":"object"},"name":"renew_watch","title":"Renew a watch (paid via x402)"},{"execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"secret":{"type":"string"},"watchId":{"type":"string"}},"required":["watchId"],"type":"object"},"name":"delete_watch","title":"Cancel a watch (free, no refund)"},{"description":"Stop a watch firing (chain, web, heartbeat, schedule) without deleting it. The expiry clock keeps running. Use before a planned agent shutdown so your dead-man switch does not cry wolf.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"secret":{"type":"string"},"watchId":{"type":"string"}},"required":["watchId"],"type":"object"},"name":"pause_watch","title":"Pause a watch (free)"},{"description":"Backlog-free resume: heartbeat deadlines restart from now and schedules jump to their next FUTURE slot — nothing that elapsed during the pause replays.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"secret":{"type":"string"},"watchId":{"type":"string"}},"required":["watchId"],"type":"object"},"name":"resume_watch","title":"Resume a paused watch (free)"},{"description":"Next N run times for a cron expression in any IANA timezone, plus seconds-until-next. If the goal is for something to HAPPEN at those times, create_watch with a schedule condition instead — DataSieve fires the cron as signed webhooks for the life of the watch.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"count":{"default":5,"maximum":20,"minimum":1,"type":"integer"},"cron":{"description":"5- or 6-field cron expression, e.g. \"0 9 * * 1-5\"","type":"string"},"tz":{"default":"UTC","type":"string"}},"required":["cron"],"type":"object"},"name":"cron_next","title":"Parse a cron expression (paid via x402, $0.001)"},{"description":"The cheapest possible real x402 purchase: proves this wallet + client can pay a production seller before you point it at anything expensive. Returns payer + network; failed calls are never billed.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"x402_ping","title":"Test the payment stack end-to-end (paid via x402, $0.001)"},{"description":"Every DataSieve event carries receipt {alg, keyId, statement, sig} — an Ed25519 attestation that DataSieve observed the event. This checks it against the service key, so an agent can validate evidence handed to it by ANOTHER agent without trusting that agent.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"receipt":{"additionalProperties":true,"description":"the receipt object from an event","properties":{},"type":"object"}},"required":["receipt"],"type":"object"},"name":"verify_receipt","title":"Verify a signed observation receipt (free)"},{"description":"Keep a dead-man switch alive. Pass the pingUrl from create_watch (or a watchId whose ping URLs are in local state). Call this at least once per intervalSeconds.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"pingUrl":{"type":"string"},"watchId":{"type":"string"}},"type":"object"},"name":"ping_heartbeat","title":"Heartbeat check-in (free)"},{"description":"Scanner cursor lag vs chain head — verify the watcher is alive before you buy.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"service_health","title":"DataSieve service heartbeat (free, public)"},{"description":"Check whether a buying key is configured and whether it can afford a watch. Reports the wallet address, its USDC balance on the configured network, and what each tier costs. Call this before create_watch; it never spends anything.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"payment_status","title":"Can I buy? (free) — wallet, balance, prices"},{"description":"Buy a coordination workspace ($0.25 / 7 days, 1000 ops) — the only x402 seller of multi-agent primitives. After this ONE payment, every barrier and lock operation is FREE and FAST (no per-op settlement). Use it to fan-in sub-agents (coord_barrier) and to stop two agents doing the same irreversible thing (coord_lock).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"webhookUrl":{"description":"default webhook for coordination events","format":"uri","type":"string"}},"type":"object"},"name":"coord_workspace","title":"Buy a coordination workspace (paid via x402)"},{"description":"BARRIER: \"wake me when all N of my sub-agents finish.\" Returns an arriveUrl — hand it to each sub-agent (it is a capability: they can arrive but cannot read or delete your workspace). When the N-th part arrives we fire ONE webhook carrying every part's collected context. If the TTL passes first you get a \"partial\" event naming exactly who never showed. Timeout is a feature, not an error.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"label":{"type":"string"},"parts":{"description":"how many sub-agents must arrive","maximum":100,"minimum":2,"type":"integer"},"secret":{"type":"string"},"ttlSeconds":{"default":3600,"maximum":86400,"minimum":10,"type":"integer"},"webhookUrl":{"format":"uri","type":"string"},"workspaceId":{"type":"string"}},"required":["workspaceId","parts"],"type":"object"},"name":"coord_barrier","title":"Create a barrier / fan-in (free — workspace op)"},{"description":"Report that this part is done. Pass the arriveUrl from coord_barrier plus a part name and optional ctx (whatever you want handed to whoever consumes the released barrier). Idempotent per part: a retrying agent cannot inflate the count.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"arriveUrl":{"format":"uri","type":"string"},"ctx":{"description":"this part's result, collected into the release event"},"part":{"description":"unique name for this part, e.g. \"scout\"","type":"string"}},"required":["arriveUrl","part"],"type":"object"},"name":"coord_arrive","title":"Arrive at a barrier (free, no auth — the URL is the capability)"},{"description":"LOCK: \"only one agent does this irreversible thing.\" Returns a leaseId, or 409 with who holds it. The lease AUTO-EXPIRES after ttlSeconds, so a crashed agent can never deadlock your fleet. Call coord_release when done (or just let it expire).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"holder":{"description":"who you are — echoed in 409s so debugging works","type":"string"},"key":{"description":"what you are locking, e.g. \"deploy\" or \"wallet:0xabc\"","type":"string"},"secret":{"type":"string"},"ttlSeconds":{"default":300,"maximum":86400,"minimum":10,"type":"integer"},"workspaceId":{"type":"string"}},"required":["workspaceId","key"],"type":"object"},"name":"coord_lock","title":"Acquire a lock / lease (free — workspace op)"},{"execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"key":{"type":"string"},"leaseId":{"type":"string"},"secret":{"type":"string"},"workspaceId":{"type":"string"}},"required":["workspaceId","key","leaseId"],"type":"object"},"name":"coord_release","title":"Release a lock (free — workspace op)"},{"description":"Collect barrier releases/partials that happened while nothing of yours was running.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"secret":{"type":"string"},"since":{"type":"string"},"workspaceId":{"type":"string"}},"required":["workspaceId"],"type":"object"},"name":"coord_events","title":"Drain coordination events (free) — the mailbox for agents with no server"}]}}}
