headless

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg bootstrap.Config, bundle assets.Bundle, opts Options) error

Run 以无界面模式运行会话内核,直接消费 Engine 事件与流式输出。 未来若新增“续写已有小说”等共享启动方式,不应直接堆到这里, 而应先落到 internal/entry/startup,再由 headless 入口调用。

Types

type Options

type Options struct {
	Prompt string
	Stdout io.Writer
	Stderr io.Writer
}

Jump to

Keyboard shortcuts

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