1135 Commits

Author SHA1 Message Date
samdickson22
c812f87c51 fix: use Option symbol (⌥) for consistency with other shortcuts
Use the Option symbol (⌥) instead of text 'Option' to match how keyboard
shortcuts are displayed elsewhere in the UI, maintaining consistency with
symbols like ⌘ for Command
2025-08-10 17:12:24 -07:00
dexhorthy
aecd0cd6b9 feat: change rename session hotkey from Command+R to Shift+R
Changed the session rename hotkey from Command+R (meta+r) to Shift+R
to reserve Command+R for potential future use as a reload function.
This affects both the session list and session detail views.
2025-08-10 19:20:59 -04:00
Dex
2cdce1e12a Merge pull request #419 from humanlayer/dexhorthy-patch-4
Update CONTRIBUTING.md with codelayer instructions
20250811-nightly-test
2025-08-10 16:16:03 -07:00
Dex
db1ab11183 Update CONTRIBUTING.md 2025-08-10 12:36:29 -05:00
Dex
04240fd266 Update CONTRIBUTING.md with codelayer instructions
fixes #406
2025-08-10 12:35:42 -05:00
Dex
5a1650a270 Merge pull request #416 from dexhorthy/dexter/eng-1735-shiftr-hotkey-to-rename-session
dexter/eng 1735 shiftr hotkey to rename session
20250810_182021
2025-08-10 08:48:20 -07:00
Dex
83dd08acce Merge pull request #418 from samdickson22/sam/eng-1913-add-keyboard-shortcut-guidance-below-text-input
sam/ENG-1913 - feat: add keyboard shortcut hints below text input
2025-08-10 08:45:26 -07:00
Dex
41487eeb16 Merge pull request #415 from dexhorthy/dexter/eng-1904-add-local_review-command-for-automated-branch-review-setup
dexter/eng 1904 add local review command for automated branch review setup
2025-08-10 08:45:07 -07:00
Dex
f66c27dbbf Merge pull request #417 from samdickson22/sam/eng-1756-cannot-higlightcopy-clickable-messages
sam/ENG-1756: - fix: preserve text selection when clicking on tool messages
2025-08-10 08:44:52 -07:00
samdickson22
8c03012611 feat: add keyboard shortcut hints below text input
Display Option+Y/Alt+Y and Shift+Tab shortcuts in help text to improve
discoverability of bypass permissions and auto-accept edits features.
Platform-specific key names are shown (Option on Mac, Alt on Windows/Linux).
2025-08-10 05:44:38 -07:00
samdickson22
d3a206601a fix: preserve text selection when clicking on tool messages
When users tried to select and copy text from tool messages, the onClick
handler would open the inspect modal, causing the text selection to be lost.
Now checks if text is selected before opening the modal, allowing users to
copy text from tool calls and responses.

Fixes ENG-1756
2025-08-08 15:32:29 -07:00
Sam Dickson
a21b9d3962 Merge pull request #414 from samdickson22/sam/eng-1696-hotkey-for-yolo-mode
fix: resolve UI polish issues for bypass permissions dialog
20250810-nightly-test
2025-08-08 09:30:00 -07:00
dexhorthy
f2b023d1da feat: add Meta+R hotkey for renaming sessions
- Add Meta+R (Cmd+R on Mac) hotkey to rename sessions in SessionTable
- Add Meta+R hotkey to rename sessions in SessionDetail view
- Update HotkeyPanel to document the new keyboard shortcuts
- Hotkey triggers the same inline edit functionality as the pencil icon

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-08 07:39:28 -07:00
dexhorthy
6729a48b58 remove: unrelated mcp-sleep-forever.ts file 2025-08-08 06:53:36 -07:00
dexhorthy
bb8e6c10fa fix: lint errors in mcp-sleep-forever.ts 2025-08-08 06:51:47 -07:00
dexhorthy
4f54d03d4b fix: formatting in hlyr 2025-08-08 06:49:50 -07:00
dexhorthy
20a5fe8725 add local review command 2025-08-08 06:48:36 -07:00
samdickson22
12de89bd2d fix: resolve UI polish issues for bypass permissions dialog
- Add Option+Y hotkey to keyboard shortcuts panel for discoverability
- Fix Shift+Tab navigation conflict by implementing hotkey scope stealing when dialog is open
- Remove dialog close button from tab navigation flow with tabIndex=-1

