refactor(dialog): reuse message command for confirm (#3287)

* chore(dialog): reuse `message` command for confirm

* Add change file

* Remove ask and confirm from default permissions

* Format

* Remove extra `toString`

* Point `allow-confirm` to `allow-message`
This commit is contained in:
Tony
2026-03-01 10:55:33 +08:00
committed by GitHub
parent 2574ec89e7
commit 24154472a6
14 changed files with 121 additions and 176 deletions
@@ -0,0 +1,6 @@
---
"dialog": minor
"dialog-js": minor
---
Re-use `message` command in Rust side for `ask` and `confirm` commands, `allow-ask` and `allow-confirm` permissions are now aliases to `allow-message`