Commit 987b789
feat(hashline): integrate oh-my-pi hashline pipeline
- Bump hashline crate to latest HEAD (286b510)
- Add global SnapshotStore (30 paths, 4 versions, 64MiB)
- crates/jcode-app-core/src/tool/hashline_snapshots.rs
- Add no-op loop guard (3 identical no-ops → error)
- crates/jcode-app-core/src/tool/hashline_loop_guard.rs
- read.rs: emit [path#TAG] header + record snapshots + seenLines
- hashline_edit: drift detection via snapshot hash
- edit.rs: optional tag field for str_replace hash verification
- system_prompt: document hashline patch format
Recovery engine (3-way merge + session-chain replay) deferred —
std::sync::RwLock + .await Send issue. Use tokio::sync::RwLock when
ready, or clone snapshot before await.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 5faf961 commit 987b789
9 files changed
Lines changed: 517 additions & 11 deletions
File tree
- crates
- jcode-app-core
- src/tool
- jcode-base/src/prompt
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
128 | | - | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| |||
0 commit comments