Fixes keyboard navigation issues and improves feature discoverability.
2025-08-08 02:28:07 -07:00
Dex
6e0fe5d448 Merge pull request #413 from dexhorthy/rn
tighten release notes
20250808-nightly-test
2025-08-07 17:55:58 -07:00
dexhorthy
5aa933738c tighten release notes 2025-08-07 17:43:08 -07:00
Dex
0b3ea10325 Merge pull request #412 from samdickson22/sam/eng-1810-session-completed-notifications-show-summary-last-user
Fix session notifications to show title/summary instead of raw query
2025-08-07 17:31:09 -07:00
Dex
260f96ae1c Apply suggestion from @ellipsis-dev[bot]
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-08-07 19:30:48 -05:00
Dex
6311477828 Merge pull request #405 from samdickson22/sam/eng-1696-hotkey-for-yolo-mode
feat: add yolo mode hotkey and improve session status indicators
2025-08-07 17:30:25 -07:00
samdickson22
22d039bc8d refactor: rename yolo mode to dangerous skip permissions and add change reason constants
- Rename YoloModeMonitor to DangerousSkipPermissionsMonitor for clarity
- Replace hardcoded 'expired' strings with proper constants in TypeScript and Go
- Improve type safety with SessionSettingsChangeReason constants
- Update all references from 'yolo mode' to 'dangerous skip permissions'
- Enhance server-side monitoring for expired permissions
2025-08-07 11:07:05 -07:00
samdickson22
aafdcaabe8 feat: add server-side monitoring for expired yolo mode permissions
Implements periodic server-side monitoring to complement client-side
YoloModeMonitor. Addresses security gap where expired permissions could
remain active indefinitely if no new approvals were triggered.

- Query database every 30s for sessions with expired permissions
- Automatically disable expired permissions and broadcast events
- Configurable interval via HLD_PERMISSION_MONITOR_INTERVAL
- Client handles server-initiated expiry events for UI sync
- Prevents malicious clients from bypassing permission timeouts
2025-08-07 09:50:44 -07:00
samdickson22
03d3aadf62 refactor: replace console.log with logger.debug in HTTPDaemonClient
Address PR review comment by using the centralized debug logger
instead of console.log for session data logging. This ensures
proper log level control and Tauri integration in production.
2025-08-06 23:55:44 -07:00
samdickson22
163c19b411 format 2025-08-06 23:05:58 -07:00
samdickson22
ebb06ecfea Fix session notifications to show title/summary instead of raw query
- Session completion and failure notifications now display the human-readable
  title or summary before falling back to the raw query
