intent

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package intent carries user intents from the UI to the harness, the input side of the uievent contract. This phase ships only what ports.Conversation.Send needs to type-check; Cancel/SwitchModel/Approve and their kin are added when a consumer needs them.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Send

type Send struct {
	Text string

	// PersistedText, when non-empty, is what enters conversation history and
	// gets replayed on every later turn - Text is what the provider sees for
	// THIS request only. Empty means the two are identical (the ordinary
	// case). Exists for UI-only expansions such as slash skills, whose full
	// instruction body (thousands of tokens) belongs in the one request that
	// needs it, not in a permanent history entry replayed forever after.
	PersistedText string
}

Send is a user's chat submission.

Jump to

Keyboard shortcuts

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