native macOS codings agent orchestrator
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

stuff

khoi 1f07873d 6dec82f2

+27 -27
+1 -1
supacode/Features/CommandPalette/Reducer/CommandPaletteFeature.swift
··· 333 333 subtitle: pullRequest.title, 334 334 kind: .openPullRequest(worktreeID), 335 335 priorityTier: 2 336 - ) 336 + ), 337 337 ] 338 338 339 339 if let readyItem = makeReadyItem() {
+2 -2
supacode/Features/Repositories/Reducer/RepositoriesFeature.swift
··· 2008 2008 var effects: [Effect<Action>] = [ 2009 2009 .run { _ in 2010 2010 await repositoryPersistence.savePinnedWorktreeIDs(pinnedWorktreeIDs) 2011 - } 2011 + }, 2012 2012 ] 2013 2013 if didUpdateWorktreeOrder { 2014 2014 let worktreeOrderByRepository = state.worktreeOrderByRepository ··· 2035 2035 var effects: [Effect<Action>] = [ 2036 2036 .run { _ in 2037 2037 await repositoryPersistence.savePinnedWorktreeIDs(pinnedWorktreeIDs) 2038 - } 2038 + }, 2039 2039 ] 2040 2040 if didUpdateWorktreeOrder { 2041 2041 let worktreeOrderByRepository = state.worktreeOrderByRepository
+11 -11
supacodeTests/AgentHookSettingsFileInstallerTests.swift
··· 36 36 "type": "command", 37 37 "command": .string(AgentHookSettingsCommand.busyCommand(active: false)), 38 38 "timeout": 10, 39 - ]) 40 - ]) 41 - ]) 42 - ] 39 + ]), 40 + ]), 41 + ]), 42 + ], 43 43 ] 44 44 } 45 45 ··· 113 113 .object([ 114 114 "type": "command", 115 115 "command": "SUPACODE_CLI_PATH agent-hook --stop", 116 - ]) 117 - ]) 118 - ]) 119 - ]) 120 - ]) 116 + ]), 117 + ]), 118 + ]), 119 + ]), 120 + ]), 121 121 ]) 122 122 try fileManager.createDirectory( 123 123 at: url.deletingLastPathComponent(), ··· 163 163 .object([ 164 164 "type": "command", 165 165 "command": "echo third-party", 166 - ]) 167 - ]) 166 + ]), 167 + ]), 168 168 ])) 169 169 hooks["Stop"] = .array(stopGroups) 170 170 root["hooks"] = .object(hooks)
+3 -3
supacodeTests/CommandPaletteFeatureTests.swift
··· 49 49 copyIgnored: false, 50 50 copyUntracked: false 51 51 ) 52 - ) 52 + ), 53 53 ] 54 54 55 55 let items = CommandPaletteFeature.commandPaletteItems(from: state) ··· 74 74 description: "Focus the split to the right.", 75 75 action: "goto_split:right", 76 76 actionKey: "goto_split" 77 - ) 77 + ), 78 78 ] 79 79 ) 80 80 ··· 98 98 description: "", 99 99 action: "goto_split:right", 100 100 actionKey: "goto_split" 101 - ) 101 + ), 102 102 ] 103 103 ) 104 104
+6 -6
supacodeTests/RepositoriesFeatureTests.swift
··· 884 884 stage: .loadingLocalBranches, 885 885 worktreeName: "feature/new-branch" 886 886 ) 887 - ) 887 + ), 888 888 ] 889 889 $0.selection = SidebarSelection.worktree(pendingID) 890 890 $0.sidebarSelectedWorktreeIDs = [pendingID] ··· 1505 1505 id: pendingID, 1506 1506 repositoryID: repository.id, 1507 1507 progress: WorktreeCreationProgress(stage: .loadingLocalBranches) 1508 - ) 1508 + ), 1509 1509 ] 1510 1510 let store = TestStore(initialState: state) { 1511 1511 RepositoriesFeature() ··· 1542 1542 stage: .checkingRepositoryMode, 1543 1543 worktreeName: "swift-otter" 1544 1544 ) 1545 - ) 1545 + ), 1546 1546 ] 1547 1547 let store = TestStore(initialState: state) { 1548 1548 RepositoriesFeature() ··· 1739 1739 addedLines: nil, 1740 1740 removedLines: nil, 1741 1741 pullRequest: makePullRequest(state: "MERGED") 1742 - ) 1742 + ), 1743 1743 ] 1744 1744 let fixedDate = Date(timeIntervalSince1970: 1_000_000) 1745 1745 let store = TestStore(initialState: state) { ··· 2943 2943 id: removedWorktree.id, 2944 2944 repositoryID: repository.id, 2945 2945 progress: WorktreeCreationProgress(stage: .choosingWorktreeName) 2946 - ) 2946 + ), 2947 2947 ] 2948 2948 initialState.pinnedWorktreeIDs = [removedWorktree.id] 2949 2949 initialState.worktreeInfoByID = [ ··· 3026 3026 id: pendingID, 3027 3027 repositoryID: repository.id, 3028 3028 progress: WorktreeCreationProgress(stage: .loadingLocalBranches) 3029 - ) 3029 + ), 3030 3030 ] 3031 3031 initialState.selection = .worktree(pendingID) 3032 3032 initialState.sidebarSelectedWorktreeIDs = [existingWorktree.id, pendingID]
+1 -1
supacodeTests/TerminalLayoutSnapshotTests.swift
··· 89 89 tintColor: nil, 90 90 layout: .leaf(TerminalLayoutSnapshot.SurfaceSnapshot(id: nil, workingDirectory: "/home")), 91 91 focusedLeafIndex: 0 92 - ) 92 + ), 93 93 ], 94 94 selectedTabIndex: 0 95 95 )
+3 -3
supacodeTests/WorktreeTerminalManagerTests.swift
··· 166 166 title: "Unread", 167 167 body: "body", 168 168 isRead: false 169 - ) 169 + ), 170 170 ] 171 171 state.onNotificationIndicatorChanged?() 172 172 state.notifications = [ ··· 175 175 title: "Read", 176 176 body: "body", 177 177 isRead: true 178 - ) 178 + ), 179 179 ] 180 180 181 181 let stream = manager.eventStream() ··· 841 841 ) 842 842 ), 843 843 focusedLeafIndex: 0 844 - ) 844 + ), 845 845 ], 846 846 selectedTabIndex: 0 847 847 )