Get desktop application:
View/edit binary Protocol Buffers messages
* Who the backend acts as on its server.
Used in: , ,
* Value types a search field declares.
Used in:
* One attribute definition. The framework treats the schema as opaque.
Used in:
Used in:
* One attribute value. The value is carried as text and typed by the schema.
Used in:
* The credential form to ask the user to fill in.
Used in: ,
The server's URL; saved credentials are keyed by its scheme://host[:port]
* One field of a credential form.
Used in:
The key in Credentials.fields
* Identifying metadata a backend advertises during the handshake.
Used in:
Globally unique identifier, e.g. "org.kicad.mdw.git"
Human-readable name for UI
* The capability advertisement. HelloReply may carry a subset that the backend refines once the user is authenticated; the client re-reads it after every successful Authenticate and on ET_CAPABILITIES_CHANGED. custom_states is the union of every state an item of this backend can be in.
Used in: ,
CheckInSharedLibraryRequest.whole_files is honoured
* Optional capability groups a backend may advertise. Mandatory checkout is not a group; every backend implements it. The framework consults this set before exposing any UI or dispatching any sub-interface call. A request for an unadvertised group returns WE_NOT_SUPPORTED.
Used in:
* Whether a mutation took effect now or was accepted for a later decision.
Used in: , , ,
ET_PENDING_RESOLVED follows when it is decided
* How a backend's items reach the user's disk.
Used in:
Checkout downloads a copy and Checkin uploads it
Items are files in a working copy at local_root, edited in place and committed by Checkin
* A backend-supplied display state layered on top of a category. The standard UI shows display_name; the framework consults only category and not_for_new_designs, which marks a released state that designs already using it may keep but new placements are warned against.
Used in: ,
* The kind of design file an item holds. It decides which editor opens an item and whether two versions of it can be compared or merged.
Used in: , ,
A file with no editor or differ
* A change order cited outside its own source.
Used in:
* The envelope carried on the event channel. seq is monotonic per workspace so clients detect gaps and resync via getters. client_identity names the issuer of the originating mutation.
Used in:
JSON, opaque to the framework
Set only for ET_BACKEND_EVENT
Idempotency id of the request that caused the event
Set only for ET_PENDING_RESOLVED
Display text for item_id; never parsed as an id
Set only for ET_PROGRESS
* Types of workspace state transitions. BACKEND_EVENT carries a backend-defined type string; the framework treats its payload as opaque.
Used in:
A release or baseline was applied; item_id names the item
A CO_PENDING change was applied, rejected or withdrawn; re-read item_id
Re-read GetCapabilities
A shared library has upstream changes; item_id is its library_id, or empty
How far a running request has got; see ProgressNotice. Never numbered
Raised by the client after it reads every lock again; a backend never sends it
* A navigable folder in the workspace tree.
Used in: ,
* A server key the backend does not trust yet.
Used in: ,
* A managed file or folder. The revision and state fields describe the item's latest revision, and the lock its last-known lock, so a listing needs no follow-up calls to render.
Used in: , , , ,
Display only, e.g. "boards/rx/amp.kicad_sch" or "Passives/R_10k_0603"
Seconds since epoch, UTC
The revision this metadata describes; empty for folders
The state of revision_id
Where a checkout lands under the project, '/'-separated; empty for none
What revision_id is, which says how revision_label reads
* An opaque item id with the text a user sees for it. Ids are unique within their source only. source is the credential-free locator of the source that owns the item, and empty means the backend that sent it. It is matched exactly against the configured sources, never searched in order.
Used in: , , , , , , , , , , , ,
* Four universal lifecycle categories every backend maps its native states onto. PENDING_REVIEW and RESTRICTED block writes; EDITABLE allows writes without warning; RELEASED allows writes but warns on save. RESTRICTED names a policy-imposed read-only state and is independent of per-user locks (see LockInfo). A client reads LC_UNKNOWN as LC_RESTRICTED.
Used in: , ,
* The states an item can be in. Definitions can differ between items of one backend.
Used in:
* The lifecycle state of one revision. state_id names a CustomState and may be empty when the backend has only categories. not_for_new_designs repeats the CustomState's flag.
Used in: , , , , , ,
* A lifecycle transition offered on one revision.
Used in:
The transition will answer CO_PENDING
PS_DENIED shows the transition disabled with its reason
* Per-user exclusive lock state, independent of LifecycleCategory. An item can be EDITABLE and locked by a teammate, or RESTRICTED and unlocked.
Used in: , , , , ,
The backend accepts another user's check-in or push while this lock is held
Used in:
* Which part of a part a library member provides.
Used in: ,
* A managed part record (CG_PARTS).
Used in: , ,
Opens the part in the backend's own UI
* A library member that makes up a part. The member may live in another source, which member.source names; member.path_hint is "nickname:item". A member the source's libraries do not hold has an empty item_id, and the client shows its path_hint without resolving it.
Used in:
The member revision this part revision uses; empty means its latest release
* A change accepted but decided later, by an approval or a change order. change_id is always set and stays answerable by GetPendingChange after a reconnect; eco_id is set only when a change order carries the change.
Used in: , , , ,
* The fate of a PendingChange.
Used in:
* One named permission. The names in use are checkout, checkin, lock, force_unlock, transition, release, revise, baseline and manage. A backend may add names; a name it does not report is PS_UNKNOWN.
Used in: , ,
Why it is denied, in the user's language
Used in:
The backend cannot tell in advance; the action is offered and its call decides
How far the request named by the envelope's operation_id has got, in units of phase. total is 0 while unknown. phase is "receive" for objects arriving from the remote, "checkout" for files written to disk, "index" for the work after, or any other short text a backend wants shown as it is. A notice is advisory and unnumbered, so a lost one costs nothing.
Used in:
* A point-in-time snapshot of an item. parent_revision_ids is empty at a root and carries more than one entry for a merge. ordinal increases strictly across an item's revisions of one kind, so it sorts labels such as "A.1" that do not sort as text. RK_RELEASE ordinals count approved releases only, and an attempt takes its RK_RELEASE kind and ordinal when it is approved.
Used in: , , , , , , ,
"3", "A.1", "B"; may repeat revision_id for a commit
"v1:<sha256>" stored with a release; empty otherwise
The whole member's digest where content_digest covers less
* What kind of point in an item's history a revision is.
Used in: ,
A saved version, such as a commit or a file edition
An approved release, made by ReleaseRevision
Made by CreateBaseline
Planned or in progress, holding no released data yet
A release attempt awaiting approval; becomes RK_RELEASE or RK_RELEASE_REJECTED
A release attempt that was refused or withdrawn; it never released data
* A backend-declared attribute schema, as the ECO schema request answers it.
Used in:
* A field a backend lets search filter on.
Used in:
Equality on one field. Filters are AND-ed
Used in:
* Semantic version triple used for backend and protocol versions.
Used in: , ,
Optional free-form identifier (build metadata, git hash)
* A typed error carried on every response. code == WE_OK means success. The detail fields are set only with the codes that name them.
Used in: ,
WE_RATE_LIMITED, WE_BUSY; 0 when unknown
WE_NOT_AUTHENTICATED, WE_AUTH_FAILED
WE_UNTRUSTED_HOST
The transport's own text, for a details view and never the headline. It is shown as sent, so a backend must strip any credential from it
* The error vocabulary. Backend workflow families (ECO routing, BOM transforms, CI) are not errors here; those workflows live in the backend.
Used in:
Capability group not advertised, or not for this item
Backend process died mid-request
Malformed envelope or version mismatch
A quota or rate limit was hit
Another process holds a lock the backend needs
The server's host key needs the user's confirmation
The shared store moved on without touching the item; update the copy, retry