- Text is truncated to 40 characters to prevent overly long notifications
- Extracted logic into reusable getSessionNotificationText helper function
- Added comprehensive unit tests for the helper function
2025-08-06 15:19:13 -07:00
samdickson22
a957ade1b0 test fix 3 2025-08-06 12:49:22 -07:00
samdickson22
e5ab368380 test fix 2 2025-08-06 12:43:54 -07:00
samdickson22
75b1f4b686 test fix for tests 2025-08-06 12:37:52 -07:00
samdickson22
fef59e67f0 test fix for checks 2025-08-06 12:33:31 -07:00
samdickson22
823df149dc fix: resolve state synchronization issues in AppStore
- Fix broken revert logic that failed to restore original session state on API failure
- Fix date validation to use Date.now() instead of new Date() for test compatibility
- Implement optimistic updates with proper rollback mechanism
- Add server-as-source-of-truth pattern with pending update preservation
- Add comprehensive test suite for state synchronization scenarios
- Update components to use new optimistic update functions
2025-08-06 12:03:00 -07:00
Dex
98e941eab9 Merge pull request #408 from dexhorthy/dexter/eng-1806-preserve-markdown-syntax-in-headings-with-uniform-text-size
[ENG-1806] Preserve markdown syntax in headings with uniform text size
20250807-nightly-test
2025-08-06 09:25:40 -07:00
dexhorthy
fba9565b66 Remove underline (border-bottom) from h1 headings 2025-08-06 09:02:19 -07:00
dexhorthy
436e4a18c5 Fix type error: remove unsupported archivedOnly parameter from listSessions call 2025-08-06 08:32:06 -07:00
dexhorthy
730ae4185c Change h1 border from dashed to solid line
Updated h1 heading underline to use solid border instead of dashed for cleaner appearance.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-06 08:17:38 -07:00
samdickson22
dac428191f checks 2025-08-05 21:07:02 -07:00
samdickson22
8aa174d2b7 fix: standardize naming convention to camelCase throughout WUI
- Convert dangerously_skip_permissions to dangerouslySkipPermissions
- Convert dangerously_skip_permissions_expires_at to dangerouslySkipPermissionsExpiresAt
- Use SDK Session type directly instead of custom type extensions
- Update all components, stores, and test utilities to use consistent camelCase
- Fix misleading comment about SDK expectations in http-client

This aligns with the existing autoAcceptEdits field and SDK conventions
2025-08-05 20:49:11 -07:00
samdickson22
4140d2b91d refactor: improve React patterns in SessionDetail components
- Replace document.getElementById with useRef hook in DangerouslySkipPermissionsDialog
- Remove debug test hotkey (shift+?) from SessionDetail
- Better React lifecycle integration and type safety
2025-08-05 20:47:58 -07:00
dexhorthy
79dfd2e683 merge from main 2025-08-05 19:29:55 -07:00
dexhorthy
011d62b36d Merge branch 'main' into dexter/eng-1806-preserve-markdown-syntax-in-headings-with-uniform-text-size 2025-08-05 19:29:12 -07:00
samdickson22
534b33a011 fix: correct mock parameter type in session handler tests
Update LaunchSession mock to expect session.LaunchSessionConfig instead
of claudecode.SessionConfig to match the actual SessionManager interface.
This fixes the test failure that was causing a panic due to type mismatch.
2025-08-05 18:05:38 -07:00
Sam Dickson
0a7510b8f0 Merge pull request #409 from samdickson22/sam/eng-1875-create-plan-command-needs-to-instruct-claude-to-humanlayer
Add humanlayer thoughts sync step to create plan command, MCP tool name fix, disabled create worktree tests
20250806-nightly-test
2025-08-05 17:50:58 -07:00
Sam Dickson
dda57102a2 Delete hld/daemon/daemon_approval_correlation_race_integration_test.go 2025-08-05 17:45:08 -07:00
samdickson22
702fd5f9e0 Add humanlayer thoughts sync step to create plan command 2025-08-05 17:36:52 -07:00
samdickson22
3ab094100d Fix MCP tool name formatting in OS toast notifications
Extract MCP tool name parsing logic into reusable utilities and ensure
consistent formatting across all UI components. OS toast notifications
now display 'linear - create comment' instead of raw 'mcp__linear__create_comment'.

- Add parseMcpToolName and formatMcpToolName utilities
- Update all components to use shared parsing logic
- Fix OS toast to show human-readable tool names
2025-08-05 17:35:07 -07:00
Dex
1f89be9d30 Merge pull request #407 from humanlayer/dexhorthy-patch-3
Update research_codebase.md
2025-08-05 17:28:42 -07:00
Dex
1e544b4213 Update research_codebase.md 2025-08-05 19:26:51 -05:00
samdickson22
e92ac77c55 refactor: replace console statements with logger utility
Replace console.log and console.error calls with the logger utility
for better control over logging output in development and production
environments. The logger properly handles Tauri log files in production
and preserves console output in development mode.
2025-08-05 17:03:06 -07:00