invocation

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package invocation defines product-owned metadata for resources explicitly invoked by a user message. It gives persistence and UI contracts a stable identity independent of the user-visible command text.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kind

type Kind string
const PromptTemplate Kind = "prompt_template"

type Record

type Record struct {
	Kind   Kind   `json:"kind"`
	Name   string `json:"name"`
	Source string `json:"source"`
	Path   string `json:"path"`
}

Record identifies the exact resource the backend resolved for one user message. Source and Path describe the resolved resource, not client input.

func (Record) Validate

func (r Record) Validate() error

Jump to

Keyboard shortcuts

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