feat(01-01): boot hello app and dispatch greeter:hello

- Add party plugin registry with Register-before-Boot activation
- Add backpack, compass, bonfire, and pact capability interfaces
- Add examples/hello with two compiled plugin modules
This commit is contained in:
Jakub Zych
2026-09-16 12:57:18 +02:00
parent 552cadbdf9
commit 96a8d38be2
26 changed files with 982 additions and 0 deletions

13
backpack/app.go Normal file
View File

@@ -0,0 +1,13 @@
package backpack
import "git.golem15.com/golem15/summercms/compass"
// App is the per-instance application container. It must not import party.
type App struct {
Config *compass.Config
}
// New returns an App that owns cfg.
func New(cfg *compass.Config) *App {
return &App{Config: cfg}
}