@ictechgy/lterm 1.0.3 → 1.0.5

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.
package/README.ko.md CHANGED
@@ -71,7 +71,7 @@ Homebrew와 npm 모두 `PATH`에 `lterm` 명령을 설치합니다. `lterm --ver
71
71
  GitHub에서 Cargo로 설치 (Releases 페이지의 최신 태그를 사용하세요):
72
72
 
73
73
  ```bash
74
- cargo install --git https://github.com/ictechgy/light_terminal --tag v1.0.3
74
+ cargo install --git https://github.com/ictechgy/light_terminal --tag v1.0.5
75
75
  ```
76
76
 
77
77
  저장소를 클론한 뒤 직접 빌드하려면 Rust 1.85 이상이 필요합니다.
@@ -307,7 +307,7 @@ lterm codex --detach --name repo-codex -- exec "이 저장소를 요약해줘"
307
307
  lterm agy --status -- -p "lterm status를 유지해줘"
308
308
  ```
309
309
 
310
- Claude/Codex/OpenCode/Copilot/Cursor Agent/Antigravity/Kiro/Jules/Aider/Goose/Amp/Crush/Kimi/Qwen/Gemini/OMX/OMC profile은 각 도구의 자체 TUI/status/alternate-screen 렌더링과 충돌하지 않도록 기본적으로 lterm status bar를 끈 raw full-terminal attach를 사용합니다. `--status`로 lterm status bar를 강제로 켜거나, status bar가 표시되는 launch/profile에서는 `--no-status`로 숨길 수 있습니다. agent에 넘길 인자가 lterm launch option처럼 보일 수 있으면 앞에 `--`를 두세요. `lterm agent <name>`은 `PATH`에서 찾을 수 있는 안전한 bare command name이면 바로 동작하므로, 예를 들어 `lterm agent qwen-code`처럼 미래/서드파티 agent도 쓸 수 있습니다. `lterm run -- <command>`는 더 낮은 수준의 tmux-compatible primitive를 직접 쓰고 싶을 때만 사용하세요.
310
+ Claude/Codex/OpenCode/Copilot/Cursor Agent/Antigravity/Kiro/Jules/Aider/Goose/Amp/Crush/Kimi/Qwen/Gemini profile은 각 도구의 자체 TUI/status/alternate-screen 렌더링과 충돌하지 않도록 기본적으로 lterm status bar를 끈 raw full-terminal attach를 사용합니다. OMX/OMC는 기존 lightweight status/HUD 흐름과의 연속성을 위해 lterm status bar를 기본 표시하며, 특정 OMX/OMC 실행에서 완전 raw surface가 필요하면 `--no-status`를 쓰면 됩니다. `--status`로 lterm status bar를 강제로 켜거나, status bar가 표시되는 launch/profile에서는 `--no-status`로 숨길 수 있습니다. agent에 넘길 인자가 lterm launch option처럼 보일 수 있으면 앞에 `--`를 두세요. `lterm agent <name>`은 `PATH`에서 찾을 수 있는 안전한 bare command name이면 바로 동작하므로, 예를 들어 `lterm agent qwen-code`처럼 미래/서드파티 agent도 쓸 수 있습니다. `lterm run -- <command>`는 더 낮은 수준의 tmux-compatible primitive를 직접 쓰고 싶을 때만 사용하세요.
311
311
 
312
312
  launcher 제어 옵션은 agent의 흔한 short flag(`-c` 등)를 빼앗지 않도록 long-only(`--name`, `--cwd`, `--detach`, `--status`, `--no-status`, `--status-theme`)입니다. 이 옵션들은 `claude`, `codex`, `opencode`, `copilot`, `cursor-agent`, `agy`, `kiro`, `jules`, `aider`, `goose`, `amp`, `crush`, `kimi`, `qwen`, `gemini`, `omx`, `omc`, `agent <profile>`에 동일하게 적용됩니다. 해당 agent 세션이 이후 attach에서도 특정 lterm status 색을 유지하게 하려면 `--status-theme` / `--status-color`를 사용하세요.
313
313
  `--detach`는 각 field의 control character와 Unicode line/paragraph separator를 공백으로 바꾼 `name<TAB>pane<TAB>command`를 출력하며, 나중에 `lterm resume <name>` 또는 호환 이름 `lterm attach <name>`으로 다시 붙으면 됩니다. detach record에는 `--cwd`가 포함되지 않으므로 나중에 필요하면 session을 조회하세요.
package/README.md CHANGED
@@ -77,7 +77,7 @@ For the 1.0 command/output stability boundary, see the
77
77
  With Cargo from GitHub (use the latest tag from the Releases page):
78
78
 
