chore: Sprachmittler OpenCode starter kit
This commit is contained in:
commit
374085ec2f
94 files changed
+4563
No files matched your search
@@ -0,0 +1,19 @@
|
||||
import AppKit
|
||||
import SprachmittlerCore
|
||||
|
||||
/// Lifecycle glue: composition root, Services provider, double-copy watcher, termination.
|
||||
@MainActor
|
||||
final class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
func applicationDidFinishLaunching(_ notification: Notification) {
|
||||
// Build AppEnvironment here (composition root): settings, Ollama services, session,
|
||||
// double-copy watcher and panel controller. Start the watcher only after explicit consent.
|
||||
//
|
||||
// The Services provider is wired here once SprachmittlerCapture.ServicesProvider exists:
|
||||
// NSApp.servicesProvider = servicesProvider
|
||||
// NSUpdateDynamicServices()
|
||||
}
|
||||
|
||||
func applicationWillTerminate(_ notification: Notification) {
|
||||
// Cancel in-flight translations, stop the pasteboard watcher and close the panel.
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user