@k-msg/cli 0.9.10 → 0.9.12
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/CHANGELOG.md +13 -0
- package/README.md +11 -5
- package/bin/k-msg.js +4 -0
- package/package.json +11 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @k-msg/cli
|
|
2
2
|
|
|
3
|
+
## 0.9.12 — 2026-07-20
|
|
4
|
+
|
|
5
|
+
### Patch changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies: channel@0.29.9, core@0.29.9, messaging@0.29.9, provider@0.29.9, template@0.29.9, k-msg@0.29.9
|
|
8
|
+
|
|
9
|
+
## 0.9.11 — 2026-07-10
|
|
10
|
+
|
|
11
|
+
### Patch changes
|
|
12
|
+
|
|
13
|
+
- [0fd984f](https://github.com/k-otp/k-msg/commit/0fd984fde13ff79e289cf30ac9b157acd906f20d) Improve CLI first-run onboarding and completion UX by fixing npm checksum installs, promoting global config usage, tightening Kakao alias validation, and clarifying interactive config flows. — Thanks @imjlk!
|
|
14
|
+
- Updated dependencies: channel@0.29.8, core@0.29.8, messaging@0.29.8, provider@0.29.8, template@0.29.8, k-msg@0.29.8
|
|
15
|
+
|
|
3
16
|
## 0.9.10 — 2026-06-29
|
|
4
17
|
|
|
5
18
|
### Patch changes
|
package/README.md
CHANGED
|
@@ -88,10 +88,11 @@ Default config path:
|
|
|
88
88
|
Override:
|
|
89
89
|
|
|
90
90
|
```bash
|
|
91
|
+
k-msg --config /path/to/k-msg.config.json providers list
|
|
91
92
|
k-msg providers list --config /path/to/k-msg.config.json
|
|
92
93
|
```
|
|
93
94
|
|
|
94
|
-
|
|
95
|
+
`--config` can be passed either before the command path or as a command-local option.
|
|
95
96
|
|
|
96
97
|
Example file: `apps/cli/k-msg.config.example.json`
|
|
97
98
|
|
|
@@ -103,10 +104,13 @@ Schema URLs:
|
|
|
103
104
|
Initialize config:
|
|
104
105
|
|
|
105
106
|
```bash
|
|
106
|
-
# default: interactive wizard
|
|
107
|
+
# default: interactive wizard on a TTY, mock-only template in non-interactive shells
|
|
107
108
|
k-msg config init
|
|
108
109
|
|
|
109
|
-
# force
|
|
110
|
+
# force a local mock-only starter config
|
|
111
|
+
k-msg config init --template mock-only
|
|
112
|
+
|
|
113
|
+
# force the full multi-provider template
|
|
110
114
|
k-msg config init --template full
|
|
111
115
|
|
|
112
116
|
# add providers incrementally
|
|
@@ -114,13 +118,15 @@ k-msg config init --template full
|
|
|
114
118
|
k-msg config provider add
|
|
115
119
|
k-msg config provider add iwinv
|
|
116
120
|
|
|
117
|
-
#
|
|
121
|
+
# explicit interactive mode requires a TTY
|
|
122
|
+
k-msg config init --template interactive
|
|
118
123
|
```
|
|
119
124
|
|
|
120
125
|
### `env:` substitution
|
|
121
126
|
|
|
122
127
|
Any string value like `"env:NAME"` is replaced with the `NAME` environment variable at runtime.
|
|
123
|
-
If the env var is missing/empty, commands that need
|
|
128
|
+
If the env var is missing/empty, commands that need that provider will fail with exit code `2`.
|
|
129
|
+
For a first local smoke test, prefer `k-msg config init --template mock-only`.
|
|
124
130
|
|
|
125
131
|
### Provider send value guide
|
|
126
132
|
|
package/bin/k-msg.js
CHANGED
|
@@ -135,6 +135,10 @@ function parseChecksums(text) {
|
|
|
135
135
|
if (!m) continue;
|
|
136
136
|
const [, sum, file] = m;
|
|
137
137
|
out.set(file, sum);
|
|
138
|
+
const normalizedFile = file.replace(/^\.\/+/, "");
|
|
139
|
+
if (normalizedFile !== file) {
|
|
140
|
+
out.set(normalizedFile, sum);
|
|
141
|
+
}
|
|
138
142
|
}
|
|
139
143
|
return out;
|
|
140
144
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k-msg/cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "k-msg CLI (prebuilt binaries via GitHub Releases)",
|
|
6
6
|
"type": "module",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"build:native": "bun run scripts/build-runtime.ts --targets native",
|
|
28
28
|
"build:js": "bun run generate && bun build src/k-msg.ts --outdir=dist --format=esm --target=bun",
|
|
29
29
|
"dev": "bun run generate && bun --watch src/k-msg.ts",
|
|
30
|
-
"typecheck": "bun run generate &&
|
|
30
|
+
"typecheck": "bun run generate && ttsc --noEmit -p tsconfig.json",
|
|
31
31
|
"test": "bun run generate && bun test",
|
|
32
32
|
"schema:generate": "bun run scripts/generate-config-schema.ts",
|
|
33
33
|
"schema:check": "bun run scripts/generate-config-schema.ts --check",
|
|
@@ -35,18 +35,19 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@gunshi/plugin-completion": "0.35.1",
|
|
38
|
-
"@k-msg/channel": "0.29.
|
|
39
|
-
"@k-msg/core": "0.29.
|
|
40
|
-
"@k-msg/messaging": "0.29.
|
|
41
|
-
"@k-msg/provider": "0.29.
|
|
42
|
-
"@k-msg/template": "0.29.
|
|
38
|
+
"@k-msg/channel": "0.29.8",
|
|
39
|
+
"@k-msg/core": "0.29.8",
|
|
40
|
+
"@k-msg/messaging": "0.29.8",
|
|
41
|
+
"@k-msg/provider": "0.29.8",
|
|
42
|
+
"@k-msg/template": "0.29.8",
|
|
43
43
|
"@types/bun": "^1.3.14",
|
|
44
44
|
"@types/node": "^26.0.1",
|
|
45
45
|
"gunshi": "0.35.1",
|
|
46
|
-
"k-msg": "0.29.
|
|
46
|
+
"k-msg": "0.29.8",
|
|
47
47
|
"solapi": "^6.0.1",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
48
|
+
"ttsc": "^0.18.4",
|
|
49
|
+
"typescript": "^7.0.2",
|
|
50
|
+
"zod": "^4.4.3"
|
|
50
51
|
},
|
|
51
52
|
"keywords": [
|
|
52
53
|
"alimtalk",
|