feat(init): multi 스캐폴딩에 node 백엔드 추가 — 6 backend(examples 동등) - #173
Merged
Conversation
suji init --backend=multi 가 zig+rust+go+lua+python 5개였는데 node 만 빠져 있었다 (examples/multi-backend 는 이미 node 포함 6개로 동작 — 불일치). add0c87(lua/python 추가) 패턴을 그대로 따라 node 배선: - 신규 템플릿 multi_node_main.js (node-ping/node-greet 네임스페이스 채널 — zig 의 ping/greet 충돌 회피, lua-ping/python-ping 동형). src/templates + packages/suji-cli /templates byte-동형(init_test.zig 미러 가드). - init.zig: multi case 에 node dir + package.json(node_package.json 재사용) + main.js(multi_node_main.js), writeConfig backends 배열에 node(go↔lua 사이), backendLabel(.multi) 6개로. - @suji/cli init.js: 동형(sujiJson backends + scaffoldBackend multi + backendLabel). backendLabel 은 add0c87 부터 native↔JS drift("Zig·Rust·Go" 3개 stale)였던 것도 동시 보정. - init-cli.test.ts: multi assertion 에 node + node-ping + node package.json 검증. 정직 경계: node 는 libnode.dylib staging 의존 — 미staging 머신에선 multi dev/build 시 node 만 graceful skip(backend_lifecycle catch+continue, lua/python 동일 패턴), 나머지 5개 정상(code-review max 확인, fatal 아님). 검증: zig build, init_test 미러 byte-동형, run-init-cli.sh 15 pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
suji init --backend=multi 가 node 만 빠진 5개였는데(examples/multi-backend 는 이미 6개로 동작 — 불일치) add0c87 패턴대로 node 배선. 신규 multi_node_main.js(node-ping 네임스페이스) + init.zig/JS 양 경로 동형 + backendLabel native↔JS drift 보정 + 테스트(node package.json 검증 포함).
정직 경계: node libnode 미staging 시 multi 에서 node 만 graceful skip(나머지 5개 정상, fatal 아님 — code-review max 확인).
검증: zig build, init_test 미러 byte-동형, run-init-cli.sh 15 pass.
🤖 Generated with Claude Code