@lattices/cli 0.4.1 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/app/Info.plist +2 -2
- package/app/Lattices.app/Contents/Info.plist +2 -2
- package/app/Lattices.app/Contents/MacOS/Lattices +0 -0
- package/app/Package.swift +6 -0
- package/app/Sources/ActionRow.swift +43 -26
- package/app/Sources/App.swift +10 -0
- package/app/Sources/AppDelegate.swift +91 -30
- package/app/Sources/AppShellView.swift +2 -0
- package/app/Sources/AppTypeClassifier.swift +36 -0
- package/app/Sources/AppUpdater.swift +92 -0
- package/app/Sources/CheatSheetHUD.swift +1 -0
- package/app/Sources/CliActionLauncher.swift +50 -0
- package/app/Sources/CommandModeView.swift +4 -24
- package/app/Sources/CompanionActivityLog.swift +70 -0
- package/app/Sources/CompanionKeyboardController.swift +141 -0
- package/app/Sources/DesktopModel.swift +4 -0
- package/app/Sources/HandsOffSession.swift +53 -16
- package/app/Sources/HomeDashboardView.swift +18 -10
- package/app/Sources/HotkeyStore.swift +8 -5
- package/app/Sources/IntentEngine.swift +7 -1
- package/app/Sources/LatticesApi.swift +125 -4
- package/app/Sources/LatticesCompanionBridgeServer.swift +438 -0
- package/app/Sources/LatticesCompanionCockpit.swift +555 -0
- package/app/Sources/LatticesCompanionSecurityCoordinator.swift +594 -0
- package/app/Sources/LatticesCompanionTrackpadController.swift +204 -0
- package/app/Sources/LatticesDeckHost.swift +1463 -0
- package/app/Sources/LatticesRuntime.swift +61 -0
- package/app/Sources/MainView.swift +398 -186
- package/app/Sources/MouseFinder.swift +335 -30
- package/app/Sources/MouseGestureConfig.swift +364 -0
- package/app/Sources/MouseGestureController.swift +1203 -0
- package/app/Sources/MouseInputDeviceStore.swift +98 -0
- package/app/Sources/MouseInputEventViewer.swift +272 -0
- package/app/Sources/MouseShortcutStore.swift +107 -0
- package/app/Sources/OmniSearchView.swift +136 -2
- package/app/Sources/OmniSearchWindow.swift +65 -5
- package/app/Sources/OnboardingView.swift +30 -16
- package/app/Sources/PaletteCommand.swift +26 -6
- package/app/Sources/PermissionChecker.swift +76 -2
- package/app/Sources/PiAuthNextStepCard.swift +148 -0
- package/app/Sources/PiAuthPromptCard.swift +90 -0
- package/app/Sources/PiChatDock.swift +137 -74
- package/app/Sources/PiChatSession.swift +608 -108
- package/app/Sources/PiInstallCallout.swift +86 -0
- package/app/Sources/PiProviderSetupCallout.swift +99 -0
- package/app/Sources/PiWorkspaceView.swift +174 -77
- package/app/Sources/Preferences.swift +78 -0
- package/app/Sources/ScreenMapState.swift +91 -31
- package/app/Sources/ScreenMapView.swift +510 -524
- package/app/Sources/ScreenMapWindowController.swift +12 -4
- package/app/Sources/SettingsView.swift +869 -152
- package/app/Sources/SystemTelemetryMonitor.swift +273 -0
- package/app/Sources/VoiceCommandWindow.swift +23 -2
- package/app/Sources/WindowDragSnapController.swift +628 -0
- package/app/Sources/WindowTiler.swift +328 -65
- package/app/Sources/WorkspaceManager.swift +288 -0
- package/bin/assistant-intelligence.ts +874 -0
- package/bin/handsoff-infer.ts +16 -209
- package/bin/handsoff-worker.ts +45 -258
- package/bin/lattices-app.ts +65 -1
- package/bin/lattices-dev +4 -0
- package/bin/lattices.ts +125 -14
- package/docs/agents.md +14 -0
- package/docs/api.md +55 -0
- package/docs/app.md +3 -0
- package/docs/companion-deck.md +180 -0
- package/docs/config.md +25 -0
- package/docs/tiling-reference.md +55 -0
- package/docs/voice-error-model.md +73 -0
- package/package.json +4 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import AppKit
|
|
2
2
|
import SwiftUI
|
|
3
3
|
|
|
4
|
-
/// Manages the unified app window (
|
|
4
|
+
/// Manages the unified app window (Home + Layout + Search + Settings).
|
|
5
5
|
/// Singleton with show/close/toggle, plus showPage() for navigation.
|
|
6
6
|
final class ScreenMapWindowController: ObservableObject {
|
|
7
7
|
static let shared = ScreenMapWindowController()
|
|
8
8
|
|
|
9
9
|
private var window: NSWindow?
|
|
10
10
|
private var controller: ScreenMapController?
|
|
11
|
-
@Published var activePage: AppPage = .
|
|
11
|
+
@Published var activePage: AppPage = .home
|
|
12
12
|
|
|
13
13
|
var isVisible: Bool { window?.isVisible ?? false }
|
|
14
14
|
|
|
@@ -23,7 +23,7 @@ final class ScreenMapWindowController: ObservableObject {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
/// Show the window on the current page (defaults to
|
|
26
|
+
/// Show the window on the current page (defaults to Home).
|
|
27
27
|
func show() {
|
|
28
28
|
if let existing = window {
|
|
29
29
|
if activePage == .screenMap {
|
|
@@ -78,6 +78,14 @@ final class ScreenMapWindowController: ObservableObject {
|
|
|
78
78
|
show()
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
func showScreenMapOverview() {
|
|
82
|
+
activePage = .screenMap
|
|
83
|
+
show()
|
|
84
|
+
DispatchQueue.main.async { [weak self] in
|
|
85
|
+
self?.controller?.focusViewportPreset(.overview)
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
81
89
|
/// Open screen map focused on a specific window.
|
|
82
90
|
func showWindow(wid: UInt32) {
|
|
83
91
|
activePage = .screenMap
|
|
@@ -105,7 +113,7 @@ final class ScreenMapWindowController: ObservableObject {
|
|
|
105
113
|
window?.orderOut(nil)
|
|
106
114
|
window = nil
|
|
107
115
|
controller = nil
|
|
108
|
-
activePage = .
|
|
116
|
+
activePage = .home
|
|
109
117
|
AppDelegate.updateActivationPolicy()
|
|
110
118
|
}
|
|
111
119
|
}
|