deel-local-cli 1.20.3 → 1.20.4

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-9%2C284%20passing-1a7f37?logo=checkmarx&logoColor=white)](docs/ko/develop.md)
23
+ [![tests](https://img.shields.io/badge/tests-9%2C303%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)
@@ -301,7 +301,7 @@ deel --offline
301
301
  무엇이 어디로 갈 수 있는지는 켤 때 화면 맨 위에 늘 적혀 있습니다.
302
302
 
303
303
  ```
304
- deel 1.20.3 ⌂ 이 안
304
+ deel 1.20.4 ⌂ 이 안
305
305
  보냄 이 컴퓨터 안 127.0.0.1:11434 ← 여기 말고는 어디로도 안 갑니다
306
306
  ```
307
307
 
@@ -1289,6 +1289,7 @@ zip 은 진짜 `unzip` 으로, tar 는 진짜 `tar` 가 만든 것을 읽혀 교
1289
1289
 
1290
1290
  | 판 | 무엇이 바뀌었나 |
1291
1291
  |---|---|
1292
+ | [1.20.4](docs/ko/releases/1.20.md#1204) | 붙임표 마디를 하나만 세고 있었습니다 |
1292
1293
  | [1.20.3](docs/ko/releases/1.20.md#1203) | 울타리를 옮긴 자리가 어디까지 흔들렸는지 한 판에 보이게 했습니다 |
1293
1294
  | [1.20.2](docs/ko/releases/1.20.md#1202) | 앞 판이 막으려던 자리를 앞 판이 막고 있었습니다 |
1294
1295
  | [1.20.1](docs/ko/releases/1.20.md#1201) | `PASSWORD=` 는 한 번도 안 잡히고 있었습니다 |
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-9%2C284%20passing-1a7f37?logo=checkmarx&logoColor=white)](docs/en/develop.md)
23
+ [![tests](https://img.shields.io/badge/tests-9%2C303%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)
@@ -374,7 +374,7 @@ deel --offline
374
374
  The destination is printed at the top of every session:
375
375
 
376
376
  ```
377
- deel 1.20.3 ⌂ inside
377
+ deel 1.20.4 ⌂ inside
378
378
  Sends to this machine 127.0.0.1:11434 ← nowhere else
379
379
  ```
380
380
 
@@ -1350,6 +1350,7 @@ so one run tells you everything.
1350
1350
 
1351
1351
  | Version | What changed |
1352
1352
  |---|---|
1353
+ | [1.20.4](docs/en/releases/1.20.md#1204) | Only one hyphen segment was being counted |
1353
1354
  | [1.20.3](docs/en/releases/1.20.md#1203) | How far a moved fence shook is now visible in one run |
1354
1355
  | [1.20.2](docs/en/releases/1.20.md#1202) | The previous release was blocking the very thing it meant to allow |
1355
1356
  | [1.20.1](docs/en/releases/1.20.md#1201) | `PASSWORD=` was never once caught |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deel-local-cli",
3
- "version": "1.20.3",
3
+ "version": "1.20.4",
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",
@@ -63,17 +63,19 @@ const 표 = (종류) => `«가림:${종류}»`;
63
63
  * 있어야 몰래칸이다. 안 넘기면 그 선언 줄이 통째로 잘려 나가고, 남은 빈 줄에
64
64
  * 코드의 표시가 없어 멀쩡한 코드가 가려진다(17차 리뷰).
65
65
  *
66
- * 앞에 수식하는 낱말이 붙어도 줄머리로 친다 — `static` · `readonly` ·
67
- * `accessor` · `override`. `static` 만 멀쩡했던 것은 그 낱말이 마침
68
- * `코드표시` 목록에 있어서였다. 목록에 없는 낱말(`accessor`)에서는 그대로
69
- * 뭉갰다(19차 리뷰). 글자와 빈칸만 있는 앞자리는 코드의 수식어로 본다 —
70
- * 설정 줄이라면 그 자리에 `:` 나 `=` 가 있다.
66
+ * 앞에 수식하는 것이 붙어도 줄머리로 친다 — `static` · `readonly` ·
67
+ * `accessor` · `override`, 그리고 꾸밈표(`@inject`)와 별표(`*#gen()`).
68
+ * `static` 멀쩡했던 것은 낱말이 마침 `코드표시` 목록에 있어서였다.
69
+ * 목록에 없는 낱말(`accessor`)에서는 그대로 뭉갰다(19차 리뷰).
70
+ *
71
+ * 글자·빈칸·`@`·`*` 만 있는 앞자리는 코드의 수식어로 본다. 설정 줄이라면
72
+ * 그 자리에 `:` 나 `=` 나 숫자가 있다 — 글자만 있을 수가 없다.
71
73
  *
72
74
  * 줄머리 `#` 을 안 잘라도 설정 줄은 안 상한다 — `# API_KEY: 값` 은 잘라도
73
75
  * 안 잘라도 코드의 표시가 없어 어차피 가려진다.
74
76
  */
75
77
  const 몰래칸 = (줄, i) => /^[\p{L}_$]/u.test(줄[i + 1] ?? '')
76
- && (줄[i - 1] === '.' || /^[ \t]*(?:[A-Za-z]+[ \t]+)*$/.test(줄.slice(0, i)));
78
+ && (줄[i - 1] === '.' || /^[@*A-Za-z \t]*$/.test(줄.slice(0, i)));
77
79
 
78
80
  const 주석떼기 = (줄) => {
79
81
  let 따 = '';
@@ -561,8 +563,10 @@ export const 갈래 = [
561
563
  * - 붙임표로 **시작하는** 낱말 — `\b` 가 `-` 뒤에서 끊고 들어가면
562
564
  * `id-token` 의 `token` 만 집게 된다. 그건 깃허브 액션 문법이다.
563
565
  *
564
- * 붙임표로 **이은 이름 전체**(`github-token`)는 다르다. 그건 진짜 비밀
565
- * 이름이다. 그래서 이름으로는 받고, **따옴표 없는 값일 때만** 물린다
566
+ * 붙임표로 **이은 이름 전체**(`github-token` · `aws-access-token`)는
567
+ * 다르다. 마디가 몇이든 받는다 마디 하나만 받았더니 `aws-access-token`
568
+ * 이 통째로 샜다(20차 리뷰). 대소문자도 안 가린다(`db-PWD` · `auth_TOKEN`).
569
+ * 그래서 이름으로는 받고, **따옴표 없는 맨 값일 때만** 물린다
566
570
  * (아래 `바꾸기` 를 보라) — `id-token: write` 의 `write` 가 맨 값이고,
567
571
  * `github-token: 'abc123'` 의 값은 따옴표에 싸여 있다. 19차 리뷰.
568
572
  *
@@ -577,7 +581,7 @@ export const 갈래 = [
577
581
  * 것보다 낫다(1.19.0). 검사로 못 박아 둔다.
578
582
  */
579
583
  id: '환경변수',
580
- re: /\b(?<!-)(_?(?:[A-Z0-9_]*(?:TOKEN|SECRET|PASSWORD|PASSWD|CREDENTIALS?)|[A-Z0-9_]*[A-Z0-9]_?KEY|[A-Z0-9_]*_PWD|[A-Za-z][A-Za-z0-9]*(?:[-_](?:key|token|secret|password|passwd|pwd|credentials?)|-(?:KEY|TOKEN|SECRET|PASSWORD|PASSWD|CREDENTIALS?)|Key|Token|Secret|Password|Passwd|Pwd|Credentials?)|(?:password|secret|token|passwd|credentials?)))(?:(["']?[ \t]*(?::[^\n,;]{0,200}?|:[^\n]{0,200}?[>\])}][^\n,;]{0,80}?)[ \t]*=(?!=|>)\s*)((?:\(\s*)+)?(["'`])(?!«)((?:\\[^\n]|(?!\4)[^\n]){4,}?)\4((?:\s*\))+)?|(["']?\s*(?::(?![^\n]{0,200}?=[ \t]*«가림:)|=)\s*)((?:\(\s*)+)?(?:(["'`])(?!«)((?:\\[^\n]|(?!\9)[^\n]){4,}?)\9|(?!«)(?![\w$.]+\s*[([])(?!(?:string|number|boolean|bigint|symbol|object|unknown|never|void|null|undefined|true|false)\b)(?![^\n]{0,200}?}[ \t]*(?:=(?!=|>)|\)))(?!\(*\s*(?:process\.env|import\.meta\.env|globalThis\.process\.env|globalThis\.env|os\.environ|os\.getenv|ENV(?=\s*[[.(])|Deno\.env|Bun\.env)\b)([^\s"'()[\]{},;<>]{4,})(?=[ \t]*(?:[;,)\]}\r\n#]|$)))((?:\s*\))+)?)/g,
584
+ re: /\b(?<!-)(_?(?:[A-Z0-9_]*(?:TOKEN|SECRET|PASSWORD|PASSWD|CREDENTIALS?)|[A-Z0-9_]*[A-Z0-9]_?KEY|[A-Z0-9_]*_PWD|[A-Za-z][A-Za-z0-9]*(?:-[A-Za-z0-9]+)*(?:[-_](?:key|token|secret|password|passwd|pwd|credentials?|KEY|TOKEN|SECRET|PASSWORD|PASSWD|PWD|CREDENTIALS?)|Key|Token|Secret|Password|Passwd|Pwd|Credentials?)|(?:password|secret|token|passwd|credentials?)))(?:(["']?[ \t]*(?::[^\n,;]{0,200}?|:[^\n]{0,200}?[>\])}][^\n,;]{0,80}?)[ \t]*=(?!=|>)\s*)((?:\(\s*)+)?(["'`])(?!«)((?:\\[^\n]|(?!\4)[^\n]){4,}?)\4((?:\s*\))+)?|(["']?\s*(?::(?![^\n]{0,200}?=[ \t]*«가림:)|=)\s*)((?:\(\s*)+)?(?:(["'`])(?!«)((?:\\[^\n]|(?!\9)[^\n]){4,}?)\9|(?!«)(?![\w$.]+\s*[([])(?!(?:string|number|boolean|bigint|symbol|object|unknown|never|void|null|undefined|true|false)\b)(?![^\n]{0,200}?}[ \t]*(?:=(?!=|>)|\)))(?!\(*\s*(?:process\.env|import\.meta\.env|globalThis\.process\.env|globalThis\.env|os\.environ|os\.getenv|ENV(?=\s*[[.(])|Deno\.env|Bun\.env)\b)([^\s"'()[\]{},;<>]{4,})(?=[ \t]*(?:[;,)\]}\r\n#]|$)))((?:\s*\))+)?)/g,
581
585
  바꾸기: (m, 이름, 타입사이, 타입여는, 따A, 값A, 타입닫는,
582
586
  민사이, 여는, 따B, 값B, 값C, 닫는, 자리, 전체) => {
583
587
  // 따옴표 없는 맨 값만 「코드가 가리키는 이름인가」 를 되묻는다.