79
79
  ```bash
80
- cargo install --git https://github.com/ictechgy/light_terminal --tag v1.0.3
80
+ cargo install --git https://github.com/ictechgy/light_terminal --tag v1.0.5
81
81
  ```
82
82
 
83
83
  From this checkout, use Rust 1.85 or newer:
@@ -318,7 +318,7 @@ lterm codex --detach --name repo-codex -- exec "summarize this repo"
318
318
  lterm agy --status -- -p "keep lterm status visible"
319
319
  ```
320
320
 
321
- Known Claude/Codex/OpenCode/Copilot/Cursor Agent/Antigravity/Kiro/Jules/Aider/Goose/Amp/Crush/Kimi/Qwen/Gemini/OMX/OMC profiles default to a raw full-terminal attach without the lterm status bar, so their own TUI/status/alternate-screen rendering stays in control. Use `--status` to force the lterm status bar on, or `--no-status` to suppress it for any launch/profile that would otherwise show it. Put `--` before agent arguments that could be parsed as lterm launch options. `lterm agent <name>` also works for any safe bare command name available in `PATH` (for example `lterm agent qwen-code`); use `lterm run -- <command>` only when you want the lower-level tmux-compatible primitive directly.
321
+ Known Claude/Codex/OpenCode/Copilot/Cursor Agent/Antigravity/Kiro/Jules/Aider/Goose/Amp/Crush/Kimi/Qwen/Gemini profiles default to a raw full-terminal attach without the lterm status bar, so their own TUI/status/alternate-screen rendering stays in control. OMX/OMC keep the lterm status bar visible by default for continuity with their existing lightweight status/HUD workflow; use `--no-status` if a specific OMX/OMC run needs a fully raw surface. Use `--status` to force the lterm status bar on, or `--no-status` to suppress it for any launch/profile that would otherwise show it. Put `--` before agent arguments that could be parsed as lterm launch options. `lterm agent <name>` also works for any safe bare command name available in `PATH` (for example `lterm agent qwen-code`); use `lterm run -- <command>` only when you want the lower-level tmux-compatible primitive directly.
322
322
 
323
323
  Launcher controls are long-only (`--name`, `--cwd`, `--detach`, `--status`, `--no-status`, `--status-theme`) so common agent short flags such as `-c` pass through naturally. They apply uniformly to built-in agent shortcuts such as `claude`, `codex`, `opencode`, `copilot`, `cursor-agent`, `agy`, `kiro`, `jules`, `aider`, `goose`, `amp`, `crush`, `kimi`, `qwen`, `gemini`, `omx`, `omc`, and `agent <profile>`. Use `--status-theme` / `--status-color` on agent launches when you want that session to keep a specific lterm status color across future attaches.
324
324
  `--detach` prints `name<TAB>pane<TAB>command` with control characters and Unicode line/paragraph separators in each field replaced by spaces; resume later with `lterm resume <name>` or compatibility name `lterm attach <name>`. The detach record does not echo `--cwd`; query the session if you need to inspect it later.
package/bin/lterm.js CHANGED
@@ -3,6 +3,7 @@
3
3
 
4
4
  const { spawnSync } = require('node:child_process');
5
5
  const fs = require('node:fs');
6
+ const os = require('node:os');
6
7
  const path = require('node:path');
7
8
 
8
9
  const SUPPORTED = new Map([
@@ -81,4 +82,9 @@ if (result.error) {
81
82
  process.exit(1);
82
83
  }
83
84
 
84
- process.exit(result.status === null ? 1 : result.status);
85
+ if (result.status !== null) {
86
+ process.exit(result.status);
87
+ }
88
+
89
+ const signalNumber = result.signal ? os.constants.signals[result.signal] : undefined;
90
+ process.exit(typeof signalNumber === 'number' ? 128 + signalNumber : 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ictechgy/lterm",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Lightweight tmux-compatible terminal session daemon with cmux-friendly notifications.",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "homepage": "https://github.com/ictechgy/light_terminal#readme",
@@ -31,10 +31,10 @@
31
31
  "LICENSE-MIT"
32
32
  ],
33
33
  "optionalDependencies": {
34
- "lterm-darwin-arm64": "1.0.3",
35
- "lterm-darwin-x64": "1.0.3",
36
- "lterm-linux-arm64": "1.0.3",
37
- "lterm-linux-x64": "1.0.3"
34
+ "lterm-darwin-arm64": "1.0.5",
35
+ "lterm-darwin-x64": "1.0.5",
36
+ "lterm-linux-arm64": "1.0.5",
37
+ "lterm-linux-x64": "1.0.5"
38
38
  },
39
39
  "engines": {
40
40
  "node": ">=16"