host

package
v0.2.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package host is the CLI-independent external-host conformance harness for Codefly Toolboxes. Mind and other hosts can import this package to prove the complete supported session path without depending on Codefly command wiring.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdentityProof

type IdentityProof struct {
	ContractVersion string
	ToolboxName     string
	ToolboxVersion  string
	ToolNames       []string
	CatalogDigest   string
	RequestDigest   string
	InvocationID    string
	AuthorizationID string
	RequestID       string
	ObjectiveID     string
	TaskID          string
	TraceID         string
	ReleaseID       string
}

IdentityProof is deliberately evidence-only. It never returns arguments, model content, credentials, authorization tokens, or principal/tenant data.

func RunIdentityProof

func RunIdentityProof(ctx context.Context, options IdentityProofOptions) (_ *IdentityProof, returnErr error)

RunIdentityProof performs the first CF1 demonstrable path: list summaries, describe the fixture identity tool, authorize an exact request, invoke the guarded process, validate its structured contract, and clean up.

type IdentityProofOptions

type IdentityProofOptions struct {
	Session     session.Options
	RequestID   string
	ObjectiveID string
	TaskID      string
}

IdentityProofOptions supplies trusted session composition plus optional correlation identifiers. Session.Options owns authority; these IDs do not.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL