@triflux/remote 10.57.2 → 10.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,7 +34,7 @@ export function resolveClaudeHomeDir(
34
34
  const userProfile = nullableEnv(env.USERPROFILE);
35
35
  return userProfile ? path.resolve(userProfile) : os.homedir();
36
36
  }
37
- // POSIX 는 HOME 우선 — sandbox HOME 오버라이드를 추적하는 provenance
37
+ // POSIX 는 HOME 우선, sandbox HOME 오버라이드를 추적하는 provenance
38
38
  // 해석(#382)과 일치 (os.homedir() 도 POSIX 에서는 HOME 을 우선한다).
39
39
  const home = nullableEnv(env.HOME);
40
40
  return home ? path.resolve(home) : os.homedir();
@@ -223,7 +223,7 @@ export function publicClaudeDaemonCandidate(candidate) {
223
223
 
224
224
  function sessionsFromDaemonList(listResponse) {
225
225
  // probe 경로도 list/find 경로와 같은 정규화 row 를 내보내야 한다
226
- // (jobs/sessions, snake_case, dispatch 중첩 변형 흡수 — 8016b724).
226
+ // (jobs/sessions, snake_case, dispatch 중첩 변형 흡수, 8016b724).
227
227
  return extractClaudeAgentSessions(listResponse);
228
228
  }
229
229
 
@@ -501,7 +501,7 @@ export function sendClaudeControlRequest(
501
501
  // 발급한다. control.sock 은 runtime config hash 를 쓰더라도 auth 는 발급 config
502
502
  // 에서 읽어야 한다. 일반 daemon 은 <configDir>/daemon/control.key 를 사용한다.
503
503
  // 어느 경로에도 파일이 없으면 인증 미강제 daemon 으로 보고 auth 를 생략한다
504
- // (fail-open — 구버전 호환).
504
+ // (fail-open, 구버전 호환).
505
505
  export async function readDaemonControlKey(
506
506
  configDir = resolveClaudeConfigDir(),
507
507
  { diagnostics } = {},
@@ -933,7 +933,7 @@ function isClaudeAttachChromeLine(line) {
933
933
  ) ||
934
934
  /^[-─━▔╭╮╰╯│┌┐└┘├┤┬┴┼\s]+$/.test(trimmed) ||
935
935
  /^(c|x|g):\s/.test(trimmed) ||
936
- /CTX:\d+/.test(trimmed) ||
936
+ /ctx:(?:\d+|--)/i.test(trimmed) ||
937
937
  /auto mode on/.test(trimmed)
938
938
  );
939
939
  }
@@ -1720,7 +1720,7 @@ export async function dispatchClaudeDaemonJob({
1720
1720
  { timeoutMs: dispatchTimeoutMs },
1721
1721
  );
1722
1722
  if (dispatch?.ok !== true) {
1723
- // daemon 거부 사유를 보존한다 — generic 메시지만 던지면 EAUTH 같은
1723
+ // daemon 거부 사유를 보존한다, generic 메시지만 던지면 EAUTH 같은
1724
1724
  // 실원인이 묻혀 진단이 어려워진다.
1725
1725
  const reason = dispatch?.error ? `: ${dispatch.error}` : "";
1726
1726
  throw new Error(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triflux/remote",
3
- "version": "10.57.2",
3
+ "version": "10.58.0",
4
4
  "description": "triflux remote — team mode, psmux, MCP workers.",
5
5
  "type": "module",
6
6
  "main": "hub/index.mjs",