logiguard fork v3: full patch set on verified 8c74db0 tree
Includes prior-session patches (carry forward so the app compiles): - crates/gpui/build.rs: cross-compile manifest fix - crates/gpui/src/platform.rs: PlatformWindow::activate_with_token trait method - crates/gpui/src/window.rs: Window::activate_with_token public API - crates/gpui_linux/src/linux/wayland/window.rs: WaylandWindow::activate_with_token + activate() keyboard-serial fix Plus the focus-serial fix: - serial.rs: SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; latest_serial_of() Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
69
crates/edit_prediction_cli/evals/codex-acp--add-derive.md
Normal file
69
crates/edit_prediction_cli/evals/codex-acp--add-derive.md
Normal file
@@ -0,0 +1,69 @@
|
||||
+++
|
||||
repository_url = "https://github.com/zed-industries/codex-acp"
|
||||
revision = "c3d24ee70928fc9da08c131fc632d624413ccc43"
|
||||
+++
|
||||
|
||||
## Edit History
|
||||
|
||||
```diff
|
||||
--- a/src/prompt_args.rs
|
||||
+++ b/src/prompt_args.rs
|
||||
@@ -28,7 +28,7 @@ impl PromptArgsError {
|
||||
}
|
||||
}
|
||||
|
||||
-#[derive(Debug)]
|
||||
+#[derive(Debug, Serialize)]
|
||||
pub enum PromptExpansionError {
|
||||
Args {
|
||||
command: String,
|
||||
```
|
||||
|
||||
## Cursor Position
|
||||
|
||||
```src/prompt_args.rs
|
||||
#[derive(Debug)]
|
||||
pub enum PromptArgsError {
|
||||
// ^[CURSOR_POSITION]
|
||||
MissingAssignment { token: String },
|
||||
MissingKey { token: String },
|
||||
}
|
||||
```
|
||||
|
||||
## Expected Patch
|
||||
|
||||
```diff
|
||||
--- a/src/prompt_args.rs
|
||||
+++ b/src/prompt_args.rs
|
||||
@@ -9,7 +9,7 @@ use std::sync::LazyLock;
|
||||
static PROMPT_ARG_REGEX: LazyLock<Regex> =
|
||||
LazyLock::new(|| Regex::new(r"\$[A-Z][A-Z0-9_]*").unwrap_or_else(|_| std::process::abort()));
|
||||
|
||||
-#[derive(Debug)]
|
||||
+#[derive(Debug, Serialize)]
|
||||
pub enum PromptArgsError {
|
||||
MissingAssignment { token: String },
|
||||
MissingKey { token: String },
|
||||
```
|
||||
|
||||
```diff
|
||||
--- a/src/prompt_args.rs
|
||||
+++ b/src/prompt_args.rs
|
||||
@@ -3,19 +3,20 @@
|
||||
use regex_lite::Regex;
|
||||
+use serde::Serialize;
|
||||
use shlex::Shlex;
|
||||
use std::collections::HashMap;
|
||||
use std::collections::HashSet;
|
||||
use std::sync::LazyLock;
|
||||
|
||||
static PROMPT_ARG_REGEX: LazyLock<Regex> =
|
||||
LazyLock::new(|| Regex::new(r"\$[A-Z][A-Z0-9_]*").unwrap_or_else(|_| std::process::abort()));
|
||||
|
||||
-#[derive(Debug)]
|
||||
+#[derive(Debug, Serialize)]
|
||||
pub enum PromptArgsError {
|
||||
MissingAssignment { token: String },
|
||||
MissingKey { token: String },
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user