models

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Version string `yaml:"version"` // 版本号,用于升级时判断
	AIC     struct {
		BaseURL string `yaml:"base_url"` // AIC 服务器地址
		Token   string `yaml:"token"`    // 认证 Token
	} `yaml:"aic"`
	Skills struct {
		GlobalDir    string `yaml:"global_dir"`    // 全局skills存储目录
		DefaultMode  string `yaml:"default_mode"`  // 默认安装模式: copy 或 symlink
		DefaultAgent string `yaml:"default_agent"` // 默认目标 Agent: claude, cursor, windsurf 等
	} `yaml:"skills"`
	Log struct {
		Level      string `yaml:"level"`
		MaxSize    int    `yaml:"maxSize"`
		MaxBackups int    `yaml:"maxBackups"`
		MaxAge     int    `yaml:"maxAge"`
		Compress   bool   `yaml:"compress"`
	} `yaml:"log"`
}

type LinksConfig

type LinksConfig struct {
	Links []SkillLink `json:"links"`
}

LinksConfig 存储所有软连接映射

type SkillLink struct {
	Name       string `json:"name"`        // skill 名称
	GlobalPath string `json:"global_path"` // 全局目录路径
	LinkPath   string `json:"link_path"`   // 软连接路径
	AddedAt    string `json:"added_at"`    // 添加时间
}

SkillLink 表示一个 skill 的软连接映射

Jump to

Keyboard shortcuts

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