assets

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	References tools.References
	Prompts    Prompts
	Styles     map[string]string
	// RulesFS 是 assets/rules 子树(包含 default.md 与 genres/)。
	// 调用方传给 rules.Load 作为内置规则来源。
	RulesFS fs.FS
}

Bundle 表示运行所需的静态资源集合。

func Load

func Load(style string) Bundle

Load 返回指定风格对应的资源集合。

type Prompts

type Prompts struct {
	Coordinator      string
	ArchitectShort   string
	ArchitectLong    string
	Writer           string
	Editor           string
	ImportFoundation string
	ImportAnalyzer   string
}

Prompts 表示嵌入的提示词集合。

Jump to

Keyboard shortcuts

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