Expand description
Shared protocol/auth transport types. Live authorization scope rules are owned by weft-server/src/access/scope.rs.
Structs§
- Auth
Token - Completed
Provider Pack - A completely covered and validated provider pack ready for atomic install.
- Error
- GitPack
Chunk State - Growing
Pack Chunk Reader - Harness
Identity - Hosted
Grant Info - Hosted
Namespace Info - Hosted
Repository Info - Hosted
Spool Info - Native
Pack Bundle - Native
Pack File Bundle - Native
Pack Streaming Writer - Object
Availability Plan - Object
Data - Object
Info - Object
Request - Pack
Chunk Spool - Pack
Chunk State - Pack
File Chunk Reader - Planned
Object - Progress
Checkpoint - Provider
Pack Bundle - Provider
Pack Extent - Provider
Pack Index Entry - Provider
Pack Manifest - Provider
Pack Spool - A pre-sized provider pack spool that owns all partial transfer state.
- Provider
Pack Writer - A bounded-memory positional writer for one validated provider pack plan.
- Pull
Complete - Push
Complete - RefEntry
- One advertised repository ref.
- RefFilter
- Filter applied when listing repository refs.
- RefUpdated
- Refs
List - Published repository-ref listing response.
- Remote
Cursor Failure - Remote
Duration - Remote
Timestamp - Repository
Transfer Plan - Reused
Native Pack Stats - Semantic
Graph Query Request - weft#451 Tier-2 request body. Hosted RPC names remain residual in weft.
- Semantic
Graph Query Response - weft#451 Tier-2 response body.
index_presentis false when the state has no attached semantic index; the query then returns empty collections and never computes one. - Semantic
Graph Ref - One persisted reference to a definition, reconstructed without parsing.
- Session
Diff Summary - Session
Report Envelope - State
Closure Options - State
Closure Transfer Objects - Transcript
Attachment Ref - Transfer
Partitions - Transfer
Plan Stats - Usage
Totals - Wire
KeyBinding - Transport form of a
KeyBinding. - Wire
KeyBinding Liveness - Liveness portion of a signed key binding, explicit at the wire boundary.
- Wire
KeyBinding Registry - Versioned set of key bindings carried as one closure object.
- Worktree
Change Baseline
Enums§
- Advertised
Ref - Typed view of an advertised ref. The synthetic arm never holds a
ThreadNameorMarkerName. - Advertised
RefError - Why an advertised ref could not be consumed as its declared kind.
- Error
Code - GitLane
Transfer Intent - Head
Info - Repository HEAD shape returned alongside a ref listing.
- Hosted
Spool Kind - Object
Id - Object
Type - Object
Type Bucket - Protocol
Error - Error type for protocol operations.
- RefKind
- Type-distinct discriminator for an advertised ref.
- Remote
Cursor Reason - Remote
Failure Code - Stable outcome vocabulary for a failed hosted call. This mirrors the governed API contract without depending on generated protobuf types.
- Remote
Failure Detail - Machine-readable hosted failure details retained across the transport seam. Unknown details stay lossless so a newer server does not collapse them to prose when talking to an older client.
- Semantic
Graph Query Kind - Graph primitive selected by
heddle semantic refsand the weft#451 wire.
Constants§
- DEFAULT_
PORT - Default port for Heddle protocol.
- MAX_
MESSAGE_ SIZE - Maximum message size (64 MB).
- MAX_
PULL_ FRAME_ MESSAGE_ SIZE - Inbound protobuf-frame decode limit for the pull stream.
- MAX_
RECEIVED_ GIT_ PACK_ SIZE - Maximum hosted Git pack accepted by the Git-lane transfer primitive.
- MAX_
RECEIVED_ PACK_ INDEX_ SIZE - Maximum hosted native-pack index accepted by the receive primitive.
- MAX_
RECEIVED_ PACK_ SIZE - Maximum hosted native-pack body accepted by the receive primitive.
- MAX_
RECEIVED_ REDACTIONS_ BLOB_ SIZE - Maximum redaction sidecar blob accepted from the pull stream, per blob.
- MAX_
RECEIVED_ STATE_ VISIBILITY_ BLOB_ SIZE - Maximum state-visibility sidecar blob accepted from the pull stream, per state.
- PROTOCOL_
VERSION - Protocol version.
Functions§
- admit_
declared_ received_ len - Admit a declared receive length before any buffer is reserved or grown.
- assemble_
provider_ pack - Assemble and verify one virtual native pack from provider extent bodies.
- build_
native_ pack - check_
received_ transfer_ blob_ size - Reject a received per-object transfer sidecar blob whose length exceeds
max_bytes, before it is handed to the repository accept path. - chunk_
bounds - chunk_
count - chunk_
offset - decode_
key_ binding_ registry - Decode a key-binding wire object and verify its advertised content address.
- encode_
key_ binding_ registry - Encode a validated registry as a typed, content-addressed wire object.
- enumerate_
state_ closure - enumerate_
state_ closure_ plan - enumerate_
state_ closure_ plan_ with_ options - enumerate_
state_ closure_ transfer_ from_ boundaries - Enumerate a transfer delta while treating
boundary_statesas complete server-held roots. UnlikeStateClosureOptions::exclude_states, this does not expand each boundary’s tree/history to build a hash exclusion set: the walk stops as soon as it reaches the boundary state. Objects reused by the new tip may still be advertised, and the receiver’s have-set filters them. This keeps incremental push planning proportional to the new history. - enumerate_
state_ closure_ transfer_ with_ options - enumerate_
state_ closure_ with_ options - has_
object - install_
received_ pack - is_
ancestor - is_
native_ packable_ object_ type - load_
object_ data - load_
requested_ object - missing_
blobs_ in_ tree - native_
pack_ excluded_ object_ types - next_
pack_ chunk - plan_
object_ availability - receive_
pack_ chunk - reuse_
native_ pack_ encoded_ subset_ in - Build a hosted transport pack by reusing non-delta encoded entries from an
authoritative local pack.
Ok(None)means the caller must use the normal object-loading writer. - store_
received_ object