0.4.1: remaining --npm-static=auto refusals for a pi-coding-agent worker (namespace re-export cycle, createRequire computed specifier, CJS entries not joining)
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
- 32/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- node.js, typescript
- Lĩnh vực
- build-system, tooling
Hướng nghiên cứu
Start by reading the SC2013 refusal paths and the related issues #1495, #1691, #1685, #1331, and #1324. Reproduce with the listed package versions using npm ci and scriptc build src/main.ts with --npm-static=auto; the report identifies the affected package files and refusal messages. Done means the expected handling for these refusal cases is clarified or implemented and the worker build reports which cases can be included.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Tested a Node 24/26 worker built on @earendil-works/pi-coding-agent with scriptc 0.4.1: scriptc build src/main.ts (default --npm-static=auto). Coverage is now 97% of 7,995 statements, up from 94% on 0.3.6, and the refusals dropped from 11 to 8. The remaining refusals are all SC2013 on npm packages. Package versions are those resolved from a clean npm ci:
| Package (version) | Refusal | Possibly related |
|---|---|---|
@earendil-works/pi-coding-agent 1.3.0 |
SC1016 circular imports dist/core/sdk.js → agent-session-runtime.js → agent-session-services.js → sdk.js; "the namespace re-export at sdk.js:26 names a module of the cycle" |
#1495 covers class-only cycles, not namespace re-exports |
@earendil-works/pi-tui 1.3.0 |
"createRequire result escapes or is used with a computed specifier" (dist/native-module-path.js, dist/native-platform.js) |
#1691 / #1685 (Node islands)? |
pi-mcp-adapter 5.3.2 |
"ships no own .d.ts declaration surface" (ships .ts sources) |
|
diff 8.0.4 |
"its entry diff/libcjs/index.js did not join the type-checked program" |
#1331 |
retry 0.13.1 (via proper-lockfile 4.1.2) |
"its entry retry/index.js did not join the type-checked program" |
#1331 |
marked 18.0.11 (via pi-tui) |
"its shipped JS looks minified" | #1324 (open) |
lru-cache 11.5.3 (via hosted-git-info 9.0.3) |
"its shipped JS looks minified", which cascades into SC1010 in hosted-git-info | #1324 (open) |
Questions:
- Is the namespace re-export inside an import cycle (pi-coding-agent
sdk.js:26) planned, or should packages like this go to a Node island? diffandretryare plain CJS packages. Is "did not join the type-checked program" expected for them on 0.4.1? Is there a flag to force them in?- For packages that ship only
.tssources and no.d.ts(pi-mcp-adapter), is compiling from those sources planned?
The front end ran on Ubuntu 22.04 (no clang, so linking wasn't reached).
- Ngôn ngữ chính
- TypeScript
- Star
- 6.7k
- Fork
- 229
- Merge trung bình
- 14 giờ 29 phút
- Pull request đã merge (30 ngày)
- 787
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 vercel-labs/scriptc
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
vercel-labs/scriptc#4865 ·
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 58/100
vercel-labs/scriptc#4864 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Windows ARM64 as a cross-compile targetCó thể đã có người làm @hum-n đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
vercel-labs/scriptc#4858 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
post-merge-bisect-unresolved
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 43/100
vercel-labs/scriptc#4791 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
post-merge-bisect-unconfirmed
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
vercel-labs/scriptc#4755 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của vercel-labs/scriptc
Issue tương tự
-
bug data-types
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ClickHouse/clickhouse-js#1293 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: middleware enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
agent/quality testing
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/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 92/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
juspay/agent-distro#203 ·
Maintainer thường phản hồi trong vòng 1 ngày