vitest plugin: decide whether the kit models Client drawings
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
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- developer-experience, testing
Hướng nghiên cứu
Start with packages/vitest-plugin-claude-code-mod/src/testing/ui-tree.ts and src/testing/acts.ts, then review the README deviation list and the linked originating PR #161. First determine whether the official types define a Client factory and probe Client drawings with claude plugin test for each act. Done means recording the maintainer’s decision; if Clients are modeled, add matching conformance rows for Vitest and claude plugin test, otherwise close as not planned with the reason.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
The vitest plugin kit cannot draw a Client: $.ui.resolve has no Client constructor (packages/vitest-plugin-claude-code-mod/src/testing/ui-tree.ts), so every kit drawing is a drawing without a Client. PR #161 (issue #119) added the ten missing members to the mounted UI handle (keepsBeneath, redraw and the acts key, pointer, post, advance, setBeneath, resize, setWindowFocused, setMotionReduced) and copies what Claude Code does for a drawing that holds no Client (the acts validate their arguments and then key, pointer, post, setBeneath and resize throw <act>: the drawing holds no Client; the other three resolve undefined). For a drawing that does hold a Client the real engine would run the act against the Client's surface module; the kit cannot, and its README deviation list says so in one sentence.
Proposal
Decide whether the kit should model Clients at all. Recommendation: not now; keep the deviation documented until a mod author reports a test they cannot write. If the answer is yes, the work is: (1) probe the real engine (claude plugin test, versions 2.1.334 and 2.1.335 behave identically so far) for how a Client drawing reacts to each act, (2) add a Client factory to $.ui.resolve only if the official types define one, (3) implement the acts for it in src/testing/acts.ts, (4) add conformance rows that pass under Vitest and claude plugin test. Do not invent API the types and docs do not define.
Design points
No response
Scope
vitest-plugin-claude-code-mod: kit (src/testing/acts.ts, ui-tree.ts), self-tests, conformance tests, README deviation list. Changeset: minor if Clients are added.
Acceptance
- The maintainer's decision (model Clients or keep the deviation) is recorded in this issue.
- If Clients are modelled: a conformance row per act on a Client drawing passes under Vitest and under
claude plugin test, and the README deviation sentence about Client drawings is removed. - If not: this issue is closed as not planned with the reason.
Relations
- Originating PR: #161
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Merge trung bình
- 29 phút
- Pull request đã merge (30 ngày)
- 138
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 kwitsch/claude-code-plugin-tooling
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
kwitsch/claude-code-plugin-tooling#219 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
kwitsch/claude-code-plugin-tooling#210 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 54/100
kwitsch/claude-code-plugin-tooling#212 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
kwitsch/claude-code-plugin-tooling#209 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
kwitsch/claude-code-plugin-tooling#208 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của kwitsch/claude-code-plugin-tooling
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
makecindy/cindy#15342 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
no-repo-link tool-submission
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
BraveOPotato/NoSignups#2618 ·
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Priyanshu-byte-coder/devtrack#4067 ·
Maintainer thường phản hồi trong vòng 1 ngày