@k-msg/cli 0.5.7 → 0.6.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +21 -1
  3. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @k-msg/cli
2
2
 
3
+ ## 0.6.0 — 2026-02-18
4
+
5
+ ### Minor changes
6
+
7
+ - [a63307e](https://github.com/k-otp/k-msg/commit/a63307eb4a925343b74297b8437f72caba587dff) Improve CLI send usability by clarifying raw-JSON advanced usage, adding `k-msg send --dry-run` preview mode (without provider send), and enhancing batch/error output guidance. — Thanks @imjlk!
8
+ - [48f2797](https://github.com/k-otp/k-msg/commit/48f27975b5734c760f5ec99701623865f28d8c8c) Feat: support batch sending via `k-msg send --input '[...]'` and persistence configuration (`strategy`, `repo`) in `k-msg.config.json`. — Thanks @imjlk!
9
+
10
+ ### Patch changes
11
+
12
+ - Updated dependencies: core@0.18.1, provider@0.18.1, k-msg@0.18.1
13
+
14
+ ## 0.5.8 — 2026-02-17
15
+
16
+ ### Patch changes
17
+
18
+ - Updated dependencies: core@0.18.0, provider@0.18.0, k-msg@0.18.0
19
+
3
20
  ## 0.5.7 — 2026-02-17
4
21
 
5
22
  ### Patch changes
package/README.md CHANGED
@@ -130,7 +130,7 @@ If the env var is missing/empty, commands that need runtime providers will fail
130
130
  - `k-msg providers list|health|doctor`
131
131
  - `k-msg sms send`
132
132
  - `k-msg alimtalk preflight|send`
133
- - `k-msg send --input <json> | --file <path> | --stdin`
133
+ - `k-msg send --input <json> | --file <path> | --stdin` (advanced/raw JSON only)
134
134
  - `k-msg kakao channel categories|list|auth|add`
135
135
  - `k-msg kakao template list|get|create|update|delete|request`
136
136
 
@@ -202,10 +202,30 @@ k-msg alimtalk preflight \
202
202
 
203
203
  ### Advanced JSON send
204
204
 
205
+ `k-msg send` is an advanced command for raw `SendInput` JSON (object or array).
206
+ For common workflows, prefer `k-msg sms send` and `k-msg alimtalk send`.
207
+
205
208
  ```bash
206
209
  k-msg send --input '{"to":"01012345678","text":"hello"}'
207
210
  ```
208
211
 
212
+ Single preview without sending:
213
+
214
+ ```bash
215
+ k-msg send --input '{"to":"01012345678","text":"hello"}' --dry-run
216
+ ```
217
+
218
+ Batch preview without sending:
219
+
220
+ ```bash
221
+ k-msg send --input '[{"to":"01011112222","text":"hello 1"},{"to":"01033334444","text":"hello 2"}]' --dry-run
222
+ ```
223
+
224
+ `providers doctor` and `send --dry-run` have different roles:
225
+
226
+ - `k-msg providers doctor`: provider/account/capability readiness checks
227
+ - `k-msg send --dry-run`: request payload preview/validation (no provider send)
228
+
209
229
  ## Kakao Channel (Aligo capability)
210
230
 
211
231
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k-msg/cli",
3
- "version": "0.5.7",
3
+ "version": "0.6.0",
4
4
  "private": false,
5
5
  "description": "k-msg CLI (prebuilt binaries via GitHub Releases)",
6
6
  "type": "module",
@@ -32,15 +32,15 @@
32
32
  "clean": "rm -rf dist"
33
33
  },
34
34
  "devDependencies": {
35
- "@k-msg/core": "0.16.0",
36
- "@k-msg/provider": "0.16.0",
35
+ "@k-msg/core": "0.17.0",
36
+ "@k-msg/provider": "0.17.0",
37
37
  "@bunli/core": "^0.5.4",
38
38
  "@bunli/plugin-ai-detect": "^0.5.2",
39
39
  "@bunli/test": "^0.3.2",
40
40
  "@types/bun": "^1.3.9",
41
41
  "@types/node": "^22.0.0",
42
42
  "bunli": "^0.5.3",
43
- "k-msg": "0.16.0",
43
+ "k-msg": "0.17.0",
44
44
  "solapi": "^5.5.4",
45
45
  "typescript": "^5.7.2",
46
46
  "zod": "^4.0.14"