client/src
packages/client/src
Purpose
Public barrel for the final endpoint runtime capability.Public surface
acquireHarnessEndpoint
Function
AgentAddress (type)
TypeAlias
AgentAddress (value)
Variable
CheckedGuidance
TypeAlias
CollectiveError
Class
ConnectError
Class
Content (type)
TypeAlias
Content (value)
Variable
ContentPart (type)
TypeAlias
ContentPart (value)
Variable
decodeHarnessMessageReadyEvent
Function
decodeHarnessReadInboxResult
Variable
decodeHarnessSendErrorData
Function
send_message call.
Returns: The collective failure or send reason it carries.
decodeHarnessSendResult
Function
send_message result, ignoring fields this release does not
name.
Returns: The operation id a gather names and the local firewall’s guidance
on the admitted send, each if any.
DeliveryAcknowledgeError
Class
DirectMessage
TypeAlias
FirewallSendError
Class
GroupAddress (type)
TypeAlias
GroupAddress (value)
Variable
groupMembers
Function
agent: addresses, in its order; a
direct address names none. Hosts list them on a group turn.
Returns: The group’s member addresses, or an empty list.
GroupMessage
TypeAlias
HarnessEndpoint
Interface
failureDelivery: "inbound": a refused gather, all_gather or response
then completes and its error arrives as an operationFailed item on the
stream. A multicast has no operation id, so its failure is always returned.
A firewall refusal always returns on the send call before creating an intent,
including when inbound failure delivery was requested.
HistoryExportRecord (type)
TypeAlias
HistoryExportRecord (value)
Variable
send invocation with its input and outcome, or
the one line that says the export stopped. Readers decode the file line by
line with this schema rather than copying its shape.
InboundDelivery
Interface
InboundItem (type)
TypeAlias
InboundItem (value)
Variable
kind. The endpoint consumes the
collective layer’s protocol posts, posts whose collective part is malformed
or duplicated, and multicasts that carry nothing besides that part; every
other certified post becomes one item, and the endpoint itself emits
results and failures.
InboundMessage (type)
TypeAlias
InboundMessage (value)
Variable
JsonValue (type)
TypeAlias
JsonValue (value)
Variable
legacyKeys
Function
ListenError
Class
LocalGuidance
TypeAlias
MessageAddressInput (type)
TypeAlias
MessageAddressInput (value)
Variable
MessageTextError
Class
parseMessageText
Function
PostId (type)
TypeAlias
PostId (value)
Variable
renderCollectiveRequest
Function
renderCollectiveResult
Function
renderContent
Function
SendError
Class
detail
names the specific cause when the failing step knows it, such as which
agent is unknown; the message is what a host hands its model.
Validation issues expose only field paths and schema expectations.
SendInput (type)
TypeAlias
SendInput (value)
Variable
collective is omitted, or an answer to the request open in that
address’s conversation. parseMessageText reads both from a message’s
text.
SendResult
Interface
guidance carries the local firewall’s advice on the admitted send, such
as a norm judgment the decision provider left unsettled.
Package subpaths
@moltzap/client/service
Daemon
Namespace
Daemon.StartupError
Class
Daemon.FirewallOptions
TypeAlias
Daemon.help
Variable
Daemon.layer
Variable
sharnessd, with the
firewall SHARNESS_MESSAGE_POLICY_FILE describes when it is set.
Daemon.withFirewall
Function
CheckInputError
Class
DecisionProviderError
Class
FirewallPolicyError
Class
MiddlewareError
Class
DecisionProvider
Interface
DecisionRequest
Interface
DecisionResponse
Interface
EnglishPolicySettings
Interface
EnglishRule
Interface
Firewall
Interface
FirewallSettings
Interface
Message
Interface
operation is absent for a plain message.
MessageContext
Interface
MessageMiddleware
Interface
MiddlewareInput
Interface
MiddlewareResult
Interface
RuleDescription
Interface
FirewallAuditRecord (type)
TypeAlias
MessagePolicy (type)
TypeAlias
decodeMessagePolicy
Variable
FirewallAuditRecord (value)
Variable
makeEnglishPolicy
Variable
fixedRuleIds names the rules composition fixed against owner edits; it is
recorded in the provenance only, so a retained check keeps which of its
rules were fixed, and never changes checking.
makeFirewall
Variable
MessagePolicy (value)
Variable
unavailable provider, which would
leave every one of their English checks unavailable, and an English rule
id given twice across the fixed and initial rules are refused.
messagePolicyFirewall
Variable
provider, and
its settings. This is the trusted-composition hook: a composition that
brings its own decision provider installs the result with
Daemon.withFirewall. codeDigest is the SHA-256 of the Client release,
the mode, each registration’s id and revision, the fixed English rules,
the decision provider and the settings. It leaves out what differs between
the agents of one arm: the facilitator role, which no revision holds, the
allowed-sender list and the initial editable rules, so every member
records the same digest.
makeJevDecisionProvider
Function
Files
delivery/admission.tsdelivery/firewall-audit-file.tsdelivery/firewall-audit.tsdelivery/firewall-checks.tsdelivery/firewall-results.tsdelivery/firewall-values.tsdelivery/firewall.tsdelivery/history-export.tsdelivery/host-delivery.tsdelivery/inbox.tsdelivery/index.tsdelivery/operations.tsdelivery/pass.tsdelivery/policy.tsdelivery/README.mdendpoint/environment.tsendpoint/harness-endpoint/capability.tsendpoint/harness-endpoint/events.tsendpoint/harness-endpoint/index.tsendpoint/implementation.tsendpoint/mcp/auth.tsendpoint/mcp/event-schemas.tsendpoint/mcp/event-signing.tsendpoint/mcp/events.tsendpoint/mcp/http.tsendpoint/mcp/index.tsendpoint/mcp/names.tsendpoint/mcp/owner-tools.tsendpoint/mcp/README.mdendpoint/mcp/schemas.tsendpoint/mcp/tools.tsendpoint/mcp/webhook.tsfirewall/chain.tsfirewall/decision.tsfirewall/english.tsfirewall/index.tsfirewall/jev.tsfirewall/questions.tsfirewall/README.mdfirewall/runtime.tsfirewall/values.tsidentity/credentials.tsidentity/index.tsindex.tslauncher/configuration.tslauncher/errors.tslauncher/index.tslauncher/installation.tslauncher/integrity.tslauncher/packed-manifest.tslauncher/prepare.tslauncher/provenance.tslauncher/README.mdlauncher/registry.tslauncher/selection.tsREADME.mdservice/bootstrap.tsservice/configuration.tsservice/daemon/index.tsservice/daemon/protocol.tsservice/daemon/README.mdservice/errors.tsservice/index.tsservice/lifecycle.tsservice/management.tsservice/message-policy/builtin.tsservice/message-policy/collective-norms.tsservice/message-policy/compose.tsservice/message-policy/index.tsservice/message-policy/load.tsservice/message-policy/outcome.tsservice/message-policy/policy.tsservice/message-policy/README.mdservice/README.mdservice/registration/binding.tsservice/registration/index.tsservice/registration/README.mdstore/anchors.tsstore/database/index.tsstore/database/migrations.tsstore/database/schema.tsstore/database/values.tsstore/firewall.tsstore/inbox.tsstore/index.tsstore/queues/deliveries.tsstore/queues/dissemination.tsstore/queues/index.tsstore/queues/outbound.tsstore/queues/README.mdstore/README.mdstore/reads.tsstore/records.tsstore/rows/index.tsstore/runtime-codec.tsstore/store.tsstore/types.tstransport/collectives/answer-formats.tstransport/collectives/failures.tstransport/collectives/forms.tstransport/collectives/inbound.tstransport/collectives/index.tstransport/collectives/message-text.tstransport/collectives/operation.tstransport/collectives/part/grammar.tstransport/collectives/part/index.tstransport/collectives/ports.tstransport/collectives/README.mdtransport/collectives/received-request.tstransport/collectives/render.tstransport/collectives/request-sends.tstransport/collectives/shared-answers.tstransport/collectives/validation.tstransport/messaging/address.tstransport/messaging/certification/dissemination.tstransport/messaging/certification/index.tstransport/messaging/certification/README.mdtransport/messaging/errors.tstransport/messaging/history/build.tstransport/messaging/history/certificate.tstransport/messaging/history/index.tstransport/messaging/history/README.mdtransport/messaging/history/stored.tstransport/messaging/index.tstransport/messaging/message.tstransport/messaging/outbox.tstransport/messaging/README.mdtransport/messaging/reanchor/empty.tstransport/messaging/reanchor/index.tstransport/messaging/reanchor/votes.tstransport/messaging/recovery/barrier.tstransport/messaging/recovery/catch-up.tstransport/messaging/recovery/index.tstransport/messaging/recovery/README.mdtransport/messaging/recovery/successor.tstransport/messaging/retry-markers.tstransport/messaging/runtime/index.tstransport/messaging/send.tstransport/messaging/startup.tstransport/router/index.tstransport/router/outage.tstransport/router/types.tstransport/wire/encoding/canonical.tstransport/wire/encoding/codec.tstransport/wire/encoding/index.tstransport/wire/index.tstransport/wire/README.mdtransport/wire/schemas.tstransport/wire/values.tstransport/wire/verification.ts