Files
warp/.gitignore
evelyn-with-warp de6d7dc29a QUALITY-544: Lock NLD for block/image/file-attached agent-view entry (#9366)
## Description

[QUALITY-544](https://linear.app/warpdotdev/issue/QUALITY-544/certain-interaction-patterns-should-be-locked-to-nl-mode):
Entering agent view with ~image~ file attached
The main change is adding fn `has_locking_attachment`, which includes
~images~ files, blocks and we will lock Agent mode when locking
attachment is detected
## Testing
Cargo commands with presubmit
```bash
cargo check --bin warp
cargo clippy -p warp --tests
cargo fmt --check
cargo test -p warp ai::blocklist::context_model::tests --lib --no-fail-fast 2>&1
cargo nextest run -p warp --features lock_interactions_to_nl_mode ai::blocklist::context_model::tests --no-fail-fast
./script/presubmit
```
Loom videos
- attach file with `ls`:
https://www.loom.com/share/06774662033d45a99369ceb781759e71
- attach file with flicker mode message:
https://www.loom.com/share/f18581ee92c146cfb6a6754dec030f41
- attach block will lock in agent mode:
https://www.loom.com/share/78cc819c61634538a9ee19e40d96db9a
## Agent Mode
- [ ] Warp Agent Mode - This PR was created via Warp's AI Agent Mode

## Changelog Entries for Stable
CHANGELOG-BUG-FIX: if user attaches an image in block input we should
lock in agent mode, without running the NLD classifier to remove
uncertainty

## Reviewer
@szgupta @evelyn-with-warp (For testing Github Slack app)

---------

Co-authored-by: Oz <oz-agent@warp.dev>
2026-05-01 08:13:53 -07:00

64 lines
1.4 KiB
Plaintext

app/Carthage
app/frameworks/default/Carthage
app/frameworks/dev/Carthage
app/frameworks/**/*.xcframework
/target
/app/target
/warp.xcworkspace
.idea/
.DS_Store
*.icloud
app/src/server/graphql/schema/generated
crates/command-signatures-v2/js/build
crates/command-signatures-v2/js/node_modules
# For testing changes to the channel versions file
channel_versions_test.json
# Don't include any CPU profiling output by accident.
profile.pb
# Don't include any files that we write for testing purposes.
crates/warp_files/test_data/test_write
# Don't include fonts downloaded by the script used to generate font fallback code.
script/font_fallback/downloaded_fonts
# Don't include the generated Windows installer
script/windows/Output
.aider*
# temporary vim files. Source: https://github.com/github/gitignore/blob/main/Global/Vim.gitignore
*~
[._]*.s[a-v][a-z]
!*.svg # keep svg files
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
# Don't include the PTY recording.
warp.pty.recording
# Don't include captured frames generated locally.
frame_capture_*.png
# Don't include history file generated by migrations
app/src/persistence/schema.rs.orig
# Don't include personal Claude Code settings
.claude/settings.local.json
# Don't include Claude Code worktrees
.claude/worktrees/
# Tab drag development notes
pr_cleanup.md
desired_behavior.md
# Don't include the python cache for bundled skills.
__pycache__/
# Project notes
.note/