ONE handover:update
← Receivers

handover:update

handover family

mcp

Withdraw my open hand-over offers for an agent (state: withdrawn): each offer closes, and its invite and short link are deleted in the same batch so the link is dead at once. A reserved offer (a press in flight) is refused, never yanked. Or record a seat hand-over as taken (state: taken): the person it was released to, signed in with their key, names the take block(s); each is read from the chain and only a take it shows is recorded

Effect
ask
Awaits an outcome — the call returns the response below.
Caller
owner
The class of authority the caller must already hold, decided from the attested context with no round trip.
Cost
free
What one call costs, so you can budget before acting.
Reversible
no
This cannot be undone. Dry-run it first where the contract allows.
Idempotent
yes
Safe to retry as-is.

Send it with your agent

One click hands your coding agent a prompt that registers the substrate, reads this contract, and makes the call. Launch opens the app; the others copy the prompt.

Claude Code
Codex
Cursor
Gemini CLI
Claude Desktop
ChatGPT
curl -X POST https://one.ie/api/ask/handover:update \
  -H "Authorization: Bearer $ONE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": { "agent": "scout", "state": "withdrawn" }}'

The key is never in a link. npx -y @oneie/cli login writes it to ~/.config/oneie/key on your machine.

Request

Validated before dispatch — an invalid payload is refused with the fix, never half-applied.

  • agent string required The agent's actor id whose open offers are taken back, or whose seat hand-over was taken
  • state withdrawn | taken required withdrawn: the offerer takes its open offers back. taken: the hand-over account records its take
  • nonce string optional taken: the hand-over's offer nonce (the link's h=)
  • digests string[] optional taken: the take block digest(s), one per group (ONE sponsors one seat a block)

Response

What comes back from the call.

  • ok boolean
  • agent string
  • withdrawn string The nonces closed, comma-joined
  • count number
  • chain not_published | cli_signs not_published: nothing to withdraw on chain. cli_signs: the CLI sends withdraw_seat with the agent's own key
  • nonce string
  • taken boolean
  • by string taken: the address that took
  • digests string[]
  • groups number
  • closed mark | warn | dissolve
  • error string agent_required | state_required | no_db | not_offerer | no_offer | offer_reserved · taken: nonce_required | digests_required | session_required | key_sign_in_required | not_released_to_you | already_taken | not_published | chain_unreadable | take_not_found | take_failed_on_chain | take_senders_differ | seat_not_taken | owner_not_taken

Traffic

Every call to handover:update, counted where it is dispatched — over HTTP or in-process alike. Aggregate only — no actor, no payload, no workspace.

Counting…

Wiring

Every place in the open source that names handover:update, and the file that answers it. Read from the tree at build time — a receiver is reached by NAME through one door, so there is no import edge to follow and a grep is the honest shape of the question. Structure, not volume — the count is in Traffic above.

Called from

API route 2
  • one.ie/web/src/lib/receiver-index.generated.ts:211
  • one.ie/web/src/lib/vault/seat-accept.ts:72
CLI 1
  • packages/cli/src/seat.ts:355
→

Answered by

handover:update one.ie/web/src/lib/resolvers/handover-walk.ts:144 Dispatched through POST /api/ask/handover:update, after the envelope validates the payload.

handover family · 3 more

JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "agent": {
      "type": "string",
      "description": "The agent's actor id whose open offers are taken back, or whose seat hand-over was taken"
    },
    "state": {
      "type": "string",
      "enum": [
        "withdrawn",
        "taken"
      ],
      "description": "withdrawn: the offerer takes its open offers back. taken: the hand-over account records its take"
    },
    "nonce": {
      "description": "taken: the hand-over's offer nonce (the link's h=)",
      "type": "string"
    },
    "digests": {
      "description": "taken: the take block digest(s), one per group (ONE sponsors one seat a block)",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "agent",
    "state"
  ]
}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "agent": {
      "type": "string"
    },
    "withdrawn": {
      "description": "The nonces closed, comma-joined",
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "chain": {
      "description": "not_published: nothing to withdraw on chain. cli_signs: the CLI sends withdraw_seat with the agent's own key",
      "type": "string",
      "enum": [
        "not_published",
        "cli_signs"
      ]
    },
    "nonce": {
      "type": "string"
    },
    "taken": {
      "type": "boolean"
    },
    "by": {
      "description": "taken: the address that took",
      "type": "string"
    },
    "digests": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "groups": {
      "type": "number"
    },
    "closed": {
      "type": "string",
      "enum": [
        "mark",
        "warn",
        "dissolve"
      ]
    },
    "error": {
      "description": "agent_required | state_required | no_db | not_offerer | no_offer | offer_reserved · taken: nonce_required | digests_required | session_required | key_sign_in_required | not_released_to_you | already_taken | not_published | chain_unreadable | take_not_found | take_failed_on_chain | take_senders_differ | seat_not_taken | owner_not_taken",
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}