attachstage

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package attachstage holds the pure logic for combining CLI/TUI staged attachments with inline @path files from a slash action. It lives in its own package so both the cmd (CLI REPL) and tui frontends can reuse BuildSend without a cmd→tui dependency.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSend

func BuildSend(pending []StagedFile, action slash.Action) ([]string, map[string]attachments.Override)

BuildSend combines staged files (first) with the action's inline @path files, and builds the transcribe-only override map.

Types

type StagedFile

type StagedFile struct {
	Path       string
	Transcribe bool
}

StagedFile is a file staged via /attach, awaiting the next send.

Jump to

Keyboard shortcuts

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