platformmeta

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IDs

func IDs() []string

Types

type ContextStrategy

type ContextStrategy string
const (
	ContextStrategyNone              ContextStrategy = ""
	ContextStrategyGeminiPrimaryRoot ContextStrategy = "gemini_primary_root"
)

type LauncherMeta

type LauncherMeta struct {
	Requirement LauncherRequirement
}

type LauncherRequirement

type LauncherRequirement string
const (
	LauncherRequired LauncherRequirement = "required"
	LauncherOptional LauncherRequirement = "optional"
	LauncherIgnored  LauncherRequirement = "ignored"
)

type ManagedArtifactKind

type ManagedArtifactKind string
const (
	ManagedArtifactStatic          ManagedArtifactKind = "static"
	ManagedArtifactMirror          ManagedArtifactKind = "mirror"
	ManagedArtifactPortableMCP     ManagedArtifactKind = "portable_mcp"
	ManagedArtifactPortableSkills  ManagedArtifactKind = "portable_skills"
	ManagedArtifactSelectedContext ManagedArtifactKind = "selected_context"
)

type ManagedArtifactSpec

type ManagedArtifactSpec struct {
	Kind          ManagedArtifactKind
	Path          string
	ComponentKind string
	SourceRoot    string
	OutputRoot    string
	ContextMode   ContextStrategy
}

type NativeDocFormat

type NativeDocFormat string
const (
	NativeDocYAML     NativeDocFormat = "yaml"
	NativeDocJSON     NativeDocFormat = "json"
	NativeDocTOML     NativeDocFormat = "toml"
	NativeDocMarkdown NativeDocFormat = "md"
)

type NativeDocRole

type NativeDocRole string
const (
	NativeDocRoleStructured NativeDocRole = "structured"
	NativeDocRoleExtra      NativeDocRole = "extra"
)

type NativeDocSpec

type NativeDocSpec struct {
	Kind        string
	Path        string
	Format      NativeDocFormat
	Role        NativeDocRole
	ManagedKeys []string
}

type PlatformFamily

type PlatformFamily string
const (
	FamilyPackagedRuntime  PlatformFamily = "packaged_runtime"
	FamilyExtensionPackage PlatformFamily = "extension_package"
	FamilyCodePlugin       PlatformFamily = "code_plugin"
	FamilyIDEPlugin        PlatformFamily = "ide_plugin"
)

type PlatformProfile

type PlatformProfile struct {
	ID               string
	Contract         TargetContractMeta
	SDK              SDKMeta
	Launcher         LauncherMeta
	NativeDocs       []NativeDocSpec
	SurfaceTiers     []SurfaceSupport
	ManagedArtifacts []ManagedArtifactSpec
	Scaffold         ScaffoldMeta
	Validate         ValidateMeta
}

func All

func All() []PlatformProfile

func Lookup

func Lookup(name string) (PlatformProfile, bool)

type SDKMeta

type SDKMeta struct {
	PublicPackage   string
	InternalPackage string
	InternalImport  string
	Status          SupportStatus
	TransportModes  []TransportMode
	LiveTestProfile string
}

type ScaffoldMeta

type ScaffoldMeta struct {
	RequiredFiles  []string
	OptionalFiles  []string
	ForbiddenFiles []string
	TemplateFiles  []TemplateFile
}

type SupportStatus

type SupportStatus string
const (
	StatusRuntimeSupported SupportStatus = "runtime_supported"
	StatusScaffoldOnly     SupportStatus = "scaffold_only"
	StatusDeferred         SupportStatus = "deferred"
)

type SurfaceSupport

type SurfaceSupport struct {
	Kind string
	Tier SurfaceTier
}

type SurfaceTier

type SurfaceTier string
const (
	SurfaceTierStable          SurfaceTier = "stable"
	SurfaceTierBeta            SurfaceTier = "beta"
	SurfaceTierPreview         SurfaceTier = "preview"
	SurfaceTierPassthroughOnly SurfaceTier = "passthrough_only"
	SurfaceTierUnsupported     SurfaceTier = "unsupported"
)

type TargetContractMeta

type TargetContractMeta struct {
	PlatformFamily         PlatformFamily
	TargetClass            string
	TargetNoun             string
	ProductionClass        string
	RuntimeContract        string
	InstallModel           string
	DevModel               string
	ActivationModel        string
	NativeRoot             string
	ImportSupport          bool
	RenderSupport          bool
	ValidateSupport        bool
	PortableComponentKinds []string
	TargetComponentKinds   []string
	Summary                string
}

type TemplateFile

type TemplateFile struct {
	Path     string
	Template string
	Extra    bool
}

type TransportMode

type TransportMode string
const (
	TransportProcess TransportMode = "process"
	TransportHybrid  TransportMode = "hybrid"
	TransportDaemon  TransportMode = "daemon"
)

type ValidateMeta

type ValidateMeta struct {
	RequiredFiles  []string
	ForbiddenFiles []string
	BuildTargets   []string
}

Jump to

Keyboard shortcuts

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