deel-local-cli 1.17.2 → 1.17.3

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
@@ -20,7 +20,7 @@
20
20
 
21
21
  [![Node.js CI](https://img.shields.io/github/actions/workflow/status/jysvai/deel-local-cli/test.yml?branch=main&logo=github&logoColor=white&label=Node.js%20CI)](https://github.com/jysvai/deel-local-cli/actions/workflows/test.yml)
22
22
  [![CodeQL](https://img.shields.io/github/actions/workflow/status/jysvai/deel-local-cli/codeql.yml?branch=main&logo=github&logoColor=white&label=CodeQL)](https://github.com/jysvai/deel-local-cli/actions/workflows/codeql.yml)
23
- [![tests](https://img.shields.io/badge/tests-7%2C855%20passing-1a7f37?logo=checkmarx&logoColor=white)](docs/ko/develop.md)
23
+ [![tests](https://img.shields.io/badge/tests-7%2C861%20passing-1a7f37?logo=checkmarx&logoColor=white)](docs/ko/develop.md)
24
24
 
25
25
  [![dependencies](https://img.shields.io/badge/dependencies-0-1a7f37)](https://www.npmjs.com/package/deel-local-cli?activeTab=dependencies)
26
26
  [![ESM](https://img.shields.io/badge/ESM-Node%2020%2B-5FA04E?logo=javascript&logoColor=white)](package.json)
@@ -268,7 +268,7 @@ deel --offline
268
268
  무엇이 어디로 갈 수 있는지는 켤 때 화면 맨 위에 늘 적혀 있습니다.
269
269
 
270
270
  ```
271
- deel 1.17.2 ⌂ 이 안
271
+ deel 1.17.3 ⌂ 이 안
272
272
  보냄 이 컴퓨터 안 127.0.0.1:11434 ← 여기 말고는 어디로도 안 갑니다
273
273
  ```
274
274
 
@@ -1185,7 +1185,7 @@ deel stats # 이 폴더에서 실제로 무엇을 했나 (.de
1185
1185
  ## 개발
1186
1186
 
1187
1187
  ```bash
1188
- npm test 전체 검증 (7,855항목 — 몇몇은 터미널에 따라 갈립니다)
1188
+ npm test 전체 검증 (7,861항목 — 몇몇은 터미널에 따라 갈립니다)
1189
1189
  npm run coverage 검사가 소스의 어디를 밟았는지
1190
1190
  npm run verify 반입·통신 검증만
1191
1191
  npm run bench 편집 성공률 측정
@@ -1254,6 +1254,7 @@ zip 은 진짜 `unzip` 으로, tar 는 진짜 `tar` 가 만든 것을 읽혀 교
1254
1254
 
1255
1255
  | 판 | 무엇이 바뀌었나 |
1256
1256
  |---|---|
1257
+ | [1.17.3](docs/ko/releases/1.17.md#1173) | 「같은 대화다」 를 적는 표준 이름이 없습니다 — 아는 이름을 다 답니다 |
1257
1258
  | [1.17.2](docs/ko/releases/1.17.md#1172) | 다른 눈으로 한 번 더 — 한글이 못 여는 hwpx · 이름 없이 나가던 요청 둘 |
1258
1259
  | [1.17.1](docs/ko/releases/1.17.md#1171) | 내 PC 에서만 초록이던 것 둘 — 지운 폴더에 쓰기 · 소스에 박힌 날 NUL |
1259
1260
  | **[1.17.0](docs/ko/releases/1.17.md#1170)** | 사내에 들여놓을 때 막히던 자리들 · 믿는 폴더 · mTLS · `doctor` · 훅 · 서브에이전트 · hwpx 쓰기 |
package/README.md CHANGED
@@ -20,7 +20,7 @@ Vendor APIs connect too — **only when you say so**
20
20
 
21
21
  [![Node.js CI](https://img.shields.io/github/actions/workflow/status/jysvai/deel-local-cli/test.yml?branch=main&logo=github&logoColor=white&label=Node.js%20CI)](https://github.com/jysvai/deel-local-cli/actions/workflows/test.yml)
22
22
  [![CodeQL](https://img.shields.io/github/actions/workflow/status/jysvai/deel-local-cli/codeql.yml?branch=main&logo=github&logoColor=white&label=CodeQL)](https://github.com/jysvai/deel-local-cli/actions/workflows/codeql.yml)
23
- [![tests](https://img.shields.io/badge/tests-7%2C855%20passing-1a7f37?logo=checkmarx&logoColor=white)](docs/en/develop.md)
23
+ [![tests](https://img.shields.io/badge/tests-7%2C861%20passing-1a7f37?logo=checkmarx&logoColor=white)](docs/en/develop.md)
24
24
 
25
25
  [![dependencies](https://img.shields.io/badge/dependencies-0-1a7f37)](https://www.npmjs.com/package/deel-local-cli?activeTab=dependencies)
26
26
  [![ESM](https://img.shields.io/badge/ESM-Node%2020%2B-5FA04E?logo=javascript&logoColor=white)](package.json)
@@ -339,7 +339,7 @@ deel --offline
339
339
  The destination is printed at the top of every session:
340
340
 
341
341
  ```
342
- deel 1.17.2 ⌂ inside
342
+ deel 1.17.3 ⌂ inside
343
343
  Sends to this machine 127.0.0.1:11434 ← nowhere else
344
344
  ```
345
345
 
@@ -1258,7 +1258,7 @@ Stored in `~/.deel/config.json`. A `.deel/config.json` in the project folder tak
1258
1258
  ## Development
1259
1259
 
1260
1260
  ```bash
1261
- npm test Full suite (7,855 checks; a few are TTY-dependent)
1261
+ npm test Full suite (7,861 checks; a few are TTY-dependent)
1262
1262
  npm run coverage Which lines the tests actually execute
1263
1263
  npm run verify Import + network checks only
1264
1264
  npm run bench Edit success rate
@@ -1313,6 +1313,7 @@ so one run tells you everything.
1313
1313
 
1314
1314
  | Version | What changed |
1315
1315
  |---|---|
1316
+ | [1.17.3](docs/en/releases/1.17.md#1173) | No standard name for "same conversation" — it sends every name it knows |
1316
1317
  | [1.17.2](docs/en/releases/1.17.md#1172) | A second pair of eyes — an hwpx Hancom cannot open · two requests going out unnamed |
1317
1318
  | [1.17.1](docs/en/releases/1.17.md#1171) | Two things only green on one machine — writing into a deleted directory · raw NUL in the source |
1318
1319
  | **[1.17.0](docs/en/releases/1.17.md#1170)** | What blocked it from getting inside a company · trusted folders · mTLS · `doctor` · hooks · subagents · writing hwpx |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deel-local-cli",
3
- "version": "1.17.2",
3
+ "version": "1.17.3",
4
4
  "description": "A coding-agent CLI that runs on local models and private gateways. Zero dependencies, Node 20+.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -51,20 +51,37 @@ export function endpoint(shape) {
51
51
  * 이름이 있으면 게이트웨이가 그 대화를 첫 요청이 닿은 창구에 붙여 둔다
52
52
  * (LiteLLM 의 session affinity). 그러면 캐시가 한자리에 쌓인다.
53
53
  *
54
- * ── 왜 이름을 둘로 적나 ─────────────────────────────────────────────────
54
+ * ── 왜 이름을 넷으로 적나 ───────────────────────────────────────────────
55
+ *
56
+ * 「이 요청들은 한 대화다」 를 적는 **표준 이름이 없다.** 게이트웨이마다
57
+ * 읽는 이름이 다르고, 같은 게이트웨이도 판마다 다르다. 그래서 창구를 가려
58
+ * 이름을 고르는 대신 **아는 이름을 다 단다.** 머리는 모르면 무시되므로
59
+ * 이름이 늘어도 안 붙던 곳이 안 붙게 되는 일은 없다 — 이 방식을 고른
60
+ * 까닭이 처음부터 그것이었다.
55
61
  *
56
62
  * x-litellm-session-id 문서에 이름이 그대로 적힌 칸이다.
63
+ * x-litellm-trace-id 같은 문서가 **맞바꿔 쓸 수 있다**고 적어 둔 이름이다.
64
+ * 기록(SpendLogs)이 세션 칸을 trace 쪽에서만 읽던
65
+ * 시기가 있어서, 낮은 판에서는 이 이름만 걸린다.
66
+ * x-session-id 이름 없는 일반형. 앞의 둘을 모르는 중계기·기록기가
67
+ * 이것만 보는 일이 있다.
57
68
  * x-deel-session-id `x-<우리이름>-session-id` 라는 **일반 규칙**으로도
58
69
  * 읽어 주는 게이트웨이가 있다. 우리 이름으로 적어 두면
59
70
  * 남의 도구 이름을 사칭하지 않고도 그 규칙에 걸린다.
60
71
  *
61
- * 값은 같다. 다 대화 번호 하나뿐이고 경로·주소·열쇠는 안 들어간다
62
- * (backend/wire.js 의 세션이름짓기).
72
+ * 값은 같다. 대화 번호 하나뿐이고 경로·주소·열쇠는 안 들어간다
73
+ * (backend/wire.js 의 세션이름짓기). 그러니 이름이 늘어도 **밖으로 나가는
74
+ * 것은 한 글자도 안 는다.**
63
75
  */
64
76
  function 세션머리(세션이름) {
65
77
  const 이름 = String(세션이름 ?? '').trim();
66
78
  if (!이름) return {};
67
- return { 'x-litellm-session-id': 이름, 'x-deel-session-id': 이름 };
79
+ return {
80
+ 'x-litellm-session-id': 이름,
81
+ 'x-litellm-trace-id': 이름,
82
+ 'x-session-id': 이름,
83
+ 'x-deel-session-id': 이름,
84
+ };
68
85
  }
69
86
 
70
87
  /** 이 규격이 더 요구하는 머리. 없으면 빈 것. */