Files
weichen 0d74ec94dd Implement the backend: store/bus/runmgr core
Details (original message):
Implement the backend: store/bus/runmgr core, mock and LLM runners (agent-native client), HITL three-branch routing, subagent runs, builtin and declarative HTTP tools, ingest parsers (md/txt/docx/pdf-text), knowledge fulltext, layered settings, profiles, plugin host, REST+SSE API, single-binary entrypoint; e2e and unit tests.
2026-09-29 17:53:24 +00:00

16 lines
462 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Package web 内嵌前端构建产物(go:embed)。
// 构建流程:Frontend 仓 npm run build → 拷贝 dist/* 到本目录 dist/(Dev Makefile)。
// 空目录时保留 .gitkeep,embed 用 dist/* 通配以允许空构建(仅 API 模式)。
package web
import (
"embed"
"io/fs"
)
//go:embed all:dist
var distFS embed.FS
// Dist 返回前端文件系统(根即 index.html)。
func Dist() (fs.FS, error) { return fs.Sub(distFS, "dist") }