Files
ThothII/tools/tht/internal/setup/request.go
T
Codex d8a29bfbdd Add full shell, replaceable Omics adapter and bilingual interaction
Implement approved specification #32 and tickets #33-#37. Keep host authentication server-verified and pin session interaction language. Compile scoped base selectors for browser compatibility and retain full gutters during CSS pruning.
2026-09-13 14:26:39 +02:00

52 lines
1.6 KiB
Go

// Package setup creates the local, non-secret configuration selected by tht setup.
package setup
// Request contains the stable setup-file inputs. Task 5 will use ConfigureOnly when it adds
// Compose validation and lifecycle orchestration.
type Request struct {
ProjectRoot string
InstallationID string
Profile string
ConfigureOnly bool
NonInteractive bool
Answers Answers
}
// Answers are optional explicit answers supplied by command flags. Empty values may be supplied
// through THT_SETUP_* environment variables or collected interactively.
type Answers struct {
ShellMode string
ShellDefaultLocale string
ShellAdapter string
WorkspaceRemote string
WorkspaceBranch string
WorkspaceAccess string
DWHRESTURL string
LLMURL string
SecretsFile string
PiAuthFile string
GitCredentialsFile string
GitCAFile string
GitSSHKeyFile string
GitKnownHostsFile string
AuthMode string
AuthPublicURL string
AuthAdminUser string
AuthAdminDisplayName string
AuthPasswordFile string
AuthIssuer string
AuthClientID string
AuthAuthentikBaseURL string
AuthUserGroup string
AuthAdminGroup string
CreateSecretTemplates bool
}
// FilesResult identifies configuration written or validated by EnsureFiles. Created contains
// only files created during this invocation, in deterministic order.
type FilesResult struct {
DescriptorPath string
EnvironmentPath string
Created []string
}