fix(gjc): restore Bun launcher session detection - #36
Merged
Conversation
- Match the published @gajae-code/coding-agent package path. - Keep idle and transcript-backed GJC detection aligned. Tests: - TSX_TSCONFIG_PATH=server/tsconfig.json - npx tsx --test server/modules/providers/tests/live-sessions.service.test.ts
There was a problem hiding this comment.
Pull request overview
Restores correct GJC launcher/session detection by switching the packaged-entry marker back to the published @gajae-code/coding-agent scope, ensuring Bun/Node-launched gjc processes are recognized reliably.
Changes:
- Update
isGjcCommandLinedetection to match the published package marker (@gajae-code/coding-agent). - Update
isGjcProcessArgsdetection for bun/node argv[1] to match the same published marker. - Adjust live session tests to assert against the restored
@gajae-code/coding-agent/bin/gjc.jspath.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| server/modules/providers/services/live-sessions.service.ts | Restores the packaged-entry marker used to detect interpreter-launched gjc processes. |
| server/modules/providers/tests/live-sessions.service.test.ts | Updates assertions to cover the restored marker for both argv-anchored and cmdline-based detection. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
devswha
approved these changes
Aug 13, 2026
Owner
There was a problem hiding this comment.
리브랜드 커밋 4a88a12 가 실재하지 않는 패키지명으로 일괄 치환하면서 깨진 detection 을 되돌리는 변경이 맞습니다.
검증:
- npm 레지스트리 확인 —
@gajae-code/coding-agent200,@chatmux-code/coding-agent404 (published 된 적 없음). 따라서 구 마커 하위호환을 남길 이유도 없습니다. - main 에 남아있던
@chatmux-code참조 3곳(서비스 2 + tmux e2e 하네스 1)을 전부 덮었습니다.dist-server/잔재는 git 미추적이라 무관. - 로컬
live-sessions.service.test.ts63/63 통과. - 새 assertion 은 수정 전 코드에서 basename 이
gjc.js라 반드시 실패하므로 비어있는 테스트가 아닙니다.
LGTM.
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.
What changed
@gajae-code/coding-agentmarker used by Bun/Node GJC launchersEvidence
@gajae-code/coding-agent/bin/gjc.js4a88a12changed the detector to the nonexistent@chatmux-code/coding-agentmarker during the ChatMux rebrandVerification
TSX_TSCONFIG_PATH=server/tsconfig.json npx tsx --test server/modules/providers/tests/live-sessions.service.test.ts(63 passed)npm testcurrently reports 7 unrelated frontend loader/import failures; PR CI is authoritative for clean Node 22/24 runners