Part of the Intent JSON-RPC protocol docs — §5.17
client.hellohandshake & stable client identity · §5.46 Connection principal —principal.me.
Routing-only workspaceId? additions below are prepared contract fields, optional on direct daemons and required for future forwarded workspace calls; existing scope and results are unchanged.
Startup readiness (prepared). Exact integer
server.capabilities.startupStatus: 1 advertises the full
startup contract. During bootstrap, hello returns
structured -32012 instead of persisting identity or returning a partial success.
Recognize this before legacy hello-error fallback; poll the restricted status
method, then reconnect and complete ordinary hello before application hydration.
Shared-host extension (10.9). §5.49 adds server
capability flags hostMembership: 1, collaborationIdentity: 1,
personalPairing: 1, authenticatedDevices: 1. Each means full support for its
contract, not caller authority. The legacy examples below remain valid for older
daemons. On each connection, read principal.me before activating member controls;
never infer the role from this client's capabilities or its saved registry category.
Scoped workspace membership invalidations (additive, docs first).
server.capabilities.workspaceMembershipEvents: 1 guarantees the committed,
workspace-scoped workspace:updated changes.members: true invalidations in
§6, including offline
host promotions with unchanged roster/count and delivery to remaining authorized
guests. The server advertises support independently of locality, caller authority,
or client-supplied capabilities; it grants no additional access. Only exact integer
1 enables removal of presence-to-membership refreshes. Missing, malformed or
unknown versions retain the legacy presence-driven membership refresh; never infer
support from daemon version, hostMembership, or seeing one membership event.
Read this flag per admitted connection/backend and discard it on reconnect until
hello completes. Initial hydration and reconnect/event-gap recovery remain required.
A bundled daemon upgrade does not upgrade older remote hosts. This capability
does not change experimental Multiplayer readiness.
Workspace guest roles. Exact integer
server.capabilities.workspaceGuestRoles: 1, also returned by
system.capabilities, gates the complete Participant/Manager contract.
It is support discovery, not caller authority. Guest Managers retain
canManage: false; clients derive narrowly scoped controls from the current
workspace role. Missing, malformed or unknown capability values hide role
mutation controls. Refresh on each admitted connection; older remote hosts are
not upgraded by installing a newer desktop client.
Guest service preview. Exact integer
server.capabilities.guestServicePreview: 1, also returned by
system.capabilities, gates the guest service preview tunnel
and servedPorts.
It is support discovery, not caller authority. Without exact 1, a guest client
does not send workspaceId on /tunnel.
Submission correlation.
server.capabilities.submissionCorrelation: 1 gates the complete
optimistic submission contract:
optional queue messageId, full submission alias sets across replies/queue/delivery,
per-source recoverySources for combined retries, and trustworthy live-row merge
eligibility with false flags on draining overlays. Enable queue optimism only for exact integer
1; missing, malformed and unknown versions use confirmed queue display.
The numeric protocol version and a partially present field are not support tests.
Remote setup retry. Exact integer server.capabilities.remoteSetupRetry: 1, sent
with remoteMachines: 1, advertises
agent.retrySetup. Clients offer
Retry setup on a remote agent's failed setup only when it is present; a machine
on an older link still refuses with machine-update-required. Missing, malformed or
unknown values show no retry action.
Guided provider auth flow. Exact integer server.capabilities.providerAuthFlow: 1, also
returned by system.capabilities, advertises the
guided provider auth flow contract (§5.62):
providers.authFlow.{start,status,submitCode,deliverCallback,cancel} and
providers:auth-flow-changed. Sent by regular daemons; orchestrator and node daemons omit it.
Clients offer guided in-app Claude Code sign-in only when exact integer 1 is present; missing,
malformed, or unknown values fall back to the terminal drawer and manual token paste.
Local Whisper. Exact integer server.capabilities.localWhisper: 1, sent only by a
regular daemon built with the in-process Whisper engine (macOS, Linux and x86_64
Windows MSVC builds; earlier Windows builds lack it), advertises the
local Whisper contract (§5.41 "Local Whisper"):
the whisper value of voice.provider and the voice.transcribe provider param,
the voice.whisper.model setting and voice.whisperModels.*. Clients offer Local
Whisper only when it is present; node and orchestrator daemons never send it.
Missing, malformed or unknown values hide the option.
Conversation goal. Exact integer server.capabilities.conversationGoal: 1, also
returned by system.capabilities, advertises the complete
conversation goal contract: the goal session field,
agent.setGoal, the interpretCommands send param and goal_command notice rows.
Clients send interpretCommands: true, offer /goal and show the goal strip only when
it is present. Missing, malformed or unknown values keep today's behavior: /goal … is
sent as plain text and no goal UI is shown. It is support discovery, not caller
authority.
Agent steer. Exact integer server.capabilities.agentSteer: 1, also returned by
system.capabilities, advertises the
steering contract: the steerable session
field, priority: "steer" on agent.sendMessage and agent.sendToTask, and
agent.sendQueuedMessageNow { mode: "steer" }. Clients show Steer actions only when it
is present and the agent's steerable is true. Missing, malformed or unknown values
show no Steer action.
Direct agent retirement (10.10). server.capabilities.agentRetire: 1 advertises
support for §5.5 agent.retire, including stopping
a running target and cancelling its wake sources. Clients enable the retirement action
only when this capability is present; older daemons omit it. This is a server support
flag, independent of the model's agentFeatures.peerAgents gate, and does not grant
caller authority: workspace lifecycle permissions still apply.
Resume cost. Exact integer server.capabilities.agentCompact: 1, also returned by
system.capabilities, advertises persisted contextUsage with cacheExpiresAt, the
compactable agent field, agent.compact, auto-compaction, the context_compaction
notice rows and the agents.resumePrompt* / agents.autoCompact* settings. Exact integer
server.capabilities.agentHandOff: 1 advertises agent.handOff and read-only retired
transcript reads on ws.agent.readConversation / ws.agent.getMessageBlock. Clients
show the resume prompt and Compact first only with agentCompact, and Hand off only
with agentHandOff. See Resume cost.
PR workspace lookup. server.capabilities.prWorkspaceLookup: 1
advertises §5.1 workspace.findByPullRequest
and the PR-to-workspace link recording behind it. Clients offer the
"Open in Original Workspace" link action only for exact integer 1; older daemons
omit it. Read it per connection.
The daemon supports a stable, client-supplied identity that survives reconnects; the ephemeral per-connection id used internally for subscription bookkeeping is retained purely for transport bookkeeping and never crosses the wire.
Script lifecycle (10.11 implemented candidate).
server.capabilities.scriptLifecycle: 1 advertises the complete saved/one-off,
archive/restore, list filtering, result persistence and agent-binding contract
in §5.8.
The verified candidate implements this capability; current pins and deployed
clients are not thereby upgraded. Older daemons omit it; clients must not assume
an unknown create option was
honored just because creation succeeded. Gate lifecycle controls/options on this
capability, independently of numeric version.
Worker observations (additive extension).
server.capabilities.agentWorkers: 1 advertises the list/subscription/stop
contract in §5.5b, not process liveness or exit evidence.
Provider-session support is reported independently; older daemons omit this flag.
Service readiness (prepared additive extension).
server.capabilities.scriptReadiness: 1 advertises the complete persisted
health/pattern readiness contract in
§5.8, including
per-process resets, bounded local checks and agent bindings. It is independent
of scriptLifecycle. Without it, clients must not send readiness options or
interpret successful creation/URL detection as proof of readiness. Scripts
without a contract omit ready and readiness even when support is advertised.
Desktop control (additive extension; macOS and Windows clients).
server.capabilities.desktopControl: 1 and the execution connection’s
capabilities.desktopControl: 1 gate §5.51 independently.
Resolve the existing workspace primary before testing this capability; never
choose another computer because the primary lacks support. The flag grants no
permission and does not assert current native readiness. The browser capability
behavior below is unchanged apart from §5.51's active-session browser routing rule.
Secret requests (additive extension). Exactly integer
server.capabilities.secretRequests: 1 advertises §5.56:
secret-request resource blocks and the secret.* router methods. Clients render
secret-request cards and call those methods only when it is present. The flag
grants no permission and says nothing about the agent feature setting.
Agent Plugins (additive extension). Exactly integer
server.capabilities.agentPlugins: 1 advertises §5.57: the
plugin.* router methods and the loading of user-scope plugins into agent
sessions. Clients show plugin management only when it is present. The flag grants
no permission.
Capped message block reads (additive). Exactly integer
server.capabilities.messageBlockPages: 1, also returned by system.capabilities, advertises the
§5.5 capped and paged agent.getMessageBlock contract (offset /
maxBytes, the truncated / field / encoding / totalBytes / nextOffset result fields, a
480,000-byte cap on the served block) and the stored image block references accepted by
agent.editAndRegenerate. Clients page large blocks and regenerate by reference only for exact
integer 1; older daemons omit it and serve every block whole.
Remote agent skills (additive). Exactly integer
server.capabilities.remoteAgentSkills: 1, also returned by system.capabilities,
advertises the §5.34 skills of a remote agent
contract: the agentId param of skill.list with its stale / unavailable result
fields, agentId on skills:changed, and the skill_unavailable system notice. Clients send agentId only for exact integer
1; older daemons omit it, and clients keep the workspace-only call.
Provider session import (additive). Exactly integer
server.capabilities.sessionImport: 1, also returned by system.capabilities, advertises
§5.5 Importing provider sessions:
agent.importableSessions.list and agent.importSession. Clients offer the import option only
for exact integer 1; older daemons omit it and return -32601 for both methods.
Workspace labels (additive). Exactly integer server.capabilities.workspaceLabels: 1,
also returned by system.capabilities, advertises the
§5.1 workspace label contract: the optional
Workspace.label field, the clearable label param on workspace.update and
changes.label on workspace:updated. Unlabeled workspaces omit the field, so clients
cannot detect support by presence; they offer label actions only for exact integer 1,
and older daemons omit it.
Workspace auto-archive opt-out (additive). Exactly integer
server.capabilities.workspaceAutoArchiveOptOut: 1, also returned by system.capabilities,
advertises the §5.1 auto-archive opt-out contract: the
optional Workspace.autoArchiveDisabled field, the autoArchiveDisabled param on
workspace.update and changes.autoArchiveDisabled on workspace:updated. Workspaces that
have not opted out omit the field, so clients cannot detect support by presence; they offer
the opt-out only for exact integer 1, and older daemons omit it.
Script autoStart in place (behaviour change). intentd advertises it from
intent-hq/intentd#3549; the app's gate is intent-hq/cloudlands-fe#4809. Exactly integer
server.capabilities.scriptAutoStartInPlace: 1 says a script.create upsert that changes only
autoStart keeps the script's live run (§5.8). Clients may offer the
auto-start toggle on a running script only for exact integer 1; older daemons omit it and
replace (stop) the run on any upsert.
Script output cursors (additive extension). Exactly integer
server.capabilities.scriptOutputCursor: 1, also returned by system.capabilities, says
script.output accepts cursor: true and script:output events carry runId,
daemonBootId, startOffset and endOffset, so a viewer joins the saved snapshot to the
live stream by position (Script output cursors).
Older daemons omit it, ignore cursor and keep the bare-string reply.
Bounded reads (behaviour change). Exactly integer server.capabilities.boundedReads: 1,
also returned by system.capabilities, says the daemon answers read methods with bounded
defaults: a default page size and a maximum where a method takes a limit, and a 480,000-byte
budget per reply, so every reply stays under the 500 KiB read payload budget. Each method's
section names its defaults, maximums and the marker (truncated, hasMore or nextToken)
it sets when it cuts. The defaults apply to every caller; clients that see the flag page
the rest, and older daemons omit it and keep their unbounded defaults.
Script run monitoring (additive extension).
server.capabilities.scriptMonitors advertises the entire
§5.8a contract: durable run identity, required one-shot
TTL, optional single-line regex/line-count triggers, single-owner registration,
guarded run cancellation and silent lifecycle
cleanup including queued wakes. intentd advertises scriptMonitors: 2, the
protocol-14 active-only replacement; 1 was the protocol-13 contract with
terminal history. Independent of scriptLifecycle/scriptReadiness;
absence means unavailable, not permission to infer support from version numbers.
Remote initial agent (additive). Exact integer
server.capabilities.remoteInitialAgent: 1 means workspace.create accepts
initialAgent.placement under the daemon-to-daemon
placement subset. It is advertised only together with
remoteMachines: 1. A backend with remoteMachines: 1 and no remoteInitialAgent
may ignore the field and start the initial agent locally, so clients offer a remote
initial agent only when this flag is exactly 1. It grants no caller authority.
Cloud machines (additive). Exact integer
server.capabilities.cloudMachines: 1 means the backend implements the
cloud machines: the cloudMachines.* methods,
the placement target: "e2b", the cloud and cloudStart fields and the
cloudMachine:changed event. It is advertised only together with
remoteMachines: 1. Clients offer E2B only when it is exactly 1; it grants no
caller authority.
Named E2B entries (additive). Exact integer
server.capabilities.cloudMachineEntries: 1 means the backend keeps several
named E2B entries: cloudMachines.configure
takes cloudMachineId, name and apiKeyFrom, cloudMachines.remove takes
cloudMachineId, and placement takes target: "e2b" with cloudMachineId.
It is advertised only together with cloudMachines: 1. Clients send these
members, and offer more than one entry, only when it is exactly 1; it grants
no caller authority.
Cloud machine providers (additive). Exact integer
server.capabilities.cloudMachineProviders: 1 means entries can use
Northflank as well as E2B:
cloudMachines.configure takes provider: "northflank" with its
Northflank-only members, cloudMachines.list returns providerKinds, and
placement takes the provider-neutral request target: "cloud" (resolved
placements still say "e2b" for every provider). It is advertised only
together with cloudMachineEntries: 1. Clients offer Northflank, and send
target: "cloud", only when it is exactly 1; they offer each kind in
providerKinds. It grants no caller authority.
Remote scripts (additive). Exact integer server.capabilities.remoteScripts: 1
means a remote agent's ws.script.* calls are forwarded and the scripts it starts run on
its machine, listed in machineRuns on their rows (§5.8).
It is advertised only together with remoteMachines: 1. Clients show remote-script
affordances only when it is exactly 1; it grants no caller authority.
Remote machine models (additive, experimental). Exact integer
server.capabilities.remoteMachineModels: 1 means the backend implements
remoteMachines.models. It is advertised only
together with remoteMachines: 1. Clients and the agent binding
call it only when it is exactly 1; it grants no caller authority.
Remote machine claim (additive). Exact integer
server.capabilities.remoteMachineClaim: 1 means the backend implements
remoteMachines.claim, which adds a machine
from an intent://node link. It is advertised only together with
remoteMachines: 1. Clients accept intent://node links only when it is exactly
1; it grants no caller authority.
Workspace homes (additive, docs first). Exact integer
server.capabilities.workspaceHomes: 1 means the backend keeps each workspace's
files, terminals and scripts on the workspace's
home: Workspace.home, workspace.setHome and the
home-unavailable error. Only an orchestrator advertises it. Clients show the
home, the detached banner and Move home… only when it is exactly 1; it
grants no caller authority.
Machine order (additive, docs first). Exact integer
server.capabilities.machineOrder: 1 means the backend keeps the
ordered machine list: it implements
remoteMachines.order and remoteMachines.setOrder, walks the list for placements
without a machine, and lists machines to agents in that order. It is advertised only
together with remoteMachines: 1. Clients show the combined, reorderable list only
when it is exactly 1; it grants no caller authority.
Machine strategy (additive, docs first). Exact integer
server.capabilities.machineStrategy: 1 means the backend implements
remoteMachines.setStrategy, returns strategy from remoteMachines.order and
the { order } event, and ranks the list by load under leastBusy
(machine strategy). It is advertised only together
with machineOrder: 1. Clients show the strategy picker only when it is exactly
1; it grants no caller authority.
Workspace discussions (additive extension).
Exactly integer server.capabilities.discussionConversations: 1 advertises the
§5.55 contract: conversation and
recipient discovery, participant-gated history and delivery, and conversation-scoped
typing. The same flag is returned by system.capabilities. Clients require it
before sending non-default conversation IDs because earlier single-discussion
daemons may ignore targeting fields. The flag grants no membership or participant
access and does not enable the desktop Multiplayer Labs setting.
Exactly integer discussionManagement: 1 on both surfaces adds first-send
createConversation: true, optional conversation names, Owner/Manager rename,
Owner-only deletion (including default), and created/updated/deleted events.
All new conversations include current workspace members; legacy private histories
remain participant-scoped and read-only. Never silently drop the creation flag
or redirect an unsupported operation to the default discussion. The flag also
extends independently gated agent messaging, reactions and Stop/Retry to named
workspace-wide conversations; it grants no access without an explicit agent grant.
The separate exact integer discussionMessageActions: 1 capability, advertised
on hello and system.capabilities, gates same-conversation replies and
per-viewer reaction aggregates. Never discard an unsupported reply target or
interpret the capability as authorization.
Exactly integer discussionReactions: 1 on both surfaces additionally enables
the five-choice picker, bounded immutable reactor snapshots, and explicitly
granted agent reactions (§5.55). Missing or unknown versions do not enable them.
Exactly integer discussionAgentMessaging: 1, also on both discovery surfaces,
gates explicit recipientAgentIds on a message and agent-authored replies in the
workspace-wide discussions (named conversations additionally require
discussionManagement: 1). It grants no agent access by itself: the agent must
first be explicitly addressed in that conversation. Clients must not silently
strip recipients when this flag is absent or unknown. Agents still cannot
subscribe to discussion events, and private discussions remain human-only.
| Method | Params | Result |
|---|---|---|
| client.hello | clientId?, connectionRole? (prepared; see attachment contract below), name?, capabilities?, hostname? (v9.9), prettyHostname? (v9.9), deviceKind? (v9.9) | { clientId, connectionRole? (prepared attachment acknowledgement only), protocolVersion, server: { locality, hasDisplay, osArch, version, buildCommit?, protocolVersion, daemonMode?, capabilities } } |
| client.list (v9.9) | workspaceId? | { clients: [{ clientId, name?, hostname?, prettyHostname?, deviceKind?, capabilities, connections, transports, connectedAt }] } — the live, hello'd connections grouped by logical clientId; see the client.list block below |
- Global handshake.
client.hellodoes not requireworkspaceId(§3.6); it is the first call a client makes after the auth upgrade (§2) and before scoped work. - Client-persisted
clientId. The client generates and persists its ownclientId(a UUID in its local storage) and re-presents it on every (re)connect. If the client omitsclientId, the server generates one and returns it for the client to persist and reuse from then on. On a connection bound to a non-administrator principal (§2.4 / §5.48) the returnedclientIdis namespaced as{principalId}:{presented}— idempotent, so a client that persists the returned id re-hellos to the same identity — and a collaborator can only ever act as a client id inside its own namespace; the administrator, agents and the daemon keep the raw id. - Superseded-id tab rehome. A
clientIdcarrying earlier namespace prefixes ({a}:{b}:{raw}) still names the device that once hello'd as each shorter:-suffix ({b}:{raw},{raw}). On a successful hello the daemon moves the open browser tabs (§5.45) hosted by such a suffix to the presented id and publishesbrowser:tab-updated { changes: { hostClientId, displayed?: null } }for each, so a device whose id was re-prefixed recovers its tabs (intent-hq/intent#8045). A suffix qualifies only when the caller currently holds browser-management authority (the same host-role check as thebrowser.*methods; a collaborator must also manage the browser in every workspace that suffix has open tabs in), the caller may already act as it (the namespacing above would return it unchanged), it has no live connection (when liveness cannot be determined nothing moves), and the move does not change who may act as the host: an id's namespace owner is its head segment when that names a principal of this daemon, and a suffix moves only when its namespace owner equals the presented id's (prefixes left by other backends' principals add no one). Tombstoned rows stay with their old host. A failed rehome is logged and never fails the hello. - Connection → client mapping. The daemon maps each live connection to its logical
clientId; multiple connections may share oneclientId(the same client reconnecting, or several windows of one app). - Disambiguation key.
clientIdis the key that disambiguatesdrafts.*(§5.16) and is the foundation for future per-viewer read cursors (theattentionextension noted in §5.1). It also lets FE-served intents (host.openExternal, §5.14) target the right client. serverblock. The result advertises daemon capabilities so a client can gate UI right after the handshake (mirrorshost.status, §5.14):locality(local|remote),hasDisplay(GUI present on the daemon host),osArch(e.g.darwin/arm64),version(daemon version string), optionalbuildCommit(the source commit embedded at daemon build time; omitted, nevernull, when unavailable),protocolVersion(the current JSON-RPC surface version from Protocol Version & Compatibility), andcapabilities(feature-detection flags, e.g.{ "liveState": true }for the snapshot+delta channels of §6.9).- Capability golden.
fixtures/hello/capabilities.jsonlists theserver.capabilitiesa current daemon announces, one profile per composition (regular,orchestrator,node). Each profile names its inputs (daemonMode,startupStatus,remoteMachines); test-only flags such asreviewMonitoringare left out. intentd generates the file from its hello builder, and a golden test fails when the builder and intentd's copy disagree; client test doubles announce theregularprofile from their copy. Both keep copies throughscripts/hello-capabilities-contract.mjs(Copied fixtures). It describes the current daemon only: older daemons announce fewer flags, so clients still feature-detect each one. server.daemonMode(additive, docs first)."regular","node"or"orchestrator": the mode of the running daemon (reported daemon mode). Older daemons omit it; absence means unknown, so clients fall back to thenode-moderefusal probe described there. An unknown value is treated as unknown, not as regular. It grants no caller authority.protocolVersion. The top-levelprotocolVersionis an explicit copy ofserver.protocolVersionso clients can version-check without digging into theserverblock (see Protocol Version & Compatibility).
// → first call after auth: client re-presents its persisted clientId
{ "jsonrpc":"2.0","id":1,"method":"client.hello",
"params":{ "clientId":"cli-7f3a","name":"Intent Desktop","capabilities":{ "forward":true,"openExternal":true } } }
// ← response — capabilities of the daemon host
{ "jsonrpc":"2.0","id":1,"result":{ "clientId":"cli-7f3a","protocolVersion":"<current>",
"server":{ "locality":"remote","hasDisplay":false,"osArch":"linux/x86_64","version":"0.1.0",
"protocolVersion":"<current>","capabilities":{ "liveState":true } } } }// → first-ever connect: no clientId yet, server mints one
{ "jsonrpc":"2.0","id":1,"method":"client.hello","params":{ "name":"Intent Desktop" } }
// ← server returns a clientId for the client to persist
{ "jsonrpc":"2.0","id":1,"result":{ "clientId":"cli-9b21","protocolVersion":"<current>",
"server":{ "locality":"local","hasDisplay":true,"osArch":"darwin/arm64","version":"0.1.0",
"protocolVersion":"<current>","capabilities":{ "liveState":true } } } }Errors. A malformed clientId (non-string) → -32602; a persistence failure → -32603.
The ordinary handshake is idempotent: re-sending client.hello on the same connection updates name /
capabilities / host identification and re-returns the same server block.
The first supported server.capabilities.reviewMonitoring: 1 includes the
qualified recipient contract
and this attachment handshake. Production advertisement remains disabled until
all native recipients, intermediaries and consumers are qualified.
A document opens a separate physical connection to the original host only after
its captured successful ordinary hello advertises integer reviewMonitoring >= 1.
It presents exactly the canonical clientId from that acknowledgement:
{ "jsonrpc":"2.0", "id":1, "method":"client.hello", "params":{
"clientId":"cli-7f3a", "connectionRole":"review-monitor",
"capabilities":{ "reviewMonitoring":1 } } }Success echoes connectionRole: "review-monitor" and the same canonical
clientId, alongside the existing protocolVersion and server result fields.
Missing or mismatched role/id requires teardown, never an ordinary-hello fallback.
An older host receives no attachment request. No second server capability exists.
The role and client id grant no authority. Admission requires the same authenticated principal and exactly one live acknowledged ordinary source connection with that canonical id. Absent, foreign, unacknowledged or ambiguous sources are refused before profile, presence or browser side effects. The attachment retains that physical source and hello generation; it never selects a replacement by client id. Multiple document attachments to one source remain independent.
Attachments do not create/update logical profiles, override name/host/capabilities, become browser reverse targets, change workspace browser pins, or keep a departed ordinary device online. Their consumer support never upgrades pooled connections, other documents or grouped client capabilities. Repository/account/workspace authority remains independently required for private content.
Source retirement/rehello, attachment rehello failure/withdrawal/close, and document retirement invalidate affected receipts and dependent queued output/subscriptions. An established ordinary socket cannot become an attachment, and an established attachment cannot become ordinary through a missing, changed or unknown role. Unknown/malformed roles and unsupported attachment transitions fail closed. Ordinary hellos retain their existing profile-update behavior.
Additive contract, protocol 13.5.
server.capabilities.gitlabCheckout: 1 announces the complete
pre-workspace project checkout contract. Accept exactly
integer 1 on the selected destination's original physical connection. The
capability does not grant host membership or prove that a configured account can
access a project. A higher protocol version, the
existing repository resource/context capabilities, or a guest's collaboration
identity cannot substitute for it.
Require this same capability before sending instanceBaseUrl to the
full-instance auth operations,
including auth-status reads. An older parser may ignore an unknown field;
request success alone cannot establish full-root support. Its historical
bare-host behavior does not authorize a prefix-bearing instance.
Capture before browsing and retain the original destination through pagination, warming, creation and release. Reconnect, host/auth/settings changes or retirement require a new capture; a stable client ID cannot transfer the old reference. See the client lifecycle.
Additive extension, protocol 13.7.
server.capabilities.gitlabCheckoutOwnerAvatar: 1 allows an explicit
includeOwnerAvatar: true on checkout capture. Require exactly integer 1 on
the same original socket, in addition to gitlabCheckout: 1. Only opted-in
captures may receive optional ownerAvatarUrl on project page/detail rows.
Legacy captures keep their original shape, including on a newer daemon.
Clients connected to older daemons omit the request member and retain image
fallbacks. See the owner-avatar contract.
Additive extension, protocol 13.8.
server.capabilities.gitlabCheckoutRepoConfig: 1, alongside gitlabCheckout: 1,
allows the fixed pre-workspace configuration read on the original socket.
Require exactly integer 1 for both capabilities. A numeric protocol version,
method catalog entry or successful unrelated call is insufficient. See the
configuration contract.
(Additive.) server.capabilities.workspaceLineage: 1 announces
workspace lineage: the Workspace.parentWorkspaceId
row field, the workspace.create { parentWorkspaceId } option and the lineage access
rule of ws.crossWorkspace.*. Accept exactly integer 1. Without it, clients hide
"start from this workspace" lineage and send no parentWorkspaceId.
(Additive.) server.capabilities.lineageSenderVerified: 1 announces that only the
daemon stamps the cross-workspace sender of an
agent-origin message: messageMetadata.type "lineage_message" or "chief_message" and
messageMetadata.fromWorkspaceId appear only on messages the daemon composed itself
(ws.crossWorkspace.send, the Assistant's agent send). The daemon drops
fromWorkspaceId from any other send and turns a caller-supplied composed type into
"agent_message" (agent sends) or removes it (unattributed sends). Accept exactly
integer 1. Without it, clients present a "lineage_message" as a plain agent message
and never as from another workspace.
(Additive.) A "lineage_message" the daemon composes also carries
messageMetadata.senderVerified: true, which the daemon drops from every other send like
fromWorkspaceId. Before an older daemon reserved these fields, an agent send could store
any metadata key, so a stored message may carry a forged senderVerified. The daemon that
first stamps senderVerified therefore removes every stored and queued copy once, in a
store migration, before it serves any message, and drops it from every message and queued
send a workspace import brings in. A senderVerified the daemon serves was written by that
daemon. Clients show a cross-workspace sender only for a "lineage_message" with
senderVerified exactly true, and present any other one, including every one stored
before the migration, as a plain agent message.
(Additive.) server.capabilities.repoCreate: 1 announces
github.repos.owners / github.repos.create
and, together with gitlabCheckout: 1,
sourceControl.checkout.namespaces / checkout.createProject.
Accept exactly integer 1. It grants no forge access: a create can still fail for
scope or organization policy. Without it, clients offer Clone only.
Additive contract. server.capabilities.repositoryContext: 1
announces the complete context-read lifecycle. Feature-detect the capability
on the physical connection captured for the
repository context lifecycle.
It announces support, not workspace membership, provider permission or a portable
lease. Re-hello on that socket does not renew a lease. A shared stable clientId,
bearer or principal cannot transfer a lifetime to another socket; reconnect needs
a fresh capture. Install the original connection's
private retirement handler
before acquiring a lifetime. These are client obligations, not a claim that current
frontend clients implement the feature.
Additive contract. server.capabilities.repositorySelection: 1
is separate from repositoryContext: 1.
Feature-detect it on the original confirmed physical connection used for the
selection editing operation.
It announces support, not workspace-manager permission or a transferable write
grant; context read permission is insufficient.
Install that connection's private selection retirement handler
before capture, and capture the editing snapshot before user confirmation.
Re-hello, a stable clientId, matching principal or bearer cannot renew or move
the operation to a replacement socket. Keep original receipts independently of
current UI state; reconnect cannot reconcile an unknown old effect. The
client lifecycle
specifies required integration behavior, not an already shipped frontend flow.
Additive contract. server.capabilities.nativeReview: 1 announces
qualified native review preparation, execution and receipts. Feature-detect it on
the original confirmed physical connection before the
qualified native review workflow.
It announces the contract, not current host/workspace permission, configured
provider readiness or unconditional admission. Facts returned by preparation and
the public capability cannot replace fresh server checks.
Install that connection's private retirement handler
before preparation, and retain the same connection through confirmation,
execution, reconciliation and release. Re-hello, a stable clientId, matching
principal or bearer cannot renew or transfer an operation. Native execution uses
actual Member permission; administrator-only connection metadata disclosure is a
separate check. The client lifecycle
describes required integration behavior, not a shipped frontend or normal-daemon
provider guarantee. Capabilities, rather than an older experimental version number, gate support.
Additive contract. server.capabilities.nativeReviewCompanion: 1
is advertised alongside nativeReview: 1.
Check the companion capability on the original confirmed physical connection
before a marked commit preparation.
The earlier capability alone does not support the new strict forms. Do not infer
support from a current host selection, matching identity or account, or retry a
refused form as an ordinary/GitHub/MCP request.
The capability announces a conditional contract, not provider readiness, permission, successful commit completion or child eligibility. Retain the same connection and main-process session through the original reply and separately confirmed child. Re-hello or reconnect cannot transfer that authority. The client lifecycle states integration obligations, not an existing frontend or deployed runtime guarantee. The companion does not add method or notification names.
Additive contract. The hello response advertises
result.server.capabilities.repositoryResourceRead: 1 for the
explicit GitLab resource-read contract. Documentation alone does not establish availability. Detect support on the original physical connection before
capture and install that connection's private retirement handler
first. A capability announces a supported contract, not current host/workspace
permission, configured account readiness or access to the requested project.
An absent or unsupported capability disables these reads; it does not select a
generic, legacy or other-provider read fallback.
Keep capture, detail, release and late cleanup on that same connection. A matching logical client ID, principal or bearer on a replacement socket cannot move or renew the lifetime. Repository inventory, selected-workspace observation and native review capabilities do not imply this explicit-resource capability. These are client integration obligations, not a shipped frontend guarantee; documentation alone does not establish deployed availability.
The separate project-page and discussion extension
is additive in protocol 15.1 and uses repositoryResourcePages: 1. Keep
repositoryResourceRead: 1 unchanged for
detail-only clients; it does not imply support for the new operations. Detect
the page capability on the same physical connection that supplies the read
lifetime. Its context is either an explicitly authorized workspace or
the original durable Host Owner; Home cannot borrow a workspace or infer the
owner role from checkout access. A capability cannot authorize another instance
or account, or supply a fallback after denial. A numeric protocol version or
catalog entry does not replace the exact capability check.
The protocol 15.1 capability result.server.capabilities.gitlabChildGitPolicy: 1
gates the separate
owner-only policy control.
An absent or unsupported value means the control is unsupported, not disabled.
Detect it on the connection whose policy binding will be read and changed.
Neither this capability nor gitlabCheckout grants the owner role, enables the
helper, or proves a current effective grant. Native clone/fetch/push remain
independent. This prepared contract does not advertise support on older daemons
or add GitLab fields to the existing GitHub member-policy projection.
client.hello is where a connection acquires the logical-client identity the daemon uses
for REV-2 reverse-dispatch target selection (§5.9), the browser-tab registry (§5.45) and the
per-workspace browser-client pin (§5.1 workspace.setBrowserClient) — intent-hq/intentd#1756,
intent-hq/intentd#1760.
capabilities.backendRelay(prepared, Assistant remote backends). A desktop app sets1when it sendsbackends.reportand serves thebackends.relayCallreverse RPC. Only connections bound to the host owner that advertise it are relay targets; see Assistant remote backends.capabilities.browserExec. A connection is eligible to serve daemon-initiated browser automation only once its hello advertisedcapabilities.browserExec === true. Un-hello'd sockets (CLIs, dev tooling, an iOS app that never sends hello) and connections whose hello omitted the flag (e.g. an FE auxiliary connection) are never candidates, regardless of arrival order. An omittedcapabilitiesis stored as{}.capabilities.browserNavigation(prepared native-preview extension). Exact booleantrueadvertises native browser navigation without implying page automation. An iOS connection can advertise this flag while keepingbrowserExec: false. Navigation-only clients cannot execute screenshots, DOM inspection, JavaScript, clicks, typing, or emulated viewport actions. The action-aware routing rules and tab-host preservation are defined in §5.9. Older clients that advertise onlybrowserExec: truekeep their existing navigation and automation support. Other capability members remain stored verbatim. This extension requires companion daemon and iOS support; it is not a shipped-release claim.- Device identification.
hostname,prettyHostnameanddeviceKindare the client's own device identification — the same triple the daemon reports about itself inhost.status/server.pairingInfo(§5.14). Each is optional and taken only when a string (any other JSON value reads as omitted). They are persisted on the logicalclientrow and surfaced byclient.listso a user can tell "MacBook Pro" from "iPhone" when choosing a browser client. - Re-hello replaces, never merges. A repeated
client.helloon the same connection (or the sameclientIdfrom another connection) overwrites the persistedname/capabilities/hostname/prettyHostname/deviceKindwith the new hello's values — an omitted field clears the stored value. Send the full set on every hello. - Hello provenance. The daemon records when a
clientIdlast completed a realclient.hello. Aclientrow can also come into existence without a hello (an anonymous connection'sdrafts.*calls, §5.16, key their row byclientId); such never-hello'd rows are not pinnable (workspace.setBrowserClientrejects them with-32602, §5.1) and cannot host tabs (§5.45). Upgrading an existing daemon backfills the provenance stamp only for rows that carry aname— a heuristic proxy, since the anonymous-draft placeholder is always minted nameless whileclient.hellois optional-namebut in practice always sends one. Legacy nameless rows (draft-only placeholders, or a pre-upgrade hello'd client that omittedname) fail closed — not pinnable, cannot host — until their nextclient.hello, which stamps them. - Logical-client transitions. The daemon publishes the global events
client:connected(aclientIdgained its first live hello'd connection) andclient:disconnected(it lost its last — explicit close, re-hello under a differentclientId, or connection abort alike) with data{ clientId, name?, capabilities }(§6.5). Additional connections of an already-connected client, and a re-hello that changes onlyname/capabilities, emit nothing; the transitions are recorded in registry mutation order, so a staleclient:disconnectedcan never overtake theclient:connectedof a same-client reconnect.
client.list is a global router method (optional workspaceId is routing context only, like settings.list) returning
every logical client that currently holds at least one live, hello'd connection — one entry
per clientId, ordered by each client's first (oldest live) connection. Un-hello'd connections
are omitted entirely. Clients without browserExec are included: this is the presence
projection, not the eligibility set.
// → global read, no params
{ "jsonrpc":"2.0","id":7,"method":"client.list" }
// ← one entry per logical client with a live hello'd connection
{ "jsonrpc":"2.0","id":7,"result":{ "clients":[
{ "clientId":"cli-7f3a","name":"Intent Desktop","hostname":"studio.local","prettyHostname":"Studio",
"deviceKind":"desktop","capabilities":{ "browserExec":true,"forward":true },
"connections":2,"transports":["uds","wss"],"connectedAt":"2026-09-06T21:14:02.118Z" },
{ "clientId":"ios-4c11","name":"Intent iOS","deviceKind":"phone",
"capabilities":{ "browserExec":false },
"connections":1,"transports":["wss"],"connectedAt":"2026-09-06T21:20:40.003Z" } ] } }Per entry:
clientId— the logical identity (§ above).name?,hostname?,prettyHostname?,deviceKind?— presence-detected (omitted, nevernull); taken from the client's newest hello across its live connections (newest by hello order, not by connection registration order).capabilities— the newest hello's bag, always present, withbrowserExecalways present and replaced by the per-client aggregate:truewhen any of the client's live connections advertised it. So a later auxiliary socket that omits the flag never masks an earlier eligible connection, and the flag agrees with what §5.9 target selection would route to. In the prepared native-preview extension,browserNavigation: trueis likewise preserved when any live connection advertises it, so an auxiliary hello cannot mask navigation support. It remains independent ofbrowserExec.connections— the number of live hello'd connections sharing theclientId.transports— the wire spelling ("uds"|"wss") of each live connection, oldest first (transports.length === connections).connectedAt— ISO-8601 registration time of the client's oldest live connection.
The workspace-scoped counterpart — which client an agent's browser.exec would reach for one
workspace right now — is workspace.getBrowserClient (§5.1); client.list is the picker's
source of candidates for workspace.setBrowserClient.
Antigravity setup capability (9.8, retired in 18.0). Servers from 18.0 no longer
advertise capabilities.antigravitySetup. See
§5.44.
With authenticatedDevices: 1, every client.list row adds principalId,
hostRole, login: string | null, displayName: string | null,
avatarUrl: string | null and optional identity, all from the admitted credential.
Owner/member callers see the host roster; a workspace guest sees only its own
principal's logical devices. The same filtering applies to live and durable client
events. New client:updated carries the full row after metadata/role/profile changes;
client:connected/disconnected retain their existing keys and add the principal
projection. Logical IDs distinguish devices/windows, not credentials; multiple
devices can share one persistent personal credential. Claimed person/role fields
in hello are never trusted. See §5.49
for selected-host pairing and iOS persistence/sync requirements.
5.46 Connection principal — principal.me (v10.3; intent-hq/intentd#1869)
Every connection is bound to a principal at admission, for the life of the connection —
identity is never taken from client.hello (§5.17), which carries only the logical client id.
UDS connections and the legacy bearer token (server.auth.token) bind the primary user
as administrator; a hashed per-principal credential (principal_credential row, matched by
the SHA-256 of the presented token) binds its principal as a non-administrator.
principal.me returns that binding. Daemon-global — no workspaceId.
| Method | Params | Result |
|---|---|---|
| principal.me | — (no params; daemon-global, no workspaceId) |
{ id, login: string | null, displayName: string | null, avatarUrl: string | null, isAdministrator } |
// → no params
{ "jsonrpc":"2.0","id":3,"method":"principal.me" }
// ← the connection's bound principal
{ "jsonrpc":"2.0","id":3,"result":{ "id":"prn-9c2e","login":"octocat","displayName":"The Octocat",
"avatarUrl":"https://avatars.githubusercontent.com/u/583231","isAdministrator":true } }
// ← before any GitHub identity has been cached: the profile fields are PRESENT as null
{ "jsonrpc":"2.0","id":4,"method":"principal.me" }
{ "jsonrpc":"2.0","id":4,"result":{ "id":"prn-9c2e","login":null,"displayName":null,"avatarUrl":null,"isAdministrator":true } }Result:
id: string— the principal id the connection was bound to.login,displayName,avatarUrl: string | null— the principal's cached GitHub identity, served offline from the store. Always present,nullwhen unknown (the pre-profile state, or a principal whose identity was never fetched); never omitted. Reading the primary principal also triggers a rate-limited, detached background refresh of its identity from GitHubGET /user— the read never waits on it, and any failure (not configured, offline, timeout) leaves the cached row untouched, so a later call may return filled fields where an earlier one returnednull.isAdministrator: boolean—truefor the primary user (UDS / legacy token),falsefor a per-principal-credential connection.
Caller resolution. A wire caller resolves to the principal bound at admission. Agent
callers (MCP) and daemon-internal callers resolve to the primary principal, with
isAdministrator = that principal's is_primary flag.
Errors. Fail-closed: a request with no bound caller — a connection admitted unbound
because the composition root exposes no principal store — is -32603 (message "Internal
error", data = "forbidden: request is not bound to a principal"; §9). No -32602 arm:
params are ignored.
Shared-host fields (10.9). The full PrincipalMe shape is the existing result
plus identity?: { provider, host, externalUserId } (10.8), hostRole: "owner" | "member" | "guest" and hostMembershipRevision: integer (10.9). The profile may
remain unlinked/null for an owner; no repository connection is needed. A member
has isAdministrator: false; cached roles are refreshed on reconnect and
host:members-changed. The principal ID remains immutable while effective host
role is current. §5.49 gives
the fail-closed compatibility rules when fields/capabilities are missing.
server.capabilities.reviewMonitoring: 1 is reserved for the complete
qualified monitoring contract.
It is not yet advertised by the declaration wave. Absence or zero means no
addressed/GitLab monitoring support; existing GitHub calls remain compatible.
Do not derive support from repository reads, MR aliases, a daemon version, or the
GitLab connection being configured. Feature gates and current original-host
authorization remain separate from this support flag.
The planned review-monitor extension also requires recipient support:
client.hello.params.capabilities.reviewMonitoring: 1 opts only the current live
connection into qualified output. Missing/malformed support remains legacy; a server
flag alone never authorizes qualified data to an old desktop. Remote forwarding must
intersect the end consumer and decoding intermediaries, not substitute proxy support.
Agent recipients use a trusted versioned harness/session receipt, not client identity
or model-supplied parameters. Reconnect/replacement invalidates cached support.
The planned recipient/output policy
defines unchanged legacy GitHub projection, qualified suppression, direct-call errors,
and whole-envelope wake/history replay gating. Neither side advertises support yet.
Additive contract. server.capabilities.eventStreamRecovery: 1
(exact integer) advertises the complete generic loss contract.
It also guarantees events.fence raw-bus/bulk-lane boundaries for recovery reads.
Each recovering events.subscribe lease must separately request and acknowledge
lossRecovery: 1. Missing/unknown capability or an old request retains legacy
shapes and reconnect/explicit-refresh fallback; discovery alone does not opt in.
The capability does not promise durable replay, typed-channel recovery or product
readiness. It is advertised only after the transport and membership-loss cases pass.
Exactly integer discussionAgentActivity: 1, on hello and system.capabilities,
adds request-correlated discussion activity, immutable selected mention spans,
and human discussion.stopAgent / discussion.retryAgent controls. This is a
Multiplayer Labs extension; see the activity contract.
Exactly integer discussionPrincipalMentions: 1, on hello and
system.capabilities, enables explicit human discussion notification identities.
See person mentions for
selected UTF-16 spans, membership checks, retry identity, and import behavior.
Clients must preserve selected drafts on absent or unknown capability values.
This remains an unreleased Multiplayer Labs feature and grants no access.