feat: add native code edit event to session transcript
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
Hướng nghiên cứu
Start with docs/session-transcript-schema.mdx and docs/conversion.mdx to understand the existing event and conversion models, then inspect the HTTP/SSE tests. Define the structured code-edit event and its sequencing, and consider the related issue #102. Done means actual file mutations produce the documented event and are covered end-to-end by HTTP/SSE tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Add a first-class/native code edit event in the session transcript so clients can render file edits directly without reconstructing them from tool output text.
Problem
Today, code edits are mostly inferred from tool output and post-hoc diffs. This is brittle and provider-dependent.
Proposal
Introduce a dedicated session event/item shape for code edits (or an equivalent normalized event) that includes structured edit metadata.
Suggested minimum fields:
- file path
- operation (create/update/delete/rename)
- before/after hashes (if available)
- patch/diff payload (or structured hunks)
- tool/source attribution
- timestamps / sequencing compatible with existing
item.started -> item.delta -> item.completedmodel
Why
- Makes UI rendering of edits deterministic
- Avoids parsing free-form tool text
- Improves parity across providers and event consumers
- Simplifies downstream integrations that need edit timelines
Acceptance criteria
- Session events expose a structured code-edit event for actual file mutations
- Event shape is documented in
docs/session-transcript-schema.mdx - Conversion docs are updated (
docs/conversion.mdx) - HTTP/SSE tests cover the new event end-to-end
Related: #102
- Ngôn ngữ chính
- TypeScript
- Star
- 1.6k
- Fork
- 131
- Merge trung bình
- 7 giờ 40 phút
- Pull request đã merge (30 ngày)
- 29
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rivet-dev/agents
-
skills add rivet-dev/skills -s sandbox-agent fails: the skill was removed from rivet-dev/skillsĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
rivet-dev/agents#319 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
rivet-dev/agents#313 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: codex model variants are out of orderCó thể đã có người làm @c7ozkan đã nhận 207 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của rivet-dev/agents
Issue tương tự
-
fix(frontend): correct VITE_IS_DEVELPOMENT typo in shared/app.ts and align dev environment flagsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
vicharanashala/ajrasakha#1439 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add: TV5Monde AsieĐang mởapproved check:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
backnotprop/plannotator#1932 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 62/100
ibm-granite/granite.build#504 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
reproduced
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
anomalyco/opencode#55676 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày