Documentation
¶
Overview ¶
Package canary is the Go client for a running Canary daemon.
It executes the tool catalogue that canary mcp serves, over the daemon's Unix socket and without an MCP process in between, for programs that read Canary mechanically rather than through a model. Capability to call a tool is not authority: the daemon keeps every account, mode, policy and broker gate, and this package restates none of them.
A Client opens one connection per call because the daemon answers one request at a time per connection. Dedicated non-catalogue methods can read entry setup observations and their coverage and read/save a cash-sweep ordering preference, never protection policy or broker authority. Concurrent calls never queue behind each other, and a Client holds nothing between calls.
Index ¶
- Constants
- Variables
- func DeskIntentDigest(item DeskExecutionItem) string
- func ValidateAutomaticOrder(items []DeskExecutionItem) error
- func ValidateFXResult(result FXResult) error
- func ValidateFinancingFeesResult(result FinancingFeesResult) error
- type CashPolicyApplyRequest
- type CashPolicyApplyResult
- type CashPolicyChange
- type CashPolicyCheckRequest
- type CashPolicyCheckResult
- type CashPolicyConfirmation
- type CashPolicyDevice
- type CashPolicyFile
- type CashPolicyPartial
- type CashPolicyPreset
- type CashPolicyPresetFacts
- type CashPolicyPresetOption
- type CashPolicyRestore
- type CashPolicySetting
- type CashPolicySnapshot
- type CashSweepPreferences
- type Client
- func (c *Client) ApplyCashPolicy(ctx context.Context, in CashPolicyApplyRequest) (*CashPolicyApplyResult, error)
- func (c *Client) Call(ctx context.Context, name string, args json.RawMessage) (json.RawMessage, error)
- func (c *Client) CashPolicy(ctx context.Context) (*CashPolicySnapshot, error)
- func (c *Client) CashSweepPreferences(ctx context.Context) (*CashSweepPreferences, error)
- func (c *Client) CheckCashPolicy(ctx context.Context, in CashPolicyCheckRequest) (*CashPolicyCheckResult, error)
- func (c *Client) ConfirmDeskAuthority(ctx context.Context, in DeskAuthorityConfirmParams) (*DeskAuthorityStatus, error)
- func (c *Client) ConfirmDeskOverride(ctx context.Context, in DeskOverrideConfirmParams) (*RiskPolicyWriteResult, error)
- func (c *Client) ControlDeskAuthority(ctx context.Context, in DeskAuthorityControlParams) (*DeskAuthorityStatus, error)
- func (c *Client) DeskAuthority(ctx context.Context) (*DeskAuthorityStatus, error)
- func (c *Client) DeskExecutionCapabilities(ctx context.Context) (*DeskExecutionCapabilitiesResult, error)
- func (c *Client) DiscoverSetupOptions(ctx context.Context, in SetupOptionsParams) (*SetupOptionsResult, error)
- func (c *Client) EvaluateSetup(ctx context.Context, in SetupEvaluateParams) (*SetupResult, error)
- func (c *Client) LookupDeskExecution(ctx context.Context, in DeskExecutionLookupParams) (*DeskExecutionLookupResult, error)
- func (c *Client) PrepareDeskAuthority(ctx context.Context, in DeskAuthorityPrepareParams) (*DeskAuthorityPrepared, error)
- func (c *Client) PrepareDeskOverride(ctx context.Context, in DeskOverridePrepareParams) (*DeskOverridePrepared, error)
- func (c *Client) SetCashSweepPriority(ctx context.Context, in SetCashSweepPriorityRequest) (*CashSweepPreferences, error)
- func (c *Client) SetupCoverage(ctx context.Context, in SetupCoverageParams) (*SetupCoverageResult, error)
- func (c *Client) SetupMarkouts(ctx context.Context, in SetupMarkoutsParams) (*SetupMarkoutsResult, error)
- func (c *Client) SocketPath() string
- func (c *Client) SubmitDeskExecution(ctx context.Context, in DeskExecutionSubmitParams) (*DeskExecutionSubmitResult, error)
- func (c *Client) Subscribe(ctx context.Context, onFrame func(json.RawMessage) error) error
- func (c *Client) Version(ctx context.Context) (string, error)
- func (c *Client) VetoProposal(ctx context.Context, in TradeProposalVetoParams) (*TradeProposalVetoResult, error)
- func (c *Client) Watchlist(ctx context.Context) (*Watchlist, error)
- type DeskAuthorityConfirmParams
- type DeskAuthorityControlParams
- type DeskAuthorityPrepareParams
- type DeskAuthorityPrepared
- type DeskAuthorityStatus
- type DeskAuthorityTerms
- type DeskAutomaticAuthorization
- type DeskBatchAuthorization
- type DeskExecutionAdd
- type DeskExecutionBatchItem
- type DeskExecutionBatchTerms
- type DeskExecutionCapabilitiesResult
- type DeskExecutionIntent
- type DeskExecutionItem
- type DeskExecutionLookupParams
- type DeskExecutionLookupResult
- type DeskExecutionPrepareBatchParams
- type DeskExecutionPrepareBatchResult
- type DeskExecutionProposal
- type DeskExecutionReceipt
- type DeskExecutionSubmitParams
- type DeskExecutionSubmitResult
- type DeskOverrideConfirmParams
- type DeskOverridePrepareParams
- type DeskOverridePrepared
- type DeskOverrideTerms
- type Error
- type FXBackfill
- type FXDay
- type FXPeriod
- type FXResult
- type FinancingCurrencyAmount
- type FinancingFee
- type FinancingFeesParams
- type FinancingFeesResult
- type FinancingSummary
- type LendingPosition
- type Options
- type OverrideRecord
- type RiskPolicyWriteResult
- type SetCashSweepPriorityRequest
- type SetupBar
- type SetupBaseline
- type SetupContract
- type SetupCoverageContract
- type SetupCoverageParams
- type SetupCoverageResult
- type SetupEvaluateParams
- type SetupFeatures
- type SetupMarkoutTarget
- type SetupMarkoutsParams
- type SetupMarkoutsResult
- type SetupOptionCall
- type SetupOptionExpiry
- type SetupOptionQuote
- type SetupOptionsParams
- type SetupOptionsResult
- type SetupResult
- type SetupSpec
- type Tool
- type TradeProposalAutomatic
- type TradeProposalVetoParams
- type TradeProposalVetoResult
- type Watchlist
- type WatchlistContract
Constants ¶
const ( // CodeUnknownMethod means the daemon does not serve the requested method. CodeUnknownMethod = rpc.CodeUnknownMethod // CodeBadRequest means the daemon rejected the arguments. CodeBadRequest = rpc.CodeBadRequest CodeGatewayUnavailable = rpc.CodeGatewayUnavailable // CodeSymbolInactive means the requested instrument is not active or the // broker has no definition for it. CodeSymbolInactive = rpc.CodeSymbolInactive // CodeTimeout means the daemon gave up waiting on the broker. CodeTimeout = rpc.CodeTimeout // CodeTradingDisabled means the daemon was built without trading. CodeTradingDisabled = rpc.CodeTradingDisabled // CodeInternal means the daemon failed for a reason it does not classify. CodeInternal = rpc.CodeInternal CodeRegimeUnavailable = rpc.CodeRegimeUnavailable )
Daemon failure codes carried by Error.Code.
const ( CashPolicyPresetCautious = rpc.CashPolicyPresetCautious CashPolicyPresetBalanced = rpc.CashPolicyPresetBalanced CashPolicyPresetAggressive = rpc.CashPolicyPresetAggressive CashPolicyPresetCustom = rpc.CashPolicyPresetCustom )
Preset ids a CashPolicyPreset carries.
const ( CodePolicyInvalid = rpc.CodePolicyInvalid CodePolicyUnwritable = rpc.CodePolicyUnwritable CodeConfirmationRequired = rpc.CodeConfirmationRequired CodeConfirmationUnverifiable = rpc.CodeConfirmationUnverifiable CodeRequestReused = rpc.CodeRequestReused )
Error codes a cash policy save reports besides CodeSettingsConflict.
const ( DeskOverrideTermsKind = rpc.DeskOverrideTermsKind DeskOverrideReviewKind = rpc.DeskOverrideReviewKind OverrideGrantedFromConsole = rpc.OverrideGrantedFromConsole )
Override kinds and the console provenance an override record carries.
const ( DeskClassProtect = rpc.DeskClassProtect DeskClassReduce = rpc.DeskClassReduce DeskClassAdd = rpc.DeskClassAdd DeskOutcomeAccepted = rpc.DeskOutcomeAccepted DeskOutcomeRefused = rpc.DeskOutcomeRefused DeskOutcomeUnknown = rpc.DeskOutcomeUnknown DeskOutcomeAbsent = rpc.DeskOutcomeAbsent )
Desk execution item classes and outcomes.
const ( DeskBlockerDrawdownBrake = rpc.DeskBlockerDrawdownBrake DeskBlockerEpisodeConsumed = rpc.DeskBlockerEpisodeConsumed DeskBlockerRequestConflict = rpc.DeskBlockerRequestConflict DeskBlockerAuthorityChanged = rpc.DeskBlockerAuthorityChanged DeskBlockerClassMismatch = rpc.DeskBlockerClassMismatch DeskBlockerPriorUnknown = rpc.DeskBlockerPriorUnknown DeskBlockerProposalChanged = rpc.DeskBlockerProposalChanged )
Desk execution blocker codes.
const CashPolicySectionOrderLimits = rpc.CashPolicySectionOrderLimits
CashPolicySectionOrderLimits is the section of the order cap settings, which live in the risk constitution.
const CodeSettingsConflict = rpc.CodeSettingsConflict
CodeSettingsConflict reports a stale expected settings revision.
const CodeWatchlistConflict = rpc.CodeWatchlistConflict
CodeWatchlistConflict identifies an explicit stale-revision or changed-terms rejection.
const DeskExecutionContractVersion = rpc.DeskExecutionContractVersion
DeskExecutionContractVersion is the contract version a daemon must report.
const OriginPairedDevice = rpc.OrderOriginPairedDevice
OriginPairedDevice is the origin of an act the owner confirms on a device paired with the desk; the daemon treats it as human.
Variables ¶
ErrDaemonUnavailable reports that no daemon serves the socket and none could be started.
var ErrUnknownTool = errors.New("canary: unknown tool")
ErrUnknownTool reports a tool name outside the catalogue.
Functions ¶
func DeskIntentDigest ¶
func DeskIntentDigest(item DeskExecutionItem) string
DeskIntentDigest binds a request to its receipt.
func ValidateAutomaticOrder ¶
func ValidateAutomaticOrder(items []DeskExecutionItem) error
ValidateAutomaticOrder refuses an addition listed before protection or a reduction.
func ValidateFXResult ¶
ValidateFXResult checks the versioned, finite, missing-aware FX contract.
func ValidateFinancingFeesResult ¶
func ValidateFinancingFeesResult(result FinancingFeesResult) error
ValidateFinancingFeesResult validates the public lending fee contract.
Types ¶
type CashPolicyApplyRequest ¶
type CashPolicyApplyRequest = rpc.CashPolicyApplyRequest
CashPolicyApplyRequest saves the terms a check returned, with the owner's device confirmation.
type CashPolicyApplyResult ¶
type CashPolicyApplyResult = rpc.CashPolicyApplyResult
CashPolicyApplyResult is the snapshot after a save, with its receipt.
type CashPolicyChange ¶
type CashPolicyChange = rpc.CashPolicyChange
CashPolicyChange is one changed setting in a CashPolicyCheckResult.
type CashPolicyCheckRequest ¶
type CashPolicyCheckRequest = rpc.CashPolicyCheckRequest
CashPolicyCheckRequest names a draft of cash management settings.
type CashPolicyCheckResult ¶
type CashPolicyCheckResult = rpc.CashPolicyCheckResult
CashPolicyCheckResult is the daemon's verdict on a draft; it writes nothing.
type CashPolicyConfirmation ¶
type CashPolicyConfirmation = rpc.CashPolicyConfirmation
CashPolicyConfirmation is the owner's device confirmation of one save.
type CashPolicyDevice ¶
type CashPolicyDevice = rpc.CashPolicyDevice
CashPolicyDevice says which of the owner's credentials Canary verifies itself.
type CashPolicyFile ¶
type CashPolicyFile = rpc.CashPolicyFile
CashPolicyFile is one policy file's state in a CashPolicySnapshot: the protection file's fields on the snapshot itself, the risk constitution's under Constitution.
type CashPolicyPartial ¶
type CashPolicyPartial = rpc.CashPolicyPartial
CashPolicyPartial reports a two-file save that stopped after its first file.
type CashPolicyPreset ¶
type CashPolicyPreset = rpc.CashPolicyPreset
CashPolicyPreset is the stance the files' values derive to.
type CashPolicyPresetFacts ¶
type CashPolicyPresetFacts = rpc.CashPolicyPresetFacts
CashPolicyPresetFacts is what a preset comes to at today's NLV.
type CashPolicyPresetOption ¶
type CashPolicyPresetOption = rpc.CashPolicyPresetOption
CashPolicyPresetOption is one preset the owner may apply, with its values and what they come to at today's NLV.
type CashPolicyRestore ¶
type CashPolicyRestore = rpc.CashPolicyRestore
CashPolicyRestore offers the owner's own values back after a preset replaced them.
type CashPolicySetting ¶
type CashPolicySetting = rpc.CashPolicySetting
CashPolicySetting is one setting in a CashPolicySnapshot.
type CashPolicySnapshot ¶
type CashPolicySnapshot = rpc.CashPolicySnapshot
CashPolicySnapshot is the cash management settings as the daemon reads them from the protection policy file, with their facts.
type CashSweepPreferences ¶
type CashSweepPreferences = rpc.CashSweepPreferences
CashSweepPreferences is the daemon's runtime ordering preference and receipt.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client executes catalogue tools and display subscriptions against one daemon socket. It is safe for concurrent use and needs no Close.
func (*Client) ApplyCashPolicy ¶
func (c *Client) ApplyCashPolicy(ctx context.Context, in CashPolicyApplyRequest) (*CashPolicyApplyResult, error)
ApplyCashPolicy saves checked terms with the owner's device confirmation: the daemon writes only the changed lines, raises policy_version by one and records a receipt. Retrying a request id with the same terms writes nothing and returns the receipt's version.
func (*Client) Call ¶
func (c *Client) Call(ctx context.Context, name string, args json.RawMessage) (json.RawMessage, error)
Call executes the catalogue tool name with JSON args and returns the tool's JSON result. A read tool passes on what the daemon sent, so the result may carry fields newer than this build: decode the fields you use and ignore the rest. Open orders reach a program with those fields too, where canary mcp keeps to this build's types; broker free text is withheld from both. Empty args mean an empty object. The call ends at ctx's deadline or at the tool's catalogue budget, whichever comes first, and such an end reports context.DeadlineExceeded. A failure the daemon reported is an *Error.
func (*Client) CashPolicy ¶
func (c *Client) CashPolicy(ctx context.Context) (*CashPolicySnapshot, error)
CashPolicy reads the cash management settings. Like the methods below it is outside the MCP catalogue and the CLI: Desk's console calls it.
func (*Client) CashSweepPreferences ¶
func (c *Client) CashSweepPreferences(ctx context.Context) (*CashSweepPreferences, error)
CashSweepPreferences reads runtime ordering preferences independently of proposal/risk readiness. This method is outside the MCP catalogue.
func (*Client) CheckCashPolicy ¶
func (c *Client) CheckCashPolicy(ctx context.Context, in CashPolicyCheckRequest) (*CashPolicyCheckResult, error)
CheckCashPolicy validates a draft and works out its figures; it writes nothing.
func (*Client) ConfirmDeskAuthority ¶
func (c *Client) ConfirmDeskAuthority(ctx context.Context, in DeskAuthorityConfirmParams) (*DeskAuthorityStatus, error)
ConfirmDeskAuthority stores the mandate after verifying the device confirmation. It does not start the controller.
func (*Client) ConfirmDeskOverride ¶
func (c *Client) ConfirmDeskOverride(ctx context.Context, in DeskOverrideConfirmParams) (*RiskPolicyWriteResult, error)
ConfirmDeskOverride grants the override after Canary verified the device confirmation; a retry of the same terms answers with the same override.
func (*Client) ControlDeskAuthority ¶
func (c *Client) ControlDeskAuthority(ctx context.Context, in DeskAuthorityControlParams) (*DeskAuthorityStatus, error)
ControlDeskAuthority runs, pauses, downgrades or disarms under the daemon-held generation. Upgrading needs a fresh confirmation.
func (*Client) DeskAuthority ¶
func (c *Client) DeskAuthority(ctx context.Context) (*DeskAuthorityStatus, error)
DeskAuthority reads the mandate's effective state, including a hold by the a breach of the mandate's loss room (HeldBy; before 2026-10-31 the drawdown brake).
func (*Client) DeskExecutionCapabilities ¶
func (c *Client) DeskExecutionCapabilities(ctx context.Context) (*DeskExecutionCapabilitiesResult, error)
DeskExecutionCapabilities reports the served contract version, methods and authorisations. A daemon without it is unavailable to Desk.
func (*Client) DiscoverSetupOptions ¶
func (c *Client) DiscoverSetupOptions(ctx context.Context, in SetupOptionsParams) (*SetupOptionsResult, error)
DiscoverSetupOptions lists or resolves standard calls without preparing an order.
func (*Client) EvaluateSetup ¶
func (c *Client) EvaluateSetup(ctx context.Context, in SetupEvaluateParams) (*SetupResult, error)
EvaluateSetup reads daemon-owned entry evidence. It does not save a playbook, create a delivery episode, change policy or transmit a broker order.
func (*Client) LookupDeskExecution ¶
func (c *Client) LookupDeskExecution(ctx context.Context, in DeskExecutionLookupParams) (*DeskExecutionLookupResult, error)
LookupDeskExecution answers named requests from Canary's journal. It is read-only; an error never means that nothing happened.
func (*Client) PrepareDeskAuthority ¶
func (c *Client) PrepareDeskAuthority(ctx context.Context, in DeskAuthorityPrepareParams) (*DeskAuthorityPrepared, error)
PrepareDeskAuthority returns exact terms for the owner's device review.
func (*Client) PrepareDeskOverride ¶
func (c *Client) PrepareDeskOverride(ctx context.Context, in DeskOverridePrepareParams) (*DeskOverridePrepared, error)
PrepareDeskOverride returns exact override terms for the owner's device review.
func (*Client) SetCashSweepPriority ¶
func (c *Client) SetCashSweepPriority(ctx context.Context, in SetCashSweepPriorityRequest) (*CashSweepPreferences, error)
SetCashSweepPriority is restricted to an ordering preference. It claims no human-terminal origin, and cannot change a protection policy or broker gate.
func (*Client) SetupCoverage ¶
func (c *Client) SetupCoverage(ctx context.Context, in SetupCoverageParams) (*SetupCoverageResult, error)
SetupCoverage reads how live setup evaluations covered a session's completed five-minute bars and how many historical requests they issued. It needs no gateway and changes nothing.
func (*Client) SetupMarkouts ¶
func (c *Client) SetupMarkouts(ctx context.Context, in SetupMarkoutsParams) (*SetupMarkoutsResult, error)
SetupMarkouts reads daemon-captured entry markouts. They are an entry diagnostic, not realized profit; the read schedules or captures nothing.
func (*Client) SocketPath ¶
SocketPath reports the daemon socket the Client dials.
func (*Client) SubmitDeskExecution ¶
func (c *Client) SubmitDeskExecution(ctx context.Context, in DeskExecutionSubmitParams) (*DeskExecutionSubmitResult, error)
SubmitDeskExecution sends items under exactly one authorisation. Since 2026-10-18 the daemon serves the automatic authorisation: the standing mandate the owner confirmed on a device, presented by Desk's controller with its private capability, generation and preferences hash. Every item is journaled before dispatch and answered with its own receipt; a retry of a journaled request returns the original receipt and sends nothing. An error from this call never means that nothing happened: resolve the request IDs with LookupDeskExecution.
func (*Client) Subscribe ¶
Subscribe streams display snapshots until ctx ends, the daemon closes the stream, or onFrame returns an error. Each frame holds one snapshot's JSON, byte for byte what canary market --watch prints per line. Subscribe returns nil when the daemon ends the stream, ctx.Err() when ctx ends, onFrame's error unchanged, and an *Error when the daemon refuses the subscription. The daemon serves at most four display readers.
func (*Client) VetoProposal ¶
func (c *Client) VetoProposal(ctx context.Context, in TradeProposalVetoParams) (*TradeProposalVetoResult, error)
VetoProposal stops the pending pre-authorised submission of one proposal row. Accepted false carries the daemon's reason in Message; a transport or method error is returned as an error.
type DeskAuthorityConfirmParams ¶
type DeskAuthorityConfirmParams = rpc.DeskAuthorityConfirmParams
DeskAuthorityConfirmParams carries the terms and the device confirmation.
type DeskAuthorityControlParams ¶
type DeskAuthorityControlParams = rpc.DeskAuthorityControlParams
DeskAuthorityControlParams changes the running state under a generation fence.
type DeskAuthorityPrepareParams ¶
type DeskAuthorityPrepareParams = rpc.DeskAuthorityPrepareParams
DeskAuthorityPrepareParams asks for terms at a maximum scope.
type DeskAuthorityPrepared ¶
type DeskAuthorityPrepared = rpc.DeskAuthorityPrepared
DeskAuthorityPrepared carries the canonical terms and their digest.
type DeskAuthorityStatus ¶
type DeskAuthorityStatus = rpc.DeskAuthorityStatus
DeskAuthorityStatus is the persisted and effective authority.
type DeskAuthorityTerms ¶
type DeskAuthorityTerms = rpc.DeskAuthorityTerms
DeskAuthorityTerms are the exact mandate terms the owner confirms.
type DeskAutomaticAuthorization ¶
type DeskAutomaticAuthorization = rpc.DeskAutomaticAuthorization
DeskAutomaticAuthorization is the standing mandate as the controller holds it.
type DeskBatchAuthorization ¶
type DeskBatchAuthorization = rpc.DeskBatchAuthorization
DeskBatchAuthorization is the one-use manual authorisation.
type DeskExecutionAdd ¶
type DeskExecutionAdd = rpc.DeskExecutionAdd
DeskExecutionAdd is an automatic stock entry.
type DeskExecutionBatchItem ¶
type DeskExecutionBatchItem = rpc.DeskExecutionBatchItem
DeskExecutionBatchItem is one confirmed batch item.
type DeskExecutionBatchTerms ¶
type DeskExecutionBatchTerms = rpc.DeskExecutionBatchTerms
DeskExecutionBatchTerms are a manual batch's confirmed terms.
type DeskExecutionCapabilitiesResult ¶
type DeskExecutionCapabilitiesResult = rpc.DeskExecutionCapabilitiesResult
DeskExecutionCapabilitiesResult lists the served desk.execution methods.
type DeskExecutionIntent ¶
type DeskExecutionIntent = rpc.DeskExecutionIntent
DeskExecutionIntent is one order's exact intent.
type DeskExecutionItem ¶
type DeskExecutionItem = rpc.DeskExecutionItem
DeskExecutionItem is one order request with its stable identities.
type DeskExecutionLookupParams ¶
type DeskExecutionLookupParams = rpc.DeskExecutionLookupParams
DeskExecutionLookupParams names requests by ID.
type DeskExecutionLookupResult ¶
type DeskExecutionLookupResult = rpc.DeskExecutionLookupResult
DeskExecutionLookupResult answers every named request.
type DeskExecutionPrepareBatchParams ¶
type DeskExecutionPrepareBatchParams = rpc.DeskExecutionPrepareBatchParams
DeskExecutionPrepareBatchParams names a manual batch's proposals.
type DeskExecutionPrepareBatchResult ¶
type DeskExecutionPrepareBatchResult = rpc.DeskExecutionPrepareBatchResult
DeskExecutionPrepareBatchResult carries batch terms and the private reference.
type DeskExecutionProposal ¶
type DeskExecutionProposal = rpc.DeskExecutionProposal
DeskExecutionProposal names one served proposal revision.
type DeskExecutionReceipt ¶
type DeskExecutionReceipt = rpc.DeskExecutionReceipt
DeskExecutionReceipt is one item's result.
type DeskExecutionSubmitParams ¶
type DeskExecutionSubmitParams = rpc.DeskExecutionSubmitParams
DeskExecutionSubmitParams sends items under exactly one authorisation.
type DeskExecutionSubmitResult ¶
type DeskExecutionSubmitResult = rpc.DeskExecutionSubmitResult
DeskExecutionSubmitResult reports every item in send order.
type DeskOverrideConfirmParams ¶
type DeskOverrideConfirmParams = rpc.DeskOverrideConfirmParams
DeskOverrideConfirmParams carries the terms and the device confirmation.
type DeskOverridePrepareParams ¶
type DeskOverridePrepareParams = rpc.DeskOverridePrepareParams
DeskOverridePrepareParams asks for the terms of one override.
type DeskOverridePrepared ¶
type DeskOverridePrepared = rpc.DeskOverridePrepared
DeskOverridePrepared carries the canonical terms and their digest.
type DeskOverrideTerms ¶
type DeskOverrideTerms = rpc.DeskOverrideTerms
DeskOverrideTerms are the exact override terms the owner confirms.
type Error ¶
type Error struct {
// Code classifies the failure.
Code string
// Message is the daemon's explanation.
Message string
}
Error is a failure the daemon reported. Code is one of the Code constants.
type FXBackfill ¶
type FXBackfill = rpc.FXBackfill
FXBackfill is the background statement acquisition progress.
type FXResult ¶
FXResult is the cached completed-day FX attribution returned by canary_reporting_fx. It contains no account identity or position details.
type FinancingCurrencyAmount ¶
type FinancingCurrencyAmount = rpc.FinancingCurrencyAmount
FinancingCurrencyAmount is known earned income in one native currency.
type FinancingFee ¶
type FinancingFee = rpc.FinancingFee
FinancingFee is one sanitized net earned fee, with optional conversion evidence.
type FinancingFeesParams ¶
type FinancingFeesParams = rpc.FinancingFeesParams
FinancingFeesParams selects a bounded canary_lending_fees read.
type FinancingFeesResult ¶
type FinancingFeesResult = rpc.FinancingFeesResult
FinancingFeesResult contains full-period totals and a separate filtered page.
type FinancingSummary ¶
type FinancingSummary = rpc.FinancingSummary
FinancingSummary is missing-aware earned-fee attribution for an exact period.
type LendingPosition ¶
type LendingPosition = rpc.LendingPosition
LendingPosition is a statement-dated managed-stock-loan annotation.
type Options ¶
type Options struct {
// SocketPath is the daemon's Unix socket. Empty selects the canonical
// path, which honours CANARY_SOCKET.
SocketPath string
// Executable is the canary binary whose daemon is started when the
// socket is absent. Empty disables that start; Call, Subscribe and
// Version then report ErrDaemonUnavailable until a daemon serves the
// socket.
Executable string
}
Options configures a Client. The zero value selects the canonical socket and never starts a daemon.
type OverrideRecord ¶
type OverrideRecord = rpc.OverrideRecord
OverrideRecord is one override as Canary keeps it; GrantedFrom is OverrideGrantedFromConsole for one granted on the owner's device.
type RiskPolicyWriteResult ¶
type RiskPolicyWriteResult = rpc.RiskPolicyWriteResult
RiskPolicyWriteResult is Canary's answer to a granted override, the override record (OverrideRecord) with it.
type SetCashSweepPriorityRequest ¶
type SetCashSweepPriorityRequest = rpc.SetCashSweepPriorityRequest
SetCashSweepPriorityRequest names one immutable ordering-preference edit.
type SetupBaseline ¶
type SetupBaseline = rpc.SetupBaseline
SetupBaseline contains one comparable prior-session slot observation.
type SetupContract ¶
type SetupContract = rpc.ContractParams
SetupContract preserves exact underlying identity for a setup evaluation.
type SetupCoverageContract ¶
type SetupCoverageContract = rpc.SetupCoverageContract
SetupCoverageContract is one contract's live setup evaluations in a session.
type SetupCoverageParams ¶
type SetupCoverageParams = rpc.SetupCoverageParams
SetupCoverageParams selects one retained session (default: the newest) and optionally one underlying symbol.
type SetupCoverageResult ¶
type SetupCoverageResult = rpc.SetupCoverageResult
SetupCoverageResult is the per-session instrument for live setup evaluations; it is operational evidence, never a signal or authority.
type SetupEvaluateParams ¶
type SetupEvaluateParams = rpc.SetupEvaluateParams
SetupEvaluateParams selects one underlying and an optional reconstruction clock.
type SetupFeatures ¶
type SetupFeatures = rpc.SetupFeatures
SetupFeatures contains measured, missing-aware setup values.
type SetupMarkoutTarget ¶
type SetupMarkoutTarget = rpc.SetupMarkoutTarget
SetupMarkoutTarget is one pending, captured or missing markout target.
type SetupMarkoutsParams ¶
type SetupMarkoutsParams = rpc.SetupMarkoutsParams
SetupMarkoutsParams filters the entry-markout read by order, fill date or symbol.
type SetupMarkoutsResult ¶
type SetupMarkoutsResult = rpc.SetupMarkoutsResult
SetupMarkoutsResult is the entry-markout ledger and its capture clock.
type SetupOptionCall ¶
type SetupOptionCall = rpc.SetupOptionCall
SetupOptionCall is one strike with optional indicative quote evidence.
type SetupOptionExpiry ¶
type SetupOptionExpiry = rpc.SetupOptionExpiry
SetupOptionExpiry is one observed standard-class expiry.
type SetupOptionQuote ¶
type SetupOptionQuote = rpc.SetupOptionQuote
SetupOptionQuote is the one dated quote for the exact selected call; its bid and ask are present only when its status is quoted.
type SetupOptionsParams ¶
type SetupOptionsParams = rpc.SetupOptionsParams
SetupOptionsParams chooses a listing stage or an exact standard call tuple.
type SetupOptionsResult ¶
type SetupOptionsResult = rpc.SetupOptionsResult
SetupOptionsResult is bounded option discovery without execution authority.
type SetupResult ¶
type SetupResult = rpc.SetupResult
SetupResult contains observed setup evidence without policy or order authority.
type Tool ¶
type Tool struct {
// Name is the tool name Call accepts.
Name string
// Title is the short human title.
Title string
// Description is the model-facing description.
Description string
// InputSchema is the JSON Schema for Call's args.
InputSchema json.RawMessage
// ReadOnly reports the catalogue's read-only hint. Every catalogue tool
// is read-only today; the field keeps a future write tool from passing
// as a read.
ReadOnly bool
// Methods lists the daemon methods the tool may invoke.
Methods []string
}
Tool describes one catalogue entry as canary mcp advertises it.
type TradeProposalAutomatic ¶
type TradeProposalAutomatic = rpc.TradeProposalAutomatic
TradeProposalAutomatic is a row's pre-authorisation record, as the daemon serves it on every proposal and on a veto's answer.
type TradeProposalVetoParams ¶
type TradeProposalVetoParams = rpc.TradeProposalVetoParams
TradeProposalVetoParams names the row (key and, optionally, revision), the reason and the origin of the owner's act. Notification actions also supply NoticeID and VetoUntil together; the daemon checks both against the stored window immediately before changing it. Omitting both retains the fresh console/terminal veto behavior. Notification requests use a distinct method so an older daemon refuses them instead of ignoring their conditions.
type TradeProposalVetoResult ¶
type TradeProposalVetoResult = rpc.TradeProposalVetoResult
TradeProposalVetoResult is the daemon's answer: whether it accepted, the row's automatic state afterwards and its words.
type WatchlistContract ¶
type WatchlistContract = rpc.WatchlistContract
WatchlistContract is a stock underlying; zero ConID is explicitly unresolved.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package canarytest runs a fake Canary daemon for tests of programs built on the canary client.
|
Package canarytest runs a fake Canary daemon for tests of programs built on the canary client. |
|
policyfile
Package policyfile serves the daemon's own cash policy methods on a canarytest fake daemon, over a temporary protection policy file: a client's end-to-end tests read, check and write the file exactly as the daemon does, and reread it afterwards.
|
Package policyfile serves the daemon's own cash policy methods on a canarytest fake daemon, over a temporary protection policy file: a client's end-to-end tests read, check and write the file exactly as the daemon does, and reread it afterwards. |
|
cmd
|
|
|
canary
command
Command canary provides terminal, MCP, app-host, and daemon entry points for the local trading harness.
|
Command canary provides terminal, MCP, app-host, and daemon entry points for the local trading harness. |
|
canary-sim
command
Command canary-sim (build it with -tags trading to place orders) runs the real Canary daemon against the TWS simulator in pkg/ibkr/twssim, in live mode against a placeholder account (U1234567), inside one directory of its own: socket, config, log, policies, state and home.
|
Command canary-sim (build it with -tags trading to place orders) runs the real Canary daemon against the TWS simulator in pkg/ibkr/twssim, in live mode against a placeholder account (U1234567), inside one directory of its own: socket, config, log, policies, state and home. |
|
opend-sim
command
Command opend-sim serves a synthetic OpenD on a loopback port, for Desk and CLI witnesses of the OpenD path.
|
Command opend-sim serves a synthetic OpenD on a loopback port, for Desk and CLI witnesses of the OpenD path. |
|
wire-assert
command
Command wire-assert reads a JSONL wire log (as emitted by IBKR_WIRE_LOG_PATH) and evaluates one named invariant against the frames produced after a given byte offset.
|
Command wire-assert reads a JSONL wire log (as emitted by IBKR_WIRE_LOG_PATH) and evaluates one named invariant against the frames produced after a given byte offset. |
|
internal
|
|
|
app
Package app assembles and runs the independently authenticated Canary HTTP and PWA host.
|
Package app assembles and runs the independently authenticated Canary HTTP and PWA host. |
|
app/alerts
Package alerts turns daemon-authored alert state into redacted app inbox records and Web Push work.
|
Package alerts turns daemon-authored alert state into redacted app inbox records and Web Push work. |
|
app/auth
Package auth manages Canary device pairing and app-session credentials.
|
Package auth manages Canary device pairing and app-session credentials. |
|
app/daemonclient
Package daemonclient adapts the app host to the daemon's typed RPC surface.
|
Package daemonclient adapts the app host to the daemon's typed RPC surface. |
|
app/http
Package apphttp registers the Canary app's authenticated HTTP routes and maps internal state and daemon RPC values onto explicit browser DTOs.
|
Package apphttp registers the Canary app's authenticated HTTP routes and maps internal state and daemon RPC values onto explicit browser DTOs. |
|
app/live
Package live maintains the app host's refreshable daemon snapshot and publishes change events to local subscribers.
|
Package live maintains the app host's refreshable daemon snapshot and publishes change events to local subscribers. |
|
app/push
Package push validates app-owned subscriptions and sends redacted Web Push payloads.
|
Package push validates app-owned subscriptions and sends redacted Web Push payloads. |
|
app/relay
Package relay connects the local Canary app host to an optional public relay.
|
Package relay connects the local Canary app host to an optional public relay. |
|
app/state
Package state owns the Canary app's private durable state, including paired devices, push subscriptions, redacted inbox records, attention cursors, and app-local delivery evidence.
|
Package state owns the Canary app's private durable state, including paired devices, push subscriptions, redacted inbox records, attention cursors, and app-local delivery evidence. |
|
breadth/spx
Package spx computes S&P 500 breadth measurements locally from a validated constituent universe and daily closes obtained through the daemon's broker connector.
|
Package spx computes S&P 500 breadth measurements locally from a validated constituent universe and daily closes obtained through the daemon's broker connector. |
|
broker
Package broker names the reads every broker must serve to the daemon: session health, account summary, positions, quotes, bars and instrument lookup.
|
Package broker names the reads every broker must serve to the daemon: session health, account summary, positions, quotes, bars and instrument lookup. |
|
broker/ibkr
Package ibkr adapts one *ibkr.Connector to the read seam in internal/broker.
|
Package ibkr adapts one *ibkr.Connector to the read seam in internal/broker. |
|
broker/opend
Package opend adapts the Futu OpenD client in pkg/futu to the daemon's read seam.
|
Package opend adapts the Futu OpenD client in pkg/futu to the daemon's read seam. |
|
chainrec
Package chainrec records a daily option-chain snapshot for research: one row per contract per run, with quotes, model greeks and open interest, so the desk owns its own options panel instead of buying one.
|
Package chainrec records a daily option-chain snapshot for research: one row per contract per run, with quotes, model greeks and open interest, so the desk owns its own options panel instead of buying one. |
|
cli
Package cli adapts typed daemon contracts and local workflows into Canary commands, machine-readable output, and terminal rendering.
|
Package cli adapts typed daemon contracts and local workflows into Canary commands, machine-readable output, and terminal rendering. |
|
config
Package config loads and validates operator-owned TOML configuration for gateway identity, daemon behavior, and capability enablement.
|
Package config loads and validates operator-owned TOML configuration for gateway identity, daemon behavior, and capability enablement. |
|
core
Package core is the strategy evaluator's arithmetic (internal-docs/design/strategy-evaluator.md): one fund held while a trend filter from a small library says so, sized so its volatility is at most its sleeve's risk allocation of the mandate's budget.
|
Package core is the strategy evaluator's arithmetic (internal-docs/design/strategy-evaluator.md): one fund held while a trend filter from a small library says so, sized so its volatility is at most its sleeve's risk allocation of the mandate's budget. |
|
daemon
Code generated by config-ref -policy-help; DO NOT EDIT.
|
Code generated by config-ref -policy-help; DO NOT EDIT. |
|
daemon/corestore
Package corestore owns the daemon's authoritative SQLite state in daemon.db.
|
Package corestore owns the daemon's authoritative SQLite state in daemon.db. |
|
dial
Package dial connects local adapters to the daemon's typed, newline-delimited
|
Package dial connects local adapters to the daemon's typed, newline-delimited |
|
discover
Package discover finds an IB Gateway or TWS endpoint on the local host when the user hasn't pinned one in config.
|
Package discover finds an IB Gateway or TWS endpoint on the local host when the user hasn't pinned one in config. |
|
edge
Package edge is Canary Edge's pure analytical core.
|
Package edge is Canary Edge's pure analytical core. |
|
feedback
Package feedback composes the redacted diagnostic report behind `canary feedback` and the `canary_feedback` MCP tool, and the GitHub new-issue URL that opens the bug report form prefilled with it.
|
Package feedback composes the redacted diagnostic report behind `canary feedback` and the `canary_feedback` MCP tool, and the GitHub new-issue URL that opens the bug report form prefilled with it. |
|
financing
Package financing deterministically projects managed stock lending and net earned fees from retained statement evidence.
|
Package financing deterministically projects managed stock lending and net earned fees from retained statement evidence. |
|
flexstmt
Package flexstmt parses IBKR Flex query statements into typed records for the post-trade reconciliation engine (internal-docs/design/post-trade-truth.md).
|
Package flexstmt parses IBKR Flex query statements into typed records for the post-trade reconciliation engine (internal-docs/design/post-trade-truth.md). |
|
ibkrledger
Package ibkrledger reads per-currency cash from an existing authenticated IBKR Web API session.
|
Package ibkrledger reads per-currency cash from an existing authenticated IBKR Web API session. |
|
logepisode
Package logepisode bounds repeated diagnostics without changing producer state.
|
Package logepisode bounds repeated diagnostics without changing producer state. |
|
loglevel
Package loglevel owns the shared log-verbosity contract for the daemon and the app host: one four-value level string, and a text handler that keeps process-lifecycle markers visible at any level.
|
Package loglevel owns the shared log-verbosity contract for the daemon and the app host: one four-value level string, and a text handler that keeps process-lifecycle markers visible at any level. |
|
logrotate
Package logrotate provides the size-capped log file writer shared by the daemon and the app host.
|
Package logrotate provides the size-capped log file writer shared by the daemon and the app host. |
|
macrosource
Package macrosource reads a fixed public economic-calendar and official-news source set.
|
Package macrosource reads a fixed public economic-calendar and official-news source set. |
|
mandate
Package mandate evaluates the owner's mandate risk budget (internal-docs/design/mandate-risk-budget.md): the loss measure, premium at risk on every bought option plus the cash loss to every armed share stop, against the loss the mandate still allows (the headline); and ex-ante portfolio volatility by historical simulation with full revaluation of every leg, named gap and index stresses, which sizes the sleeve allocations and reports the daily swing.
|
Package mandate evaluates the owner's mandate risk budget (internal-docs/design/mandate-risk-budget.md): the loss measure, premium at risk on every bought option plus the cash loss to every armed share stop, against the loss the mandate still allows (the headline); and ex-ante portfolio volatility by historical simulation with full revaluation of every leg, named gap and index stresses, which sizes the sleeve allocations and reports the daily swing. |
|
marketcal
Package marketcal queries embedded official exchange-session calendars without consulting broker contract metadata or the network.
|
Package marketcal queries embedded official exchange-session calendars without consulting broker contract metadata or the network. |
|
mcp
Package mcp adapts Canary's read-only desk tools to the Model Context Protocol over stdio.
|
Package mcp adapts Canary's read-only desk tools to the Model Context Protocol over stdio. |
|
procinfo
Package procinfo reads the identity of local processes for lifecycle commands (stop, restart, update activation) and best-effort discovery.
|
Package procinfo reads the identity of local processes for lifecycle commands (stop, restart, update activation) and best-effort discovery. |
|
productidentity
Package productidentity defines Canary's public executable identity and the durable pre-rename identifiers that must remain stable for safety.
|
Package productidentity defines Canary's public executable identity and the durable pre-rename identifiers that must remain stable for safety. |
|
publichttp
Package publichttp chooses the request identity Canary presents to public data sources.
|
Package publichttp chooses the request identity Canary presents to public data sources. |
|
redact
Package redact is Canary's one text redactor for free text that leaves the machine: the scheduled log monitor's samples and the `canary feedback` report.
|
Package redact is Canary's one text redactor for free text that leaves the machine: the scheduled log monitor's samples and the `canary feedback` report. |
|
regimerows
Package regimerows builds presentation-oriented regime rows, bands, and provenance labels from typed RPC results.
|
Package regimerows builds presentation-oriented regime rows, bands, and provenance labels from typed RPC results. |
|
register
Package register is the compiled side of the strategy register (internal-docs/design/strategy-register.md; owner decision 2026-10-18 09:01 CEST: "one register for all machine strategies, the ladder stage in Canary's risk policy, shadow on the production path, and strategies declaring the data Canary collects").
|
Package register is the compiled side of the strategy register (internal-docs/design/strategy-register.md; owner decision 2026-10-18 09:01 CEST: "one register for all machine strategies, the ladder stage in Canary's risk policy, shadow on the production path, and strategies declaring the data Canary collects"). |
|
risk
Package risk provides pure risk-policy evaluation and related domain contracts.
|
Package risk provides pure risk-policy evaluation and related domain contracts. |
|
rpc
Package rpc defines the stable method names, envelopes, and typed payloads broker authority remain in the daemon.
|
Package rpc defines the stable method names, envelopes, and typed payloads broker authority remain in the daemon. |
|
rpc/api
Package api declares every daemon method once, with the request it takes and the result it answers.
|
Package api declares every daemon method once, with the request it takes and the result it answers. |
|
scorecard
Package scorecard is the decision scorecard's pure core.
|
Package scorecard is the decision scorecard's pure core. |
|
setups
Package setups evaluates a fixed entry-observation template without I/O.
|
Package setups evaluates a fixed entry-observation template without I/O. |
|
strategy
Package strategy reconstructs conservative option-strategy groups from exact current position identities.
|
Package strategy reconstructs conservative option-strategy groups from exact current position identities. |
|
stress
Package stress composes the portfolio Stress assessment from typed account, position, regime, and market-event inputs.
|
Package stress composes the portfolio Stress assessment from typed account, position, regime, and market-event inputs. |
|
update
Package update implements the local self-update lifecycle: discover a published release, download and verify its signed artifacts, install the binary atomically under an install lock, and coordinate explicitly requested process restarts.
|
Package update implements the local self-update lifecycle: discover a published release, download and verify its signed artifacts, install the binary atomically under an install lock, and coordinate explicitly requested process restarts. |
|
xdgcache
Package xdgcache provides shared filesystem primitives for user data and caches: same-directory temp-and-rename replacement, non-blocking process locks, and XDG-aware cache-directory resolution.
|
Package xdgcache provides shared filesystem primitives for user data and caches: same-directory temp-and-rename replacement, non-blocking process locks, and XDG-aware cache-directory resolution. |
|
pkg
|
|
|
futu
Package futu implements a clean-room Go client for the Futu OpenD TCP protocol, the gateway process through which Futu and moomoo accounts are reached.
|
Package futu implements a clean-room Go client for the Futu OpenD TCP protocol, the gateway process through which Futu and moomoo accounts are reached. |
|
futu/futusim
Package futusim is a hermetic OpenD simulator: it speaks the real wire protocol of pkg/futu against a synthetic book, so the client, the daemon and the surfaces are proven without an OpenD, an account or the network.
|
Package futusim is a hermetic OpenD simulator: it speaks the real wire protocol of pkg/futu against a synthetic book, so the client, the daemon and the surfaces are proven without an OpenD, an account or the network. |
|
ibkr
Package ibkr implements a clean-room Go client for the Interactive Brokers TWS wire protocol.
|
Package ibkr implements a clean-room Go client for the Interactive Brokers TWS wire protocol. |
|
ibkr/internal/logging
Package logging is a tiny slog-backed shim that preserves the call-site API the ibkr package was originally written against (Component(name).Debugf/Infof/...).
|
Package logging is a tiny slog-backed shim that preserves the call-site API the ibkr package was originally written against (Component(name).Debugf/Infof/...). |
|
ibkr/twssim
Package twssim is a simulated TWS: a broker and market on a loopback TCP port that speaks the TWS API at server version 203, so the real daemon, its real IBKR connector and its wire codec run against it without TWS, an account or the network.
|
Package twssim is a simulated TWS: a broker and market on a loopback TCP port that speaks the TWS API at server version 203, so the real daemon, its real IBKR connector and its wire codec run against it without TWS, an account or the network. |
|
scripts
|
|
|
account-data
command
Command account-data prints the owner's current holdings and live money figures for the account-data gate (scripts/check-no-account-data.sh).
|
Command account-data prints the owner's current holdings and live money figures for the account-data gate (scripts/check-no-account-data.sh). |
|
app-log-audit
command
Command app-log-audit rejects production Canary app log emitters that can write physical lines without an explicit severity field.
|
Command app-log-audit rejects production Canary app log emitters that can write physical lines without an explicit severity field. |
|
check-mcp-server-card
command
Command check-mcp-server-card verifies that public MCP discovery metadata exposes exactly the canonical runtime tool names and input schemas.
|
Command check-mcp-server-card verifies that public MCP discovery metadata exposes exactly the canonical runtime tool names and input schemas. |
|
docgen/broker-coverage
command
Command broker-coverage emits the broker coverage page from the daemon's coverage table (internal/daemon/coverage.go): what each broker supplies, how each Canary capability runs on it, and why one is not served on OpenD. The same table decides what the daemon refuses under OpenD, so the page cannot drift from the behaviour.
|
Command broker-coverage emits the broker coverage page from the daemon's coverage table (internal/daemon/coverage.go): what each broker supplies, how each Canary capability runs on it, and why one is not served on OpenD. The same table decides what the daemon refuses under OpenD, so the page cannot drift from the behaviour. |
|
docgen/cli-ref
command
Command cli-ref emits docs/docs/reference/cli.md from the CLI command registry.
|
Command cli-ref emits docs/docs/reference/cli.md from the CLI command registry. |
|
docgen/config-ref
command
Command config-ref emits docs/docs/reference/config.md from two kinds of
|
Command config-ref emits docs/docs/reference/config.md from two kinds of |
|
docgen/edge-flex
command
Command edge-flex emits the Canary reporting Flex-query reference from the parser's canonical manifest.
|
Command edge-flex emits the Canary reporting Flex-query reference from the parser's canonical manifest. |
|
docgen/mcp-tools
command
Command mcp-tools emits docs/docs/reference/mcp-tools.md from the canonical tool registry at internal/mcp.Tools.
|
Command mcp-tools emits docs/docs/reference/mcp-tools.md from the canonical tool registry at internal/mcp.Tools. |
|
go-doc-audit
command
Command go-doc-audit reports missing, duplicated, and malformed Go documentation comments without evaluating build constraints.
|
Command go-doc-audit reports missing, duplicated, and malformed Go documentation comments without evaluating build constraints. |
|
log-monitor
command
Command log-monitor incrementally reads Canary daemon and app logs and reports incidents, not line shapes.
|
Command log-monitor incrementally reads Canary daemon and app logs and reports incidents, not line shapes. |
|
refresh-fund-sectors
command
Command refresh-fund-sectors rewrites internal/daemon/fund_sectors_data.go with SPY's GICS sector split.
|
Command refresh-fund-sectors rewrites internal/daemon/fund_sectors_data.go with SPY's GICS sector split. |
|
refresh-spx-members
command
Command refresh-spx-members pulls the current S&P-500 constituent list from Wikipedia's "List of S&P 500 companies" article and rewrites internal/breadth/spx/members_data.go with the result.
|
Command refresh-spx-members pulls the current S&P-500 constituent list from Wikipedia's "List of S&P 500 companies" article and rewrites internal/breadth/spx/members_data.go with the result. |
|
release-ci-wait
command
Command release-ci-wait waits for one active GitHub Actions workflow and its exact required job set to succeed for a specific commit, branch, and event.
|
Command release-ci-wait waits for one active GitHub Actions workflow and its exact required job set to succeed for a specific commit, branch, and event. |
|
release-registry-server
command
Command release-registry-server derives a versioned MCP Registry document from an explicit release-tag server.json template and the release bundle's SHA-256 digest.
|
Command release-registry-server derives a versioned MCP Registry document from an explicit release-tag server.json template and the release bundle's SHA-256 digest. |
|
release-sign-ed25519
command
Command release-sign-ed25519 creates or verifies Canary's compact detached release signature.
|
Command release-sign-ed25519 creates or verifies Canary's compact detached release signature. |
|
store-compat
command
Command store-compat is the store-compatibility gate: a daemon must start on the store the previous build wrote, and the previous build must start on the store the candidate wrote, or an install cannot be rolled back.
|
Command store-compat is the store-compatibility gate: a daemon must start on the store the previous build wrote, and the previous build must start on the store the candidate wrote, or an install cannot be rolled back. |
|
web
|
|
|
app
Package appweb embeds the static Canary PWA assets served by the app host.
|
Package appweb embeds the static Canary PWA assets served by the app host. |
