30 lines
753 B
Go
30 lines
753 B
Go
package app
|
|
|
|
import (
|
|
"github.com/hjbdev/patterm/internal/mcp"
|
|
"github.com/hjbdev/patterm/internal/persist"
|
|
"github.com/hjbdev/patterm/internal/preset"
|
|
"github.com/hjbdev/patterm/internal/scratchpad"
|
|
"github.com/hjbdev/patterm/internal/trust"
|
|
)
|
|
|
|
// headlessCore is the daemon-owned half of today's single-process app. It is
|
|
// intentionally small for the foundation phase: it groups process/project
|
|
// state while the existing loopback client still renders in-process.
|
|
type headlessCore struct {
|
|
projectDir string
|
|
projectKey string
|
|
|
|
presets preset.Set
|
|
settings settings
|
|
|
|
pads *scratchpad.Store
|
|
trustStore *trust.Store
|
|
persistStore *persist.Store
|
|
|
|
mcpSrv *mcp.Server
|
|
sess *Session
|
|
launcher *Launcher
|
|
host *toolHost
|
|
}
|