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)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 32/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- node.js, typescript
- 領域
- build-system, tooling
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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).
- 主要言語
- TypeScript
- スター
- 6.7k
- フォーク
- 229
- 平均マージ
- 14時間 29分
- マージ済み PR(30日)
- 787
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
vercel-labs/scriptc のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
vercel-labs/scriptc#4865 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
vercel-labs/scriptc#4864 ·
メンテナーはふだん 1 日以内に返信
-
Windows ARM64 as a cross-compile target対応中かも @hum-n が 1 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
vercel-labs/scriptc#4858 ·
メンテナーはふだん 1 日以内に返信
-
post-merge-bisect-unresolved
難易度 3/5 1〜2日 初心者へのやさしさ 43/100
vercel-labs/scriptc#4791 ·
メンテナーはふだん 1 日以内に返信
-
post-merge-bisect-unconfirmed
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
vercel-labs/scriptc#4755 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
vercel-labs/scriptc の issue をすべて見る
似ている issue
-
bug data-types
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ClickHouse/clickhouse-js#1293 ·
メンテナーはふだん 1 日以内に返信
-
area: middleware enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
agent/quality testing
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
juspay/agent-distro#203 ·
メンテナーはふだん 1 日以内